Everything updated

This commit is contained in:
{{QWERTYKBGUI}} 2022-11-20 23:20:26 +01:00
parent daf65226e0
commit ea259980f8

View File

@ -13,88 +13,122 @@ minetest.register_node("poop:box", {
}
}
})
-- make a tool called flashlight that can be used to light up the world
minetest.register_tool("poop:flashlight", {
description = "Flashlight",
inventory_image = "flashlight.png",
wield_image = "flashlight.png",
wield_scale = {x=1,y=1,z=1},
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=0,
groupcaps={
cracky = {times={[1]=3.00, [2]=0.70, [3]=0.40}, uses=20, maxlevel=1},
},
damage_groups = {fleshy=2},
},
light_source = 14,
})
minetest.register_tool("poop:tool", {
description = "My Tool",
inventory_image = "flux_capacitor.png",
tool_capabilities = {
full_punch_interval = 1.5,
max_drop_level = 1,
groupcaps = {
crumbly = {
maxlevel = 2,
uses = 20,
times = { [1]=1.60, [2]=1.20, [3]=0.80 }
},
},
damage_groups = {fleshy=2},
},
})
minetest.register_node("poop:floor", {
description = "Floor",
tiles = {"floor.png"},
drop = 'poop:floor',
legacy_mineral = true,
legacy_mineral = true, groups = {cracky=3, stone=1},
})
minetest.register_node("poop:Poop", {
description = "Just Shit",
tiles = {"Poop.png"},
drop = 'poop:PoopItem',
drop = 'poop:PoopItem', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:tv", {
description = "CRT TV",
tiles = {"PC2.png", "PC2.png","PC2.png","PC.png","PC2.png","PC2.png"},
drop = 'poop:Poop',
drop = 'poop:Poop', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:bricks", {
description = "Bricks",
tiles = {"Bricks.png"},
drop = 'poop:grey_bricks',
drop = 'poop:grey_bricks', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:grey_bricks", {
description = "Bricks 2",
tiles = {"Bricks2.png"},
tiles = {"Bricks2.png"}, groups = {cracky=3, stone=1},
drop = 'poop:grey_bricks',
drop = 'poop:grey_bricks', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:planks", {
description = "Planks",
tiles = {"Planks.png"},
drop = 'poop:planks',
drop = 'poop:planks', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:purpleblock", {
description = "Purple Block",
tiles = {"purpleblock.png"},
drop = 'poop:purpleblock',
drop = 'poop:purpleblock', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:purpleblock", {
description = "Purple Block",
tiles = {"purpleblock.png"},
drop = 'poop:purpleblock',
drop = 'poop:purpleblock', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:redblock", {
description = "Red Block",
tiles = {"redblock.png"},
drop = 'poop:redblock',
drop = 'poop:redblock', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:aquablock", {
description = "Aqua Block",
tiles = {"aquablock.png"},
drop = 'poop:aquablock',
drop = 'poop:aquablock', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:glass", {
description = "Glass",
tiles = {"glass.png"},
drop = 'poop:glass',
drop = 'poop:glass', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:Poop2", {
description = "Poop with more density",
tiles = {"sraka.png"},
drop = 'poop:Poop',
drop = 'poop:Poop', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:flux_capacitor", {
description = "Flux Capacitor from Back to the Future",
tiles = {"fluxcap2.png", "fluxcap2.png","fluxcap2.png","fluxcap.png","fluxcap2.png","fluxcap2.png"},
drop = 'poop:Poop',
drop = 'poop:Poop', groups = {cracky=3, stone=1},
})
minetest.register_alias("mapgen_stone", "poop:floor")
@ -179,18 +213,19 @@ minetest.register_on_joinplayer(function(player)
})
player:get_inventory():add_item("main", "poop:plumba")
player:get_inventory():add_item("main", "poop:pooper")
player:get_inventory():add_item("main", "poop:flashlight")
player:get_inventory():add_item("main", "poop:tool")
-- give the player all the possible nodes in this mod 2000 times
--for i = 1, 2000 do
-- player:get_inventory():add_item("main", "poop:floor")
-- player:get_inventory():add_item("main", "poop:tv")
-- player:get_inventory():add_item("main", "poop:bricks")
-- player:get_inventory():add_item("main", "poop:grey_bricks")
--player:get_inventory():add_item("main", "poop:planks")
-- player:get_inventory():add_item("main", "poop:purpleblock")
-- player:get_inventory():add_item("main", "poop:redblock")
-- player:get_inventory():add_item("main", "poop:aquablock")
-- player:get_inventory():add_item("main", "poop:glass")
-- player:get_inventory():add_item("main", "poop:flux_capacitor")
--end
for i = 1, 2000 do
player:get_inventory():add_item("main", "poop:floor")
player:get_inventory():add_item("main", "poop:tv")
player:get_inventory():add_item("main", "poop:bricks")
player:get_inventory():add_item("main", "poop:grey_bricks")
player:get_inventory():add_item("main", "poop:planks")
player:get_inventory():add_item("main", "poop:purpleblock")
player:get_inventory():add_item("main", "poop:redblock")
player:get_inventory():add_item("main", "poop:aquablock")
player:get_inventory():add_item("main", "poop:glass")
player:get_inventory():add_item("main", "poop:flux_capacitor")
end
end)