Compare commits

..

21 Commits

Author SHA1 Message Date
7adb52233b Updated README 2023-03-22 18:16:10 +00:00
b86607280f Update 'README.TXT' 2023-03-16 17:36:29 +00:00
3bb4a8a54d Update README.TXT 2022-11-28 22:45:31 -05:00
75b0c0be39 Added a more "Xtreem"-looking hand 2022-11-28 22:44:22 -05:00
2be233466f Made the stone texture less shitty 2022-11-28 22:30:27 -05:00
971dc82648 Finalize for release 0.5 2022-11-27 14:08:38 -05:00
ac9ea6c4e0 Added jerrycans 2022-11-27 13:52:14 -05:00
5cd7abea5a Added 3rd revision of the city map 2022-11-27 13:51:32 -05:00
cf67a8046b Improvements 2022-11-26 13:52:38 -05:00
512918f24c Removed leaves_grey.png 2022-11-25 11:34:23 -05:00
e9db79234c It's all your fault 2022-11-24 22:28:26 -05:00
538fa8d42e Updated main_leaves_oak.png 2022-11-24 13:11:50 -05:00
e6f73814ca Updated ip_story to fix a game-breaking bug 2022-11-24 11:25:59 -05:00
8eb6100d84 Are you happy now, Rollerozxa? 2022-11-24 11:10:13 -05:00
e1d5a664fe Namespacing pt. 4 2022-11-24 01:06:37 -05:00
6bae4b3b6f Namespacing pt. 3 2022-11-24 00:51:57 -05:00
e5c3ae4ba0 Final version of release 0.2 2022-11-22 15:54:42 -05:00
71d289d98e Changes to pipe bombs, cops, and node groups 2022-11-22 15:32:50 -05:00
ba2da987ad Removed the female character 2022-11-22 15:32:14 -05:00
3c5b6ee4bc Namespacing pt. 2 2022-11-22 02:03:45 -05:00
b1fa8c6a75 Trying to solve an issue with files being locked 2022-11-22 01:20:16 -05:00
670 changed files with 977 additions and 1941 deletions

View File

@@ -1,2 +1,11 @@
================
INSANE PROTESTOR
================
A game where you attend a mostly peaceful protest.
Submission to the 2022 Minetest Game Jam Submission to the 2022 Minetest Game Jam
Themes used: "Secrets", "Space" and "Story" Themes used: "Secrets", "Space" and "Story"
Dunno how to play?
Read the God damn inventory help tab!

View File

@@ -1,2 +0,0 @@
name = cops
depends = mobs

View File

@@ -1,6 +1,13 @@
cops = {}
cops.copsSpawned = 0
-- Pig spawner -- Pig spawner
minetest.register_node("cops:pig_spawner", { minetest.register_node(":cops:pig_spawner", {
walkable = false; walkable = false;
drawtype = "glasslike",
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
--[[on_timer = function(pos) --[[on_timer = function(pos)
minetest.add_entity(pos, "cops:cop_regular_female") minetest.add_entity(pos, "cops:cop_regular_female")
return true return true
@@ -12,17 +19,86 @@ minetest.register_node("cops:pig_spawner", {
}) })
-- Items
minetest.register_craftitem(":cops:handcuffs", {
description = "Handcuffs",
wield_image = "cops_handcuffs.png",
inventory_image = "cops_handcuffs.png",
})
minetest.register_craftitem(":cops:badge", {
description = "Police Badge",
wield_image = "cops_badge.png",
inventory_image = "cops_badge.png",
})
minetest.register_craftitem(":cops:baton", {
type = "none",
description = "Baton",
wield_image = "cops_baton.png",
inventory_image = "cops_baton.png",
tool_capabilities = {
max_drop_level = 0,
full_punch_interval = 0.4,
groupcaps =
{
cracky = {times={[4]=.1}, uses=0, maxlevel=4},
},
damage_groups = {fleshy = 5, snappy = 4},
}
})
minetest.register_craftitem(":cops:electric_weapon_broken", {
description = "Broken Electric Weapon",
wield_image = "cops_electric_weapon_broken.png",
inventory_image = "cops_electric_weapon_broken.png",
})
--[[
minetest.register_abm({ minetest.register_abm({
nodenames = {"cops:pig_spawner"}, nodenames = {"cops:pig_spawner"},
--neighbors = {"default:water_source", "default:water_flowing"}, interval = 30,
interval = 30, -- Run every 10 seconds chance = 5,
chance = 5, -- One node has a chance of 1 in 50 to get selected
action = function(pos, node, active_object_count, active_object_count_wider) action = function(pos, node, active_object_count, active_object_count_wider)
minetest.add_entity(pos, "cops:cop_regular_female") local i = math.random(0, 2)
if i == 0 then
minetest.add_entity(pos, "cops:cop_regular_female")
elseif i == 1 then
minetest.add_entity(pos, "cops:cop_regular_male")
elseif i == 2 then
minetest.add_entity(pos, "cops:cop_armedthug")
end
end})]]
minetest.register_abm({
nodenames = {"main:bricks_stone"},
interval = 40,
chance = 140,
action = function(pos, node, active_object_count, active_object_count_wider)
if cops.copsSpawned < 25 then
newPos = {x = pos.x, y = pos.y + 2, z = pos.z}
local i = math.random(0, 7)
if i < 2 then
minetest.add_entity(newPos, "cops:cop_regular_female")
elseif i < 6 then
minetest.add_entity(newPos, "cops:cop_regular_male")
elseif i == 7 then
minetest.add_entity(newPos, "cops:cop_armedthug")
end
cops.copsSpawned = cops.copsSpawned + 1
end
end}) end})
-- Cops -- Cops
mobs:register_mob("cops:cop_regular_female", { mobs:register_mob(":cops:cop_regular_female", {
type = "monster", type = "monster",
passive = false, passive = false,
attack_type = "dogfight", attack_type = "dogfight",
@@ -49,7 +125,9 @@ mobs:register_mob("cops:cop_regular_female", {
{ {
random = "female_noise", random = "female_noise",
}, },
on_die = function(self, pos)
onCopDie(self, pos)
end,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 8, run_velocity = 8,
jump_height = 1, jump_height = 1,
@@ -59,6 +137,7 @@ mobs:register_mob("cops:cop_regular_female", {
fall_damage = true, fall_damage = true,
drops = drops =
{ {
{name = "cops:baton", chance = 2, min = 0, max = 1},
{name = "cops:badge", chance = 4, min = 0, max = 1}, {name = "cops:badge", chance = 4, min = 0, max = 1},
{name = "cops:handcuffs", chance = 3, min = 0, max = 1}, {name = "cops:handcuffs", chance = 3, min = 0, max = 1},
{name = "cops:electric_weapon_broken", chance = 3, min = 0, max = 1} {name = "cops:electric_weapon_broken", chance = 3, min = 0, max = 1}
@@ -79,7 +158,7 @@ mobs:register_mob("cops:cop_regular_female", {
}, },
}) })
mobs:register_mob("cops:cop_regular_male", { mobs:register_mob(":cops:cop_regular_male", {
type = "monster", type = "monster",
passive = false, passive = false,
attack_type = "dogfight", attack_type = "dogfight",
@@ -106,7 +185,9 @@ mobs:register_mob("cops:cop_regular_male", {
{ {
random = "male_noise", random = "male_noise",
}, },
on_die = function(self, pos)
onCopDie(self, pos)
end,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 8, run_velocity = 8,
jump_height = 1, jump_height = 1,
@@ -116,7 +197,8 @@ mobs:register_mob("cops:cop_regular_male", {
fall_damage = true, fall_damage = true,
drops = drops =
{ {
{name = "cops:badge", chance = 4, min = 0, max = 1}, {name = "cops:baton", chance = 2, min = 0, max = 1},
{name = "cops:badge", chance = 4, min = 1, max = 1},
{name = "cops:handcuffs", chance = 3, min = 0, max = 1}, {name = "cops:handcuffs", chance = 3, min = 0, max = 1},
{name = "cops:electric_weapon_broken", chance = 3, min = 0, max = 1} {name = "cops:electric_weapon_broken", chance = 3, min = 0, max = 1}
}, },
@@ -136,7 +218,7 @@ mobs:register_mob("cops:cop_regular_male", {
}, },
}) })
mobs:register_mob("cops:cop_armedthug", { mobs:register_mob(":cops:cop_armedthug", {
type = "monster", type = "monster",
passive = false, passive = false,
attack_type = "dogfight", attack_type = "dogfight",
@@ -163,7 +245,9 @@ mobs:register_mob("cops:cop_armedthug", {
{ {
random = "male_noise", random = "male_noise",
}, },
on_die = function(self, pos)
onCopDie(self, pos)
end,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 8, run_velocity = 8,
jump_height = 1, jump_height = 1,
@@ -190,4 +274,11 @@ mobs:register_mob("cops:cop_armedthug", {
punch_start = 200, punch_start = 200,
punch_end = 219 punch_end = 219
}, },
}) })
onCopDie = function(self, pos)
minetest.set_node(pos, {name = "literal_trash:bloodstain", param2 = 1})
destruction_counter.pigsKilled = destruction_counter.pigsKilled + 1
cops.copsSpawned = cops.copsSpawned - 1
destruction_counter.updateCounter()
end

2
mods/ip_cops/mod.conf Normal file
View File

@@ -0,0 +1,2 @@
name = ip_cops
depends = mobs, ip_destruction_counter

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 310 B

After

Width:  |  Height:  |  Size: 310 B

View File

Before

Width:  |  Height:  |  Size: 304 B

After

Width:  |  Height:  |  Size: 304 B

View File

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

View File

Before

Width:  |  Height:  |  Size: 256 B

After

Width:  |  Height:  |  Size: 256 B

View File

@@ -1,7 +1,9 @@
local modpath = minetest.get_modpath("destruction_counter") local modpath = minetest.get_modpath("ip_destruction_counter")
destruction_counter = {} destruction_counter = {}
destruction_counter.nodesDestroyed = 0 destruction_counter.nodesDestroyed = 0
destruction_counter.pigsKilled = 0
destruction_counter.peopleKilled = 0
local nodesDestroyedByHand = 0 local nodesDestroyedByHand = 0
local idText local idText
@@ -34,10 +36,10 @@ minetest.register_on_joinplayer(function(player)
hud_elem_type = "text", hud_elem_type = "text",
position = {x = 0.3, y = 0.7}, position = {x = 0.3, y = 0.7},
scale = {x = 0.3, y = 0.5}, scale = {x = 0.3, y = 0.5},
text = "Test", text = "Destruct-o-meter",
number = 0xff3c0a, number = 0xff3c0a,
alignment = {x = 1}, alignment = {x = 1},
offset = {x = 0, y = 46}, offset = {x = 200, y = 46},
}) })
end) end)
@@ -48,14 +50,17 @@ end)
function destruction_counter.updateCounter(player) function destruction_counter.updateCounter(player)
if not player then if not player then
return player = minetest.get_player_by_name("singleplayer")
end end
local totalDestruction = destruction_counter.nodesDestroyed + math.floor(nodesDestroyedByHand / 10) local totalDestruction = destruction_counter.nodesDestroyed + destruction_counter.pigsKilled * 20 + destruction_counter.peopleKilled * 10 + math.floor(nodesDestroyedByHand / 10)
local percentage = (totalDestruction / 1000 * 4) local percentage = (totalDestruction / 2000 * 4)
if percentage > 100 then if percentage > 4 then
percentage = 100 percentage = 4
end end
player:hud_change(idText, "text", "Destruction meter: " .. totalDestruction) player:hud_change(idText, "text", "Destruction meter: " .. totalDestruction)
player:hud_change(idMeter, "scale", {x = percentage, y = 4}) player:hud_change(idMeter, "scale", {x = percentage, y = 4})
end end

View File

@@ -1,4 +1,4 @@
name = destruction_counter name = ip_destruction_counter
description = Adds a HUD counter that shows how much shit you've destroyed. description = Adds a HUD counter that shows how much shit you've destroyed.
author = MCL author = MCL
title = Destruction Counter title = Destruction Counter

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -32,7 +32,7 @@ elevator.elevator_recipe = {
elevator.tiles_elevator = { elevator.tiles_elevator = {
"elevator_front.png", "elevator_front.png",
"elevator_panel.png", "elevator_panel.png",
"elevator_outside.png", "elevator_front.png",
"elevator_ceiling.png", "elevator_ceiling.png",
"elevator_floor.png", "elevator_floor.png",
"main_block_iron.png" "main_block_iron.png"

View File

@@ -73,7 +73,7 @@ function elevator.show_nearest_elevator(pos, owner_name, param2)
end end
minetest.register_node("elevator:elevator", { minetest.register_node(":elevator:elevator", {
description = S("Elevator"), description = S("Elevator"),
drawtype = "mesh", drawtype = "mesh",
mesh = "elevator_elevator.obj", mesh = "elevator_elevator.obj",

View File

@@ -61,7 +61,7 @@ mod_dofile("add_target")
mod_dofile("on_receive_fields") mod_dofile("on_receive_fields")
-- invisible node to place inside top of elevator: box and elevator -- invisible node to place inside top of elevator: box and elevator
minetest.register_node("elevator:hidden_top", { minetest.register_node(":elevator:hidden_top", {
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,

View File

@@ -1,5 +1,5 @@
name = elevator name = elevator
optional_depends = mesecons, dye optional_depends = mesecons, dye
description = Network of teleporter-boxes that allows easy travelling to other boxes on the same network. description = Travelenet mod adapted for Insane Protestor
author = mt-mods author = mt-mods
title = Elevator title = Elevator

View File

@@ -148,7 +148,7 @@ local function calc_velocity(pos1, pos2, old_vel, power)
end end
local function entity_physics(pos, radius, drops) local function entity_physics(pos, radius, drops)
local objs = minetest.get_objects_inside_radius(pos, radius) local objs = minetest.get_objects_inside_radius(pos, radius * 3)
for _, obj in pairs(objs) do for _, obj in pairs(objs) do
local obj_pos = obj:get_pos() local obj_pos = obj:get_pos()
local dist = math.max(1, vector.distance(pos, obj_pos)) local dist = math.max(1, vector.distance(pos, obj_pos))
@@ -403,8 +403,7 @@ function explosives.boom(pos, def)
local owner = def.owner local owner = def.owner
local sound = def.sound or "tnt_explode" local sound = def.sound or "tnt_explode"
minetest.sound_play(sound, {pos = pos, gain = 2.5, minetest.sound_play(sound, {pos = pos, gain = 2.5, max_hear_distance = def.radius * 30}, true)
max_hear_distance = math.min(def.radius * 30, 128)}, true)
local drops, radius = tnt_explode(pos, def.radius, true, def.ignore_on_blast, owner, true) local drops, radius = tnt_explode(pos, def.radius, true, def.ignore_on_blast, owner, true)
-- append entity drops -- append entity drops
local damage_radius = (radius / math.max(1, def.radius)) * def.damage_radius local damage_radius = (radius / math.max(1, def.radius)) * def.damage_radius
@@ -417,7 +416,7 @@ function explosives.boom(pos, def)
end end
minetest.register_node("explosives:gunpowder", { minetest.register_node(":explosives:gunpowder", {
description = "Gun Powder", description = "Gun Powder",
drawtype = "raillike", drawtype = "raillike",
paramtype = "light", paramtype = "light",
@@ -456,7 +455,7 @@ minetest.register_node("explosives:gunpowder", {
end, end,
}) })
minetest.register_node("explosives:gunpowder_burning", { minetest.register_node(":explosives:gunpowder_burning", {
drawtype = "raillike", drawtype = "raillike",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@@ -537,7 +536,7 @@ minetest.register_node("explosives:gunpowder_burning", {
minetest.register_craftitem("explosives:dynamite_stick", { minetest.register_craftitem(":explosives:dynamite_stick", {
description = "Dynamite Stick", description = "Dynamite Stick",
inventory_image = "tnt_tnt_stick.png", inventory_image = "tnt_tnt_stick.png",
groups = {flammable = 5}, groups = {flammable = 5},
@@ -548,7 +547,7 @@ minetest.register_craftitem("explosives:dynamite_stick", {
function explosives.register_tnt(def) function explosives.register_tnt(def)
local name local name
if not def.name:find(':') then if not def.name:find(':') then
name = "explosives:" .. def.name name = ":explosives:" .. def.name
else else
name = def.name name = def.name
def.name = def.name:match(":([%w_]+)") def.name = def.name:match(":([%w_]+)")
@@ -556,8 +555,8 @@ function explosives.register_tnt(def)
if not def.tiles then def.tiles = {} end if not def.tiles then def.tiles = {} end
if not def.damage_radius then def.damage_radius = def.radius * 2 end if not def.damage_radius then def.damage_radius = def.radius * 2 end
if enable_tnt then
minetest.register_node(":" .. name, { minetest.register_node(name, {
description = def.description, description = def.description,
tiles = {"tnt_side.png"}, tiles = {"tnt_side.png"},
drawtype = "nodebox", drawtype = "nodebox",
@@ -613,48 +612,12 @@ function explosives.register_tnt(def)
minetest.registered_nodes[name .. "_burning"].on_construct(pos) minetest.registered_nodes[name .. "_burning"].on_construct(pos)
end, end,
}) })
end
minetest.register_node(":" .. name .. "_burning", {
tiles = {
"tnt_side"
},
drawtype = "nodebox",
paramtype = "light",
node_box =
{
type = "fixed",
fixed =
{
{-0.375, -0.5, -0.375, 0.375, 0.0625, 0.375},
{-0.3125, 0.0625, -0.3125, 0.3125, 0.25, 0.3125},
{-0.25, 0.25, -0.25, -0.125, 0.5, 0.3125},
{-0.125, 0.25, -0.25, 0.25, 0.5, -0.125},
{-0.125, 0.25, 0.1875, 0.25, 0.5, 0.3125},
{0.125, 0.25, -0.125, 0.25, 0.3125, 0.1875},
{-0.0625, 0.25, -0.0625, 0.0625, 0.4375, 0.125},
}
},
light_source = 5,
drop = "",
--sounds = default.node_sound_wood_defaults(),
groups = {falling_node = 1, not_in_creative_inventory = 1},
on_timer = function(pos, elapsed)
explosives.boom(pos, def)
end,
-- unaffected by explosions
on_blast = function() end,
on_construct = function(pos)
minetest.sound_play("tnt_ignite", {pos = pos}, true)
minetest.get_node_timer(pos):start(4)
minetest.check_for_falling(pos)
end,
})
end end
explosives.register_tnt({ explosives.register_tnt({
name = "explosives:propane_tank", name = "propane_tank",
description = "Propane Tank", description = "Propane Tank",
radius = explosion_radius, radius = explosion_radius,
}) })

View File

@@ -1,3 +1,3 @@
name = explosives name = ip_explosives
description = Explosives mod for Insane Protestor; derivative work of the TNT (tnt) mod from Minetest Game description = Explosives mod for Insane Protestor; derivative work of the TNT (tnt) mod from Minetest Game
depends = fire, destruction_counter depends = fire, ip_destruction_counter

View File

@@ -162,7 +162,7 @@ local function eexpl(pos)
end end
minetest.register_node("extinguisher:foam", { minetest.register_node(":extinguisher:foam", {
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
node_box = { node_box = {
@@ -201,7 +201,7 @@ minetest.register_abm({
end, end,
}) })
minetest.register_node("extinguisher:automatic", { minetest.register_node(":extinguisher:automatic", {
description = "Extinguisher", description = "Extinguisher",
tiles = {"extinguisher_top.png", "extinguisher_bottom.png", tiles = {"extinguisher_top.png", "extinguisher_bottom.png",
"extinguisher.png", "extinguisher.png^[transformFX", "extinguisher.png", "extinguisher.png^[transformFX",
@@ -247,7 +247,7 @@ minetest.register_node("extinguisher:automatic", {
end, end,
}) })
minetest.register_node("extinguisher:destroyed", { minetest.register_node(":extinguisher:destroyed", {
description = "Destroyed Extinguisher", description = "Destroyed Extinguisher",
tiles = {"extinguisher_top.png", "extinguisher_bottom.png", tiles = {"extinguisher_top.png", "extinguisher_bottom.png",
"extinguisher.png", "extinguisher.png^[transformFX", "extinguisher.png", "extinguisher.png^[transformFX",
@@ -295,52 +295,6 @@ minetest.register_globalstep(function(dtime)
end end
end) end)
minetest.register_craftitem("extinguisher:foam_ingredient_1", {
description = "Foam Ingredient",
inventory_image = "extinguisher_essence_1.png",
})
minetest.register_craftitem("extinguisher:foam_ingredient_2", {
description = "Foam Ingredient",
inventory_image = "extinguisher_essence_2.png",
})
minetest.register_craftitem("extinguisher:foam_bucket", {
description = "Foam",
inventory_image = "extinguisher_foam_bucket.png",
})
if minetest.registered_items["poisonivy:climbing"] then
minetest.register_craft({
output = "extinguisher:foam_ingredient_1 2",
recipe = {
{"default:stone"},
{"poisonivy:climbing"},
{"default:stone"},
},
replacements = {{"default:stone", "default:stone"}, {"default:stone", "default:stone"}},
})
minetest.register_craft({
output = "extinguisher:foam_ingredient_2",
recipe = {
{"default:stone"},
{"poisonivy:seedling"},
{"default:stone"},
},
replacements = {{"default:stone", "default:stone"}, {"default:stone", "default:stone"}},
})
minetest.register_craft({
output = "extinguisher:foam_ingredient_2 3",
recipe = {
{"default:stone"},
{"poisonivy:sproutling"},
{"default:stone"},
},
replacements = {{"default:stone", "default:stone"}, {"default:stone", "default:stone"}},
})
end

View File

@@ -0,0 +1,3 @@
name = ip_extinguisher
description = Extinguisher mod adapted for Insane Protestor

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 6.6 KiB

9
mods/ip_help/init.lua Normal file
View File

@@ -0,0 +1,9 @@
sfinv.register_page("ip_help:how_to_play", {
title = "How to Play",
get = function(self, player, context)
return sfinv.make_formspec(player, context, [[
bgcolor[#3A41EA]
hypertext[.1, .5; 5, 12;;<global halign=center color=yellow size=14 font=Regular>Here's how to play:The goal is to destroy as much stuff as you can. You can use pipebombs, firebombs (molotov cocktails), your fist, or even the batons that some cops drop upon death. You can craft molotov cocktails by surrounding a jerrycan with empty beer bottles. You get points by killing police officers, regular people, and destroying buildings.]
]], true)
end
})

3
mods/ip_help/mod.conf Normal file
View File

@@ -0,0 +1,3 @@
title = Insane Protestor Help
name = ip_help
depends = sfinv

View File

@@ -1,4 +1,4 @@
minetest.register_node("literal_trash:disc",{ minetest.register_node(":literal_trash:disc",{
description = "Optical Disc", description = "Optical Disc",
drawtype = "signlike", drawtype = "signlike",
tiles = {"literal_trash_disc.png"}, tiles = {"literal_trash_disc.png"},
@@ -18,7 +18,7 @@ minetest.register_node("literal_trash:disc",{
}, },
}) })
minetest.register_node("literal_trash:vhs",{ minetest.register_node(":literal_trash:vhs",{
description = "VHS Tape", description = "VHS Tape",
drawtype = "signlike", drawtype = "signlike",
tiles = {"literal_trash_vhs.png"}, tiles = {"literal_trash_vhs.png"},
@@ -38,7 +38,7 @@ minetest.register_node("literal_trash:vhs",{
}, },
}) })
minetest.register_node("literal_trash:bloodstain",{ minetest.register_node(":literal_trash:bloodstain",{
description = "Blood Stain", description = "Blood Stain",
drawtype = "signlike", drawtype = "signlike",
tiles = {"literal_trash_bloodstain.png"}, tiles = {"literal_trash_bloodstain.png"},
@@ -58,7 +58,7 @@ minetest.register_node("literal_trash:bloodstain",{
}, },
}) })
minetest.register_node("literal_trash:vodka", { minetest.register_node(":literal_trash:vodka", {
description = "Vodka Bottle", description = "Vodka Bottle",
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"literal_trash_vodka.png"}, tiles = {"literal_trash_vodka.png"},
@@ -75,7 +75,7 @@ minetest.register_node("literal_trash:vodka", {
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
}) })
minetest.register_node("literal_trash:beer_bottle", { minetest.register_node(":literal_trash:beer_bottle", {
description = "Beer Bottle", description = "Beer Bottle",
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"literal_trash_beer_bottle.png"}, tiles = {"literal_trash_beer_bottle.png"},
@@ -92,7 +92,7 @@ minetest.register_node("literal_trash:beer_bottle", {
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
}) })
minetest.register_node("literal_trash:beer_bottle_empty", { minetest.register_node(":literal_trash:beer_bottle_empty", {
description = "Empty Beer Bottle", description = "Empty Beer Bottle",
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"literal_trash_beer_bottle_empty.png"}, tiles = {"literal_trash_beer_bottle_empty.png"},
@@ -112,7 +112,7 @@ minetest.register_node("literal_trash:beer_bottle_empty", {
minetest.register_node("literal_trash:empty_beer_bottles", { minetest.register_node(":literal_trash:empty_beer_bottles", {
description = "Empty Beer Bottles", description = "Empty Beer Bottles",
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"literal_trash_empty_beer_bottles.png"}, tiles = {"literal_trash_empty_beer_bottles.png"},
@@ -129,4 +129,20 @@ minetest.register_node("literal_trash:empty_beer_bottles", {
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
}) })
minetest.register_node(":literal_trash:jerrycan_gasoline", {
description = "Jerrycan filled w/ Gasoline",
drawtype = "plantlike",
tiles = {"literal_trash_jerrycan.png"},
tiles = {"literal_trash_jerrycan.png"},
tiles = {"literal_trash_jerrycan.png"},
paramtype = "light",
is_ground_content = false,
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
},
groups = {cracky = 4, explosive = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})

View File

@@ -0,0 +1,4 @@
name = ip_literal_trash
title = Literal Trash
description = Adds literal trash

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

View File

@@ -1,4 +1,4 @@
local modpath = minetest.get_modpath("main") local modpath = minetest.get_modpath("ip_main")
local formspec = local formspec =
{ {
"formspec_version[4]", "formspec_version[4]",
@@ -22,9 +22,7 @@ local formspec =
dofile(modpath.."/nodes.lua") dofile(modpath.."/nodes.lua")
dofile(modpath.."/craftitems.lua") --dofile(modpath.."/craftitems.lua")
dofile(modpath.."/recipes.lua")
dofile(modpath.."/mapgen.lua")
dofile(modpath.."/tools.lua") dofile(modpath.."/tools.lua")

114
mods/ip_main/license.txt Normal file
View File

@@ -0,0 +1,114 @@
Source code license
Copyright 2019-2022 MCL
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Media license:
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
Section 1 Definitions.
Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
Licensor means the individual(s) or entity(ies) granting rights under this Public License.
Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
Section 2 Scope.
License grant.
Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
reproduce and Share the Licensed Material, in whole or in part; and
produce, reproduce, and Share Adapted Material.
Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
Term. The term of this Public License is specified in Section 6(a).
Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
Downstream recipients.
Offer from the Licensor Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
Other rights.
Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
Patent and trademark rights are not licensed under this Public License.
To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
Section 3 License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
Attribution.
If You Share the Licensed Material (including in modified form), You must:
retain the following if it is supplied by the Licensor with the Licensed Material:
identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
a copyright notice;
a notice that refers to this Public License;
a notice that refers to the disclaimer of warranties;
a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
Section 4 Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
Section 5 Disclaimer of Warranties and Limitation of Liability.
Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
Section 6 Term and Termination.
This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
Section 7 Other Terms and Conditions.
The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
Section 8 Interpretation.
For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.

1
mods/ip_main/mod.conf Normal file
View File

@@ -0,0 +1 @@
name = ip_main

View File

@@ -1,5 +1,8 @@
--Naturally generating nodes --Naturally generating nodes
minetest.register_node("main:stone", minetest.register_node(":main:stone",
{ {
description = "Stone", description = "Stone",
tiles = {"main_stone.png"}, tiles = {"main_stone.png"},
@@ -8,7 +11,7 @@ minetest.register_node("main:stone",
legacy_mineral = true, legacy_mineral = true,
}) })
minetest.register_node("main:cobble", minetest.register_node(":main:cobble",
{ {
description = "Cobble", description = "Cobble",
tiles = {"main_cobble.png"}, tiles = {"main_cobble.png"},
@@ -17,7 +20,7 @@ minetest.register_node("main:cobble",
legacy_mineral = true, legacy_mineral = true,
}) })
minetest.register_node("main:rock", minetest.register_node(":main:rock",
{ {
description = "Rock", description = "Rock",
tiles = {"main_cobble.png"}, tiles = {"main_cobble.png"},
@@ -34,26 +37,26 @@ minetest.register_node("main:rock",
} }
}) })
minetest.register_node("main:dirt", minetest.register_node(":main:dirt",
{ {
description = "Dirt", description = "Dirt",
tiles = {"main_dirt.png"}, tiles = {"main_dirt.png"},
groups = {crumbly = 3, soil = 1}, groups = {crumbly = 3, soil = 1},
}) })
minetest.register_node("main:dirt_frozen", { minetest.register_node(":main:dirt_frozen", {
description = "Frozen Dirt", description = "Frozen Dirt",
tiles = {"main_dirt_frozen.png"}, tiles = {"main_dirt_frozen.png"},
groups = {cracky = 1}, groups = {cracky = 1},
}) })
minetest.register_node("main:snow", { minetest.register_node(":main:snow", {
description = "Snow", description = "Snow",
tiles = {"main_snow.png"}, tiles = {"main_snow.png"},
groups = {crumbly = 3}, groups = {crumbly = 3},
}) })
minetest.register_node("main:ice_thin", { minetest.register_node(":main:ice_thin", {
drawtype = "allfaces", drawtype = "allfaces",
paramtype = "light", paramtype = "light",
light_propagates = true, light_propagates = true,
@@ -64,13 +67,13 @@ minetest.register_node("main:ice_thin", {
groups = {cracky = 3, slippery = 3}, groups = {cracky = 3, slippery = 3},
}) })
minetest.register_node("main:ice_thick", { minetest.register_node(":main:ice_thick", {
description = "Thick Ice", description = "Thick Ice",
tiles = {"main_ice_thick.png"}, tiles = {"main_ice_thick.png"},
groups = {cracky = 1}, groups = {cracky = 1},
}) })
minetest.register_node("main:dirt_with_grass", minetest.register_node(":main:dirt_with_grass",
{ {
description = "Dirt with Grass", description = "Dirt with Grass",
tiles = {"main_grass.png", "main_dirt.png", tiles = {"main_grass.png", "main_dirt.png",
@@ -80,7 +83,7 @@ minetest.register_node("main:dirt_with_grass",
drop = 'main:dirt', drop = 'main:dirt',
}) })
minetest.register_node("main:dirt_with_swamp_grass", minetest.register_node(":main:dirt_with_swamp_grass",
{ {
description = "Dirt with Swamp Grass", description = "Dirt with Swamp Grass",
tiles = {"main_swamp_grass.png", "main_dirt.png", tiles = {"main_swamp_grass.png", "main_dirt.png",
@@ -90,14 +93,14 @@ minetest.register_node("main:dirt_with_swamp_grass",
drop = 'main:dirt', drop = 'main:dirt',
}) })
minetest.register_node("main:sand", minetest.register_node(":main:sand",
{ {
description = "Sand", description = "Sand",
tiles = {"main_sand.png"}, tiles = {"main_sand.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
}) })
minetest.register_node("main:twig", minetest.register_node(":main:twig",
{ {
description = "Twig", description = "Twig",
tiles = {"main_log_maple.png"}, tiles = {"main_log_maple.png"},
@@ -118,7 +121,7 @@ minetest.register_node("main:twig",
}) })
--Player made nodes --Player made nodes
minetest.register_node("main:torch", minetest.register_node(":main:torch",
{ {
description = "Torch", description = "Torch",
tiles = {"main_lump_coal.png"}, tiles = {"main_lump_coal.png"},
@@ -126,62 +129,63 @@ minetest.register_node("main:torch",
groups = {choppy = 3, oddly_breakable_by_hand = 3}, groups = {choppy = 3, oddly_breakable_by_hand = 3},
}) })
minetest.register_node("main:bricks_red", minetest.register_node(":main:bricks_red",
{ {
description = "Red Bricks", description = "Red Bricks",
tiles = {"main_bricks_red.png"}, tiles = {"main_bricks_red.png"},
groups = {cracky = 2}, groups = {cracky = 2},
}) })
minetest.register_node("main:bricks_stone", minetest.register_node(":main:bricks_stone",
{ {
description = "Stone Bricks", description = "Stone Bricks",
tiles = {"main_bricks_stone.png"}, tiles = {"main_bricks_stone.png"},
groups = {cracky = 2}, groups = {cracky = 2},
}) })
minetest.register_node("main:bricks_cobble", minetest.register_node(":main:bricks_cobble",
{ {
description = "Cobble Bricks", description = "Cobble Bricks",
tiles = {"main_bricks_cobble.png"}, tiles = {"main_bricks_cobble.png"},
groups = {cracky = 2}, groups = {cracky = 2},
}) })
minetest.register_node("main:glass", minetest.register_node(":main:glass",
{ {
description = "Glass", description = "Glass",
drawtype = "glasslike_framed_optional", drawtype = "glasslike_framed_optional",
tiles = {"main_glass_frame.png", "main_glass.png"}, tiles = {"main_glass_frame.png", "main_glass.png"},
inventory_image = minetest.inventorycube("main_glass_frame.png"), inventory_image = minetest.inventorycube("main_glass_frame.png"),
paramtype = "light", paramtype = "light",
drop = "",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
groups = {cracky = 4, oddly_breakable_by_hand = 1}, groups = {cracky = 4, oddly_breakable_by_hand = 1},
}) })
--Ores --Ores
minetest.register_node("main:coal_ore", minetest.register_node(":main:coal_ore",
{ {
description = "Coal Ore", description = "Coal Ore",
tiles = {"main_stone.png^main_coal_ore.png"}, tiles = {"main_stone.png^main_coal_ore.png"},
groups = {cracky = 1}, groups = {cracky = 1},
}) })
minetest.register_node("main:iron_ore", minetest.register_node(":main:iron_ore",
{ {
description = "Iron Ore", description = "Iron Ore",
tiles = {"main_stone.png^main_iron_ore.png"}, tiles = {"main_stone.png^main_iron_ore.png"},
groups = {cracky = 3}, groups = {cracky = 3},
}) })
minetest.register_node("main:sulfur_ore", minetest.register_node(":main:sulfur_ore",
{ {
description = "Sulfur Ore", description = "Sulfur Ore",
tiles = {"main_stone.png^main_sulfur_ore.png"}, tiles = {"main_stone.png^main_sulfur_ore.png"},
groups = {cracky = 2}, groups = {cracky = 2},
}) })
minetest.register_node("main:salt_ore", minetest.register_node(":main:salt_ore",
{ {
description = "Salt Ore", description = "Salt Ore",
tiles = {"main_stone.png^main_salt_ore.png"}, tiles = {"main_stone.png^main_salt_ore.png"},
@@ -189,7 +193,7 @@ minetest.register_node("main:salt_ore",
drop = 'main:salt_crystals', drop = 'main:salt_crystals',
}) })
minetest.register_node("main:cinnabar_ore", minetest.register_node(":main:cinnabar_ore",
{ {
description = "Cinnabar", description = "Cinnabar",
tiles = {"main_stone.png^main_cinnabar_ore.png"}, tiles = {"main_stone.png^main_cinnabar_ore.png"},
@@ -197,20 +201,20 @@ minetest.register_node("main:cinnabar_ore",
}) })
--Diamond Ores --Diamond Ores
minetest.register_node("main:diamond_ore_lowdens", { minetest.register_node(":main:diamond_ore_lowdens", {
description = "Low Density Diamond ore", description = "Low Density Diamond ore",
tiles = {"main_stone.png^main_diamond_ore_lowdensity.png"}, tiles = {"main_stone.png^main_diamond_ore_lowdensity.png"},
groups = {cracky = 3}, groups = {cracky = 3},
}) })
minetest.register_node("main:diamond_ore_hidens", { minetest.register_node(":main:diamond_ore_hidens", {
description = "High Density Diamond Ore", description = "High Density Diamond Ore",
tiles = {"main_stone.png^main_diamond_ore.png"}, tiles = {"main_stone.png^main_diamond_ore.png"},
groups = {cracky = 3}, groups = {cracky = 3},
}) })
--Iron Block --Iron Block
minetest.register_node("main:block_iron", { minetest.register_node(":main:block_iron", {
description = "Block Of Iron", description = "Block Of Iron",
tiles = {"main_block_iron.png"}, tiles = {"main_block_iron.png"},
groups = {cracky = 3}, groups = {cracky = 3},
@@ -218,28 +222,28 @@ minetest.register_node("main:block_iron", {
}) })
--Copper Block --Copper Block
minetest.register_node("main:block_copper", { minetest.register_node(":main:block_copper", {
description = "Block Of Copper", description = "Block Of Copper",
tiles = {"main_block_copper.png"}, tiles = {"main_block_copper.png"},
groups = {cracky = 3}, groups = {cracky = 3},
}) })
--Brass Block --Brass Block
minetest.register_node("main:block_brass", { minetest.register_node(":main:block_brass", {
description = "Block Of Brass", description = "Block Of Brass",
tiles = {"main_block_brass.png"}, tiles = {"main_block_brass.png"},
groups = {cracky = 3}, groups = {cracky = 3},
}) })
--Gold Block --Gold Block
minetest.register_node("main:block_gold", { minetest.register_node(":main:block_gold", {
description = "Block Of Gold", description = "Block Of Gold",
tiles = {"main_block_gold.png"}, tiles = {"main_block_gold.png"},
groups = {cracky = 3}, groups = {cracky = 3},
}) })
--Planks --Planks
minetest.register_node("main:planks_oak", { minetest.register_node(":main:planks_oak", {
description = "Planks", description = "Planks",
tiles = {"main_planks_oak.png"}, tiles = {"main_planks_oak.png"},
groups = {choppy = 3}, groups = {choppy = 3},
@@ -251,7 +255,7 @@ minetest.register_node("main:planks_oak", {
-- --
--Red Apple --Red Apple
minetest.register_node("main:apple_red", { minetest.register_node(":main:apple_red", {
description = "Red Apple", description = "Red Apple",
tiles = {"main_apple_red.png"}, tiles = {"main_apple_red.png"},
groups = {fleshy = 3, oddly_breakable_by_hand = 3}, groups = {fleshy = 3, oddly_breakable_by_hand = 3},
@@ -259,7 +263,7 @@ minetest.register_node("main:apple_red", {
}) })
--Orange --Orange
minetest.register_node("main:orange", { minetest.register_node(":main:orange", {
description = "Orange", description = "Orange",
tiles = {"main_orange.png"}, tiles = {"main_orange.png"},
groups = {fleshy = 3, oddly_breakable_by_hand = 3}, groups = {fleshy = 3, oddly_breakable_by_hand = 3},
@@ -269,14 +273,14 @@ minetest.register_node("main:orange", {
--Oak Log --Oak Log
minetest.register_node("main:log_oak", { minetest.register_node(":main:log_oak", {
description = "Oak Log", description = "Oak Log",
tiles = {"main_log_oak.png"}, tiles = {"main_log_oak.png"},
groups = {choppy = 2, logs = 1}, groups = {choppy = 2, logs = 1},
}) })
--Oak Leaves --Oak Leaves
minetest.register_node("main:leaves_oak", { minetest.register_node(":main:leaves_oak", {
paramtype = "light", paramtype = "light",
light_propagates = true, light_propagates = true,
sunlight_propagates = true, sunlight_propagates = true,
@@ -290,7 +294,7 @@ minetest.register_node("main:leaves_oak", {
}) })
--Apple Tree Log --Apple Tree Log
minetest.register_node("main:log_apple", { minetest.register_node(":main:log_apple", {
description = "Apple Tree Log", description = "Apple Tree Log",
tiles = {"main_log_apple.png"}, tiles = {"main_log_apple.png"},
groups = {choppy = 3, logs = 1}, groups = {choppy = 3, logs = 1},
@@ -298,7 +302,7 @@ minetest.register_node("main:log_apple", {
}) })
--Apple Tree Leaves --Apple Tree Leaves
minetest.register_node("main:leaves_apple", { minetest.register_node(":main:leaves_apple", {
paramtype = "light", paramtype = "light",
light_propagates = true, light_propagates = true,
sunlight_propagates = true, sunlight_propagates = true,
@@ -316,7 +320,7 @@ minetest.register_node("main:leaves_apple", {
-- --
--Fresh water --Fresh water
minetest.register_node("main:water_source", { minetest.register_node(":main:water_source", {
description = "Fresh Water Source", description = "Fresh Water Source",
drawtype = "liquid", drawtype = "liquid",
paramtype = "light", paramtype = "light",
@@ -353,7 +357,7 @@ minetest.register_node("main:water_source", {
groups = {liquid = 3, water = 1}, groups = {liquid = 3, water = 1},
}) })
minetest.register_node("main:water_flowing", { minetest.register_node(":main:water_flowing", {
description = "Flowing Water", description = "Flowing Water",
drawtype = "flowingliquid", drawtype = "flowingliquid",
paramtype = "light", paramtype = "light",
@@ -428,4 +432,8 @@ stairs.register_stair_and_slab(
"Oak Log Slab", "Oak Log Slab",
default.node_sound_wood_defaults(), default.node_sound_wood_defaults(),
true true
) )

View File

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 267 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 326 B

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 425 B

After

Width:  |  Height:  |  Size: 425 B

View File

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 465 B

View File

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

View File

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 268 B

View File

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B

View File

Before

Width:  |  Height:  |  Size: 289 B

After

Width:  |  Height:  |  Size: 289 B

View File

Before

Width:  |  Height:  |  Size: 709 B

After

Width:  |  Height:  |  Size: 709 B

View File

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 629 B

View File

Before

Width:  |  Height:  |  Size: 545 B

After

Width:  |  Height:  |  Size: 545 B

View File

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 890 B

View File

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

View File

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 654 B

View File

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 451 B

View File

Before

Width:  |  Height:  |  Size: 509 B

After

Width:  |  Height:  |  Size: 509 B

View File

Before

Width:  |  Height:  |  Size: 884 B

After

Width:  |  Height:  |  Size: 884 B

View File

Before

Width:  |  Height:  |  Size: 752 B

After

Width:  |  Height:  |  Size: 752 B

View File

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 186 B

View File

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 193 B

View File

Before

Width:  |  Height:  |  Size: 426 B

After

Width:  |  Height:  |  Size: 426 B

View File

Before

Width:  |  Height:  |  Size: 857 B

After

Width:  |  Height:  |  Size: 857 B

View File

Before

Width:  |  Height:  |  Size: 541 B

After

Width:  |  Height:  |  Size: 541 B

View File

Before

Width:  |  Height:  |  Size: 285 B

After

Width:  |  Height:  |  Size: 285 B

View File

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 438 B

View File

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

Before

Width:  |  Height:  |  Size: 832 B

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 744 B

View File

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 505 B

View File

Before

Width:  |  Height:  |  Size: 534 B

After

Width:  |  Height:  |  Size: 534 B

View File

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 268 B

View File

Before

Width:  |  Height:  |  Size: 591 B

After

Width:  |  Height:  |  Size: 591 B

View File

Before

Width:  |  Height:  |  Size: 331 B

After

Width:  |  Height:  |  Size: 331 B

View File

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 397 B

View File

Before

Width:  |  Height:  |  Size: 710 B

After

Width:  |  Height:  |  Size: 710 B

View File

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

View File

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

View File

Before

Width:  |  Height:  |  Size: 745 B

After

Width:  |  Height:  |  Size: 745 B

View File

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

View File

Before

Width:  |  Height:  |  Size: 469 B

After

Width:  |  Height:  |  Size: 469 B

View File

Before

Width:  |  Height:  |  Size: 911 B

After

Width:  |  Height:  |  Size: 911 B

View File

Before

Width:  |  Height:  |  Size: 667 B

After

Width:  |  Height:  |  Size: 667 B

View File

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 412 B

View File

Before

Width:  |  Height:  |  Size: 553 B

After

Width:  |  Height:  |  Size: 553 B

View File

Before

Width:  |  Height:  |  Size: 724 B

After

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Some files were not shown because too many files have changed in this diff Show More