Spawn minecarts in railcorridor chests

This commit is contained in:
Wuzzy 2019-02-06 03:00:45 +01:00
parent 9105f248b4
commit da625b569a
2 changed files with 11 additions and 1 deletions

View file

@ -98,6 +98,15 @@ function tsm_railcorridors.get_treasures(pr)
{ itemstring = "mcl_minecarts:detector_rail", weight = 5, amount_min = 1, amount_max = 4 },
{ itemstring = "mcl_minecarts:golden_rail", weight = 5, amount_min = 1, amount_max = 4 },
}
},
-- non-MC loot: 50% chance to add a minecart, offered as alternative to spawning minecarts on rails.
-- TODO: Remove this when minecarts spawn on rails.
{
stacks_min = 0,
stacks_max = 1,
items = {
{ itemstring = "mcl_minecarts:minecart", weight = 1 },
}
}
}