In my mod, I currently have the issue that merchants seem to be unable to generate any income by trading resources. I put even a 10/10 merchant on a highly valuable resource like Gold but it still says income generated: 0 (While in the same text it also states that the resource has a value > 0)
I did not change anything in descr_mission_modifiers.txt I even use the original one:
Code:
// Trade
MC_DB_BASE_INCOME_MODIFIER :: 0.5
MC_DB_TRADE_BONUS_OFFSET :: 10.0
MERCHANT_BASE_INCOME :: 50
MERCHANT_BASE_FEE :: 30
MERCHANT_NO_AGREEMENT_MULTIPLIER :: 0.1
MERCHANT_EXCLUSIVITY_MULTIPLIER :: 1.5
MERCHANT_DISTANCE_MULTIPLIER :: 0.15
SETTLEMENT_MERCHANT_TOTAL_MAXIMUM :: 20
MERCHANT_LEVEL_INCOME_PERCENTAGE :: 7
MERCHANT_BASE_INCOME_PERCENTAGE :: 30
I did change however the descr_sm_resources.txt:
Code:
"gold":
{
"subtype": "mineable",
"name": "SMT_RESOURCE_GOLD",
"tooltip": "TMT_GOLD_TOOLTIP",
"icon": "data/ui/resources/resource_gold.tga",
"mining tooltip": "TMT_GOLD_MINE_TOOLTIP",
"tier": 5,
"trade value": 23,
"tags": [ "precious_minerals", "all_minerals", ],
"mine model": "data/models_strat/resource_mine.CAS",
"quantity models": { "data/models_strat/resource_gold.CAS": 1,
"data/models_strat/resource_gold_02.CAS": 2, },
"default model": "data/models_strat/resource_gold_03.CAS",
},
But as far as I can tell it is the same like the original:
Code:
"gold":
{
;; subtype of resource this is:
;; hidden is not displayed to the user
;; slaves are created when enslaving a settlement
;; mineable can have a mine constructed on them
;; none is just a normal resource
"subtype": "mineable",
;; the localised name and tooltip for this resource
"name": "SMT_RESOURCE_GOLD",
"tooltip": "TMT_GOLD_TOOLTIP",
;; the UI icon to use
"icon": "data/ui/resources/resource_gold.tga",
;; mineable resources need a seperate tooltip for when they're being mined
"mining tooltip": "TMT_GOLD_MINE_TOOLTIP",
;; the tier and trade value
"tier": 5,
"trade value": 15,
;; tags (groups) that this resource belongs to
"tags":
[ "precious_minerals", "all_minerals", ],
;;the model to use for this resource's mine
"mine model": "data/models_strat/resource_mine.CAS",
;; models to use for specific quantities
"quantity models":
{
"data/models_strat/resource_gold.CAS": 1,
"data/models_strat/resource_gold_02.CAS": 2,
},
;; default model to use when the quantity is not one of the ones specified above
"default model": "data/models_strat/resource_gold_03.CAS",
},
What did I forget?