mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-28 10:23:44 +01:00
more rope, less rope box.
This commit is contained in:
parent
21df7de34a
commit
5c857b4644
10
loot.lua
10
loot.lua
@ -3,7 +3,7 @@ if not minetest.get_modpath("loot") then
|
|||||||
end
|
end
|
||||||
|
|
||||||
loot.register_loot({
|
loot.register_loot({
|
||||||
weights = { generic = 200 },
|
weights = { generic = 300 },
|
||||||
payload = {
|
payload = {
|
||||||
stack = ItemStack("ropes:ropesegment"),
|
stack = ItemStack("ropes:ropesegment"),
|
||||||
min_size = 1,
|
min_size = 1,
|
||||||
@ -13,18 +13,18 @@ loot.register_loot({
|
|||||||
|
|
||||||
if ropes.ropeLadderLength > 0 then
|
if ropes.ropeLadderLength > 0 then
|
||||||
loot.register_loot({
|
loot.register_loot({
|
||||||
weights = { generic = 100 },
|
weights = { generic = 150 },
|
||||||
payload = {
|
payload = {
|
||||||
stack = ItemStack("ropes:ropeladder_top"),
|
stack = ItemStack("ropes:ropeladder_top"),
|
||||||
min_size = 1,
|
min_size = 1,
|
||||||
max_size = 30,
|
max_size = 40,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if ropes.woodRopeBoxMaxMultiple > 0 then
|
if ropes.woodRopeBoxMaxMultiple > 0 then
|
||||||
loot.register_loot({
|
loot.register_loot({
|
||||||
weights = { generic = 200 },
|
weights = { generic = 100 },
|
||||||
payload = {
|
payload = {
|
||||||
stack = ItemStack("ropes:wood1rope_block"),
|
stack = ItemStack("ropes:wood1rope_block"),
|
||||||
min_size = 1,
|
min_size = 1,
|
||||||
@ -35,7 +35,7 @@ end
|
|||||||
|
|
||||||
if ropes.copperRopeBoxMaxMultiple > 0 then
|
if ropes.copperRopeBoxMaxMultiple > 0 then
|
||||||
loot.register_loot({
|
loot.register_loot({
|
||||||
weights = { generic = 100 },
|
weights = { generic = 75 },
|
||||||
payload = {
|
payload = {
|
||||||
stack = ItemStack("ropes:copper1rope_block"),
|
stack = ItemStack("ropes:copper1rope_block"),
|
||||||
min_size = 1,
|
min_size = 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user