Skip to content

Commit

Permalink
Change prices for dwarf trader. Relates #1150
Browse files Browse the repository at this point in the history
  • Loading branch information
alek13 committed Oct 4, 2023
1 parent 384b579 commit 6ef6a46
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
30 changes: 15 additions & 15 deletions mods/lord/Entities/lord_traders/src/traders/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ trader_config.common_goods = {
--- @type traders.config
trader_config.dwarf = {
goods = table.merge(trader_config.common_goods, {
["lottthrowing:crossbow_silver 1"] = { price = 90, chance = 15, stock = 1 },
["lottarmor:chestplate_mithril 1"] = { price = 750, chance = 50, stock = 1 },
["default:steel_ingot 99"] = { price = 200, chance = 12, stock = 1 },
["tools:sword_silver 1"] = { price = 70, chance = 10, stock = 1 },
["default:bronze_ingot 25"] = { price = 50, chance = 15, stock = 1 },
["lottblocks:small_lamp_pine 6"] = { price = 20, chance = 6, stock = 1 },
["lottblocks:dwarf_harp 1"] = { price = 150, chance = 10, stock = 1 },
["tools:dagger_mithril 1"] = { price = 150, chance = 20, stock = 1 },
["tools:sword_mithril 1"] = { price = 350, chance = 30, stock = 1 },
["tools:sword_steel 1"] = { price = 50, chance = 10, stock = 1 },
["tools:battleaxe_silver 1"] = { price = 100, chance = 18, stock = 1 },
["lottblocks:dwarfstone_stripe 50"] = { price = 170, chance = 12, stock = 1 },
["lottblocks:dwarfstone_black 99"] = { price = 330, chance = 17, stock = 1 },
["default:stonebrick 99"] = { price = 250, chance = 14, stock = 1 },
["lottblocks:dwarfstone_white 99"] = { price = 330, chance = 17, stock = 1 },
["lottthrowing:crossbow_silver 1"] = { price = 90, chance = 15, stock = 1 },
["lottarmor:chestplate_mithril 1"] = { price = 1200, chance = 50, stock = 1 },
["default:steel_ingot 99"] = { price = 700, chance = 12, stock = 1 },
["tools:sword_silver 1"] = { price = 100, chance = 10, stock = 1 },
["default:bronze_ingot 25"] = { price = 300, chance = 15, stock = 1 },
["lottblocks:small_lamp_pine 6"] = { price = 200, chance = 6, stock = 1 },
["lottblocks:dwarf_harp 1"] = { price = 1100, chance = 10, stock = 1 },
["tools:dagger_mithril 1"] = { price = 270, chance = 20, stock = 1 },
["tools:sword_mithril 1"] = { price = 500, chance = 30, stock = 1 },
["tools:sword_steel 1"] = { price = 20, chance = 10, stock = 1 },
["tools:battleaxe_silver 1"] = { price = 200, chance = 18, stock = 1 },
["lottblocks:dwarfstone_stripe 50"] = { price = 110, chance = 12, stock = 1 },
["lottblocks:dwarfstone_black 50"] = { price = 275, chance = 17, stock = 1 },
["default:stonebrick 99"] = { price = 250, chance = 14, stock = 1 },
["lottblocks:dwarfstone_white 50"] = { price = 440, chance = 17, stock = 1 },
}),
names = {
"Azaghâl", "Balbrin", "Borin", "Farin", "Flói", "Frerin",
Expand Down
7 changes: 4 additions & 3 deletions mods/lord/Entities/lord_traders/src/traders/trader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ local common_trader_definition = {
follow = "lottother:narya", -- except hobbits
jump = true,
drops = {
{ name = "lord_money:copper_coin", chance = 2, min = 1, max = 30, },
{ name = "lord_money:silver_coin", chance = 6, min = 1, max = 9, },
{ name = "lord_money:gold_coin", chance = 9, min = 1, max = 3, },
{ name = "lord_money:copper_coin", chance = 2, min = 1, max = 30, },
{ name = "lord_money:silver_coin", chance = 6, min = 1, max = 9, },
{ name = "lord_money:gold_coin", chance = 9, min = 1, max = 3, },
{ name = "lord_money:diamond_coin", chance = 50, min = 1, max = 1, },
},
attacks_monsters = true, -- except hobbits
group_attack = true, -- except hobbits
Expand Down

0 comments on commit 6ef6a46

Please sign in to comment.