migration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
migration [2023/04/18 15:26] – polymorphgames | migration [2023/09/05 11:21] (current) – Migrate to 1.9.6 mathieu | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Migration Notes ====== | ====== Migration Notes ====== | ||
+ | |||
+ | ===== Foundation 1.9.6 ===== | ||
+ | |||
+ | ==== Trading Village ==== | ||
+ | |||
+ | In 1.9.6, we simplified '' | ||
+ | |||
+ | <file lua> | ||
+ | -- OLD WAY | ||
+ | -- Register an addition neighbour to trade with. | ||
+ | saltTrader: | ||
+ | DataType = " | ||
+ | Id = SaltPrefix .. " | ||
+ | Heraldry = " | ||
+ | Description = SaltPrefix .. " | ||
+ | VillageName = " | ||
+ | --RESOURCE QUANTITY PAIR | ||
+ | UnlockCost = { | ||
+ | { Resource = " | ||
+ | }, | ||
+ | ResourceTradingReplenishDelay = 300.0, | ||
+ | |||
+ | --BUYING RESOURCE TRADING INFO | ||
+ | BuyingResourceList = { | ||
+ | { | ||
+ | ResourceMaxAmount = { Resource = " | ||
+ | ReplenishingAmount = 10, | ||
+ | }, | ||
+ | { | ||
+ | ResourceMaxAmount = { Resource = " | ||
+ | ReplenishingAmount = 10, | ||
+ | } | ||
+ | }, | ||
+ | |||
+ | --SELLING RESOURCE TRADING INFO | ||
+ | SellingResourceList = { | ||
+ | { | ||
+ | ResourceMaxAmount = { Resource = CommonResourceSalt, | ||
+ | ReplenishingAmount = 20, | ||
+ | } | ||
+ | }, | ||
+ | Allegeance = " | ||
+ | ResourceNeededToUpgrade = " | ||
+ | TradeRouteUpgradeNarrativePanelTemplate = " | ||
+ | WorldGuiIcon = " | ||
+ | UpgradeEventEnvoyProfile = " | ||
+ | }) | ||
+ | |||
+ | -- NEW WAY | ||
+ | -- Register an addition neighbour to trade with. | ||
+ | saltTrader: | ||
+ | DataType = " | ||
+ | Id = SaltPrefix .. " | ||
+ | Heraldry = " | ||
+ | Description = SaltPrefix .. " | ||
+ | VillageName = " | ||
+ | --RESOURCE QUANTITY PAIR | ||
+ | UnlockCost = { | ||
+ | { Resource = " | ||
+ | }, | ||
+ | ResourceTradingReplenishDelay = 300.0, | ||
+ | |||
+ | --BUYING RESOURCE TRADING INFO | ||
+ | BuyingResourceList = { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | |||
+ | --SELLING RESOURCE TRADING INFO | ||
+ | SellingResourceList = { | ||
+ | CommonResourceSalt | ||
+ | }, | ||
+ | Allegeance = " | ||
+ | ResourceNeededToUpgrade = " | ||
+ | TradeRouteUpgradeNarrativePanelTemplate = " | ||
+ | WorldGuiIcon = " | ||
+ | UpgradeEventEnvoyProfile = " | ||
+ | }) | ||
+ | </ | ||
===== Foundation 1.9.3 ===== | ===== Foundation 1.9.3 ===== |
migration.txt · Last modified: 2023/09/05 11:21 by mathieu