mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2024-12-22 23:40:18 +01:00
Change drop of trap stones
This commit is contained in:
parent
600b54e5ad
commit
a6c3ab814b
28
nodes.lua
28
nodes.lua
@ -67,7 +67,12 @@ minetest.register_node("tsm_pyramids:trap", {
|
||||
end,
|
||||
_tsm_pyramids_crack = 1,
|
||||
on_timer = trap_on_timer,
|
||||
drop = "",
|
||||
drop = {
|
||||
items = {
|
||||
{ items = { "default:sand" }, rarity = 1 },
|
||||
{ items = { "default:sand" }, rarity = 2 },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("tsm_pyramids:trap_2", {
|
||||
@ -77,7 +82,12 @@ minetest.register_node("tsm_pyramids:trap_2", {
|
||||
is_ground_content = false,
|
||||
groups = {crumbly=3,cracky=3,falling_node=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
drop = "",
|
||||
drop = {
|
||||
items = {
|
||||
{ items = { "default:sand" }, rarity = 1 },
|
||||
{ items = { "default:sand" }, rarity = 2 },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("tsm_pyramids:desert_trap", {
|
||||
@ -92,7 +102,12 @@ minetest.register_node("tsm_pyramids:desert_trap", {
|
||||
end,
|
||||
_tsm_pyramids_crack = 1,
|
||||
on_timer = trap_on_timer,
|
||||
drop = "",
|
||||
drop = {
|
||||
items = {
|
||||
{ items = { "default:desert_sand" }, rarity = 1 },
|
||||
{ items = { "default:desert_sand" }, rarity = 2 },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("tsm_pyramids:desert_trap_2", {
|
||||
@ -102,5 +117,10 @@ minetest.register_node("tsm_pyramids:desert_trap_2", {
|
||||
is_ground_content = false,
|
||||
groups = {crumbly=3,cracky=3,falling_node=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
drop = "",
|
||||
drop = {
|
||||
items = {
|
||||
{ items = { "default:desert_sand" }, rarity = 1 },
|
||||
{ items = { "default:desert_sand" }, rarity = 2 },
|
||||
},
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user