Everything updated
This commit is contained in:
parent
daf65226e0
commit
ea259980f8
@ -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", {
|
minetest.register_node("poop:floor", {
|
||||||
description = "Floor",
|
description = "Floor",
|
||||||
tiles = {"floor.png"},
|
tiles = {"floor.png"},
|
||||||
|
|
||||||
drop = 'poop:floor',
|
drop = 'poop:floor',
|
||||||
legacy_mineral = true,
|
legacy_mineral = true, groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("poop:Poop", {
|
minetest.register_node("poop:Poop", {
|
||||||
description = "Just Shit",
|
description = "Just Shit",
|
||||||
tiles = {"Poop.png"},
|
tiles = {"Poop.png"},
|
||||||
drop = 'poop:PoopItem',
|
drop = 'poop:PoopItem', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("poop:tv", {
|
minetest.register_node("poop:tv", {
|
||||||
description = "CRT TV",
|
description = "CRT TV",
|
||||||
tiles = {"PC2.png", "PC2.png","PC2.png","PC.png","PC2.png","PC2.png"},
|
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", {
|
minetest.register_node("poop:bricks", {
|
||||||
description = "Bricks",
|
description = "Bricks",
|
||||||
tiles = {"Bricks.png"},
|
tiles = {"Bricks.png"},
|
||||||
|
|
||||||
drop = 'poop:grey_bricks',
|
drop = 'poop:grey_bricks', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
minetest.register_node("poop:grey_bricks", {
|
minetest.register_node("poop:grey_bricks", {
|
||||||
description = "Bricks 2",
|
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", {
|
minetest.register_node("poop:planks", {
|
||||||
description = "Planks",
|
description = "Planks",
|
||||||
tiles = {"Planks.png"},
|
tiles = {"Planks.png"},
|
||||||
|
|
||||||
drop = 'poop:planks',
|
drop = 'poop:planks', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
minetest.register_node("poop:purpleblock", {
|
minetest.register_node("poop:purpleblock", {
|
||||||
description = "Purple Block",
|
description = "Purple Block",
|
||||||
tiles = {"purpleblock.png"},
|
tiles = {"purpleblock.png"},
|
||||||
|
|
||||||
drop = 'poop:purpleblock',
|
drop = 'poop:purpleblock', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
minetest.register_node("poop:purpleblock", {
|
minetest.register_node("poop:purpleblock", {
|
||||||
description = "Purple Block",
|
description = "Purple Block",
|
||||||
tiles = {"purpleblock.png"},
|
tiles = {"purpleblock.png"},
|
||||||
|
|
||||||
drop = 'poop:purpleblock',
|
drop = 'poop:purpleblock', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
minetest.register_node("poop:redblock", {
|
minetest.register_node("poop:redblock", {
|
||||||
description = "Red Block",
|
description = "Red Block",
|
||||||
tiles = {"redblock.png"},
|
tiles = {"redblock.png"},
|
||||||
|
|
||||||
drop = 'poop:redblock',
|
drop = 'poop:redblock', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("poop:aquablock", {
|
minetest.register_node("poop:aquablock", {
|
||||||
description = "Aqua Block",
|
description = "Aqua Block",
|
||||||
tiles = {"aquablock.png"},
|
tiles = {"aquablock.png"},
|
||||||
|
|
||||||
drop = 'poop:aquablock',
|
drop = 'poop:aquablock', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
minetest.register_node("poop:glass", {
|
minetest.register_node("poop:glass", {
|
||||||
description = "Glass",
|
description = "Glass",
|
||||||
tiles = {"glass.png"},
|
tiles = {"glass.png"},
|
||||||
|
|
||||||
drop = 'poop:glass',
|
drop = 'poop:glass', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
minetest.register_node("poop:Poop2", {
|
minetest.register_node("poop:Poop2", {
|
||||||
description = "Poop with more density",
|
description = "Poop with more density",
|
||||||
tiles = {"sraka.png"},
|
tiles = {"sraka.png"},
|
||||||
|
|
||||||
drop = 'poop:Poop',
|
drop = 'poop:Poop', groups = {cracky=3, stone=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("poop:flux_capacitor", {
|
minetest.register_node("poop:flux_capacitor", {
|
||||||
description = "Flux Capacitor from Back to the Future",
|
description = "Flux Capacitor from Back to the Future",
|
||||||
tiles = {"fluxcap2.png", "fluxcap2.png","fluxcap2.png","fluxcap.png","fluxcap2.png","fluxcap2.png"},
|
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")
|
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:plumba")
|
||||||
player:get_inventory():add_item("main", "poop:pooper")
|
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
|
-- give the player all the possible nodes in this mod 2000 times
|
||||||
--for i = 1, 2000 do
|
for i = 1, 2000 do
|
||||||
-- player:get_inventory():add_item("main", "poop:floor")
|
player:get_inventory():add_item("main", "poop:floor")
|
||||||
-- player:get_inventory():add_item("main", "poop:tv")
|
player:get_inventory():add_item("main", "poop:tv")
|
||||||
-- player:get_inventory():add_item("main", "poop:bricks")
|
player:get_inventory():add_item("main", "poop:bricks")
|
||||||
-- player:get_inventory():add_item("main", "poop:grey_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:planks")
|
||||||
-- player:get_inventory():add_item("main", "poop:purpleblock")
|
player:get_inventory():add_item("main", "poop:purpleblock")
|
||||||
-- player:get_inventory():add_item("main", "poop:redblock")
|
player:get_inventory():add_item("main", "poop:redblock")
|
||||||
-- player:get_inventory():add_item("main", "poop:aquablock")
|
player:get_inventory():add_item("main", "poop:aquablock")
|
||||||
-- player:get_inventory():add_item("main", "poop:glass")
|
player:get_inventory():add_item("main", "poop:glass")
|
||||||
-- player:get_inventory():add_item("main", "poop:flux_capacitor")
|
player:get_inventory():add_item("main", "poop:flux_capacitor")
|
||||||
--end
|
end
|
||||||
end)
|
end)
|
Loading…
Reference in New Issue
Block a user