Module:GameData/doc: Difference between revisions

Add MAX_TRADER_STOCK_INCREASE to townKeys for next update
(Update code: Validate user has all expansion content available and handle ordered objects in Township skill data)
(Add MAX_TRADER_STOCK_INCREASE to townKeys for next update)
Line 354: Line 354:
                             {'from': 'MAX_WORSHIP', 'to': 'maxWorship'},
                             {'from': 'MAX_WORSHIP', 'to': 'maxWorship'},
                             {'from': 'populationForTier', 'to': 'populationForTier'},
                             {'from': 'populationForTier', 'to': 'populationForTier'},
                            {'from': 'MAX_TRADER_STOCK_INCREASE', 'to': 'maxTraderStockIncrease'},
                         ];
                         ];
                         townKeys.forEach((k) => dataNode.data[k.to] = gameSkill[k.from]);
                         townKeys.forEach((k) => dataNode.data[k.to] = gameSkill[k.from]);
572

edits