From 4b62a99ed95e5101138ac3cf4b983c382357dc4c Mon Sep 17 00:00:00 2001 From: Avi Weinstock Date: Sat, 27 Mar 2021 10:47:44 -0400 Subject: [PATCH] Improve econsim's handling of diamond prices by lowering the implied homicide rate. --- CHANGELOG.md | 1 + assets/common/item_price_calculation.ron | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36a1ad083b..995fd39caa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Trades now display item prices in tooltips. ### Changed +- Diamonds are now much more than twice as expensive as twigs. ### Removed diff --git a/assets/common/item_price_calculation.ron b/assets/common/item_price_calculation.ron index 3108f680ab..19281c60e6 100644 --- a/assets/common/item_price_calculation.ron +++ b/assets/common/item_price_calculation.ron @@ -11,20 +11,22 @@ loot_tables: [ (0.5,"common.loot_tables.loot_table_armor_nature"), (0.1,"common.loot_tables.loot_table_cave_large"), (0.1,"common.loot_tables.loot_table_consumables"), - (1,"common.loot_tables.loot_table_crafting"), + // loot_table_crafting is a rare roll on crate/mud sprite looting + (0.05,"common.loot_tables.loot_table_crafting"), (0.005,"common.loot_tables.loot_table_cultists"), (1,"common.loot_tables.loot_table_fish"), (1,"common.loot_tables.loot_table_food"), - (1,"common.loot_tables.loot_table_humanoids"), + (0.1,"common.loot_tables.loot_table_humanoids"), (1,"common.loot_tables.loot_table_maneater"), (0.0001,"common.loot_tables.loot_table_mindflayer"), (0.001,"common.loot_tables.loot_table_miniboss"), (0.05,"common.loot_tables.loot_table_raptor"), - (1,"common.loot_tables.loot_table_rocks"), + // 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 + (0.2,"common.loot_tables.loot_table_rocks"), (1,"common.loot_tables.loot_table"), (0.04,"common.loot_tables.loot_table_saurok"), (0.02,"common.loot_tables.loot_table_troll"), - (2,"common.loot_tables.loot_table_villager"), + (0.05,"common.loot_tables.loot_table_villager"), (1,"common.loot_tables.loot_table_weapon_common"), (0.008,"common.loot_tables.loot_table_weapon_rare"), (0.01,"common.loot_tables.loot_table_weapon_uncommon"),