123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- --LOOT TABLES
- local mese_stuff =
- {
- rolls = 1,
- rolls_max = 5,
- loots =
- {
- {
- weight = 95,
- loot = "mesecons:wire_00000000_off",
- repetitions = 5,
- repetitions_max = 30,
- },
- {
- weight = 5,
- loot = "eg_turing_machines:tape",
- repetitions = 1,
- },
- accumulated_weight = 100,
- }
- }
- local apple_stuff =
- {
- rolls = 1,
- rolls_max = 4,
- loots =
- {
- {
- weight = 75,
- loot = "eg_apples:pineapple",
- repetitions = 1,
- },
- {
- weight = 15,
- loot = "eg_apples:spruceapple",
- repetitions = 1,
- },
- {
- weight = 7,
- loot = "eg_apples:coconutapple",
- repetitions = 1,
- },
- {
- weight = 3,
- loot = "eg_apples:appleapple",
- repetitions = 1,
- },
- accumulated_weight = 100,
- }
- }
- local junk =
- {
- rolls = 1,
- rolls_max = 5,
- loots =
- {
- {
- weight = 1,
- loot = "eg_mapgen:stone",
- repetitions = 1,
- repetitions_max = 5,
- },
- {
- weight = 1,
- loot = "eg_mapgen:sand",
- repetitions = 1,
- repetitions_max = 5,
- },
- {
- weight = 1,
- loot = "eg_mapgen:grass",
- repetitions = 1,
- repetitions_max = 5,
- },
- {
- weight = 1,
- loot = "eg_mapgen:dirt",
- repetitions = 1,
- repetitions_max = 5,
- },
- {
- weight = 1,
- loot = "eg_pebbles:pebble",
- repetitions = 1,
- repetitions_max = 5,
- },
- accumulated_weight = 5,
- }
- }
- local dungeon =
- {
- rolls = 3,
- rolls_max = 5,
- loots =
- {
- {
- weight = 17,
- loot = junk,
- repetitions = 1,
- },
- {
- weight = 10,
- loot = apple_stuff,
- repetitions = 1,
- repetitions_max = 2,
- },
- {
- weight = 5,
- loot = "light:light",
- repetitions = 1,
- repetitions_max = 5,
- },
- {
- weight = 2,
- loot = mese_stuff,
- repetitions = 1,
- repetitions_max = 3,
- },
- accumulated_weight = 34,
- }
- }
- --DUNGEONS
- eg_storage_barrels.set_dungeon_loot_table(dungeon)
|