Moved all legendaries to mindflayer loot table.

This commit is contained in:
Sam 2021-03-24 14:42:37 -04:00
parent 4ec387af82
commit 1edf79d109
8 changed files with 20 additions and 33 deletions

View File

@ -18,7 +18,7 @@ loot_tables: [
(1,"common.loot_tables.loot_table_food"),
(0.1,"common.loot_tables.loot_table_humanoids"),
(1,"common.loot_tables.loot_table_maneater"),
(0.0001,"common.loot_tables.loot_table_mindflayer"),
(0.0001,"common.loot_tables.mindflayer"),
(0.001,"common.loot_tables.loot_table_miniboss"),
(0.05,"common.loot_tables.loot_table_raptor"),
// loot_table_rocks is dropped by rock monsters, but is also the only source of stones to econsim until cave_scatter information is turned into a loot table

View File

@ -13,7 +13,6 @@
// Misc
(4, "common.items.crafting_ing.empty_vial"),
(0.25, "common.items.armor.misc.neck.plain_1"),
(0.001, "common.items.glider.glider_purp"),
(0.1, "common.items.glider.glider_blue"),
(0.5, "common.items.utility.firework_purple"),
(0.5, "common.items.utility.bomb"),
@ -198,12 +197,10 @@
(0.10, "common.items.weapons.sword.bloodsteel-0"),
(0.10, "common.items.weapons.sword.bloodsteel-1"),
(0.10, "common.items.weapons.sword.bloodsteel-2"),
(0.001, "common.items.weapons.sword.caladbolg"),
// axes
(0.20, "common.items.weapons.axe.bloodsteel_axe-0"),
(0.20, "common.items.weapons.axe.bloodsteel_axe-1"),
(0.20, "common.items.weapons.axe.bloodsteel_axe-2"),
(0.001, "common.items.weapons.axe.parashu"),
// healing staff
(0.25, "common.items.weapons.sceptre.staff_nature"),
// staves
@ -212,13 +209,11 @@
(0.10, "common.items.weapons.staff.flamethrower_0"),
(0.05, "common.items.weapons.staff.bent_fuse"),
(0.05, "common.items.weapons.staff.orc_iron"),
(0.001, "common.items.weapons.staff.phoenix"),
// hammers
(0.01, "common.items.weapons.hammer.cobalt_hammer-0"),
(0.01, "common.items.weapons.hammer.cobalt_hammer-1"),
(0.01, "common.items.weapons.hammer.runic_hammer"),
(0.1, "common.items.weapons.hammer.ramshead_hammer"),
(0.001, "common.items.weapons.hammer.mjolnir"),
// bows
(0.20, "common.items.weapons.bow.frostwood-0"),
(0.20, "common.items.weapons.bow.frostwood-1"),
@ -226,5 +221,4 @@
(0.10, "common.items.weapons.bow.eldwood-0"),
(0.10, "common.items.weapons.bow.eldwood-1"),
(0.10, "common.items.weapons.bow.eldwood-2"),
(0.001, "common.items.weapons.bow.sagitta"),
]

View File

@ -1,19 +0,0 @@
[
// armor
(1, "common.items.armor.cultist.belt"),
(1, "common.items.armor.cultist.chest"),
(1, "common.items.armor.cultist.foot"),
(1, "common.items.armor.cultist.hand"),
(1, "common.items.armor.cultist.pants"),
(1, "common.items.armor.cultist.shoulder"),
(1, "common.items.armor.misc.back.dungeon_purple"),
// weapons
(1, "common.items.weapons.staff.cultist_staff"),
(1, "common.items.weapons.hammer.cultist_purp_2h-0"),
(1, "common.items.weapons.sword.cultist"),
(0.25, "common.items.crafting_ing.mindflayer_bag_damaged"),
(0.2, "common.items.weapons.sceptre.root_evil"),
// misc
(1, "common.items.boss_drops.lantern"),
(0.25, "common.items.glider.glider_purp"),
]

View File

@ -12,6 +12,4 @@
(1, "common.items.weapons.staff.cultist_staff"),
(1, "common.items.weapons.hammer.cultist_purp_2h-0"),
(1, "common.items.weapons.sword.cultist"),
// misc
(0.25, "common.items.boss_drops.lantern"),
]

View File

@ -7,7 +7,6 @@
(0.10, "common.items.weapons.sword.bloodsteel-0"),
(0.10, "common.items.weapons.sword.bloodsteel-1"),
(0.10, "common.items.weapons.sword.bloodsteel-2"),
(0.01, "common.items.weapons.sword.caladbolg"),
// axes
(0.20, "common.items.weapons.axe.bloodsteel_axe-0"),
(0.20, "common.items.weapons.axe.bloodsteel_axe-1"),
@ -15,7 +14,6 @@
(0.30, "common.items.weapons.axe.cobalt_axe-0"),
(0.30, "common.items.weapons.axe.cobalt_axe-1"),
(0.10, "common.items.weapons.axe.malachite_axe-0"),
(0.01, "common.items.weapons.axe.parashu"),
// healing staff
(0.15, "common.items.weapons.sceptre.loops0"),
(0.10, "common.items.weapons.sceptre.fork0"),
@ -30,7 +28,6 @@
(0.30, "common.items.weapons.hammer.cobalt_hammer-1"),
(0.15, "common.items.weapons.hammer.runic_hammer"),
(0.15, "common.items.weapons.hammer.ramshead_hammer"),
(0.01, "common.items.weapons.hammer.mjolnir"),
// bows
(0.20, "common.items.weapons.bow.frostwood-0"),
(0.20, "common.items.weapons.bow.frostwood-1"),
@ -38,5 +35,4 @@
(0.10, "common.items.weapons.bow.eldwood-0"),
(0.10, "common.items.weapons.bow.eldwood-1"),
(0.10, "common.items.weapons.bow.eldwood-2"),
(0.01, "common.items.weapons.bow.sagitta"),
]

View File

@ -0,0 +1,14 @@
[
// Crafting material
(2.0, "common.items.crafting_ing.mindflayer_bag_damaged"),
// Legendary weapons
(1.0, "common.items.weapons.sword.caladbolg"),
(1.0, "common.items.weapons.axe.parashu"),
(1.0, "common.items.weapons.hammer.mjolnir"),
(1.0, "common.items.weapons.bow.sagitta"),
(1.0, "common.items.weapons.staff.phoenix"),
(1.0, "common.items.weapons.sceptre.root_evil"),
// Rare misc items
(0.5, "common.items.boss_drops.lantern"),
(0.5, "common.items.glider.glider_purp"),
]

View File

@ -150,6 +150,7 @@ fn get_tool_kind(kind: &ToolKind) -> String {
ToolKind::Spear => "Spear".to_string(),
ToolKind::Debug => "Debug".to_string(),
ToolKind::Farming => "Farming".to_string(),
ToolKind::Pick => "Pick".to_string(),
ToolKind::Unique(_) => "Unique".to_string(),
ToolKind::Empty => "Empty".to_string(),
}

View File

@ -833,7 +833,10 @@ impl Floor {
"common.loot_tables.loot_table_miniboss",
),
5 => Lottery::<String>::load_expect(
"common.loot_tables.loot_table_mindflayer",
match dynamic_rng.gen_range(0..4) {
0 => "common.loot_tables.mindflayer",
_ => "common.loot_tables.loot_table_cultists",
},
),
_ => Lottery::<String>::load_expect(
"common.loot_tables.loot_table_armor_misc",