migration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
migration [2022/10/19 12:51] – maxime | 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 ===== | ||
+ | |||
+ | * [[changelog: | ||
+ | |||
+ | ==== Gendered fields ==== | ||
+ | |||
+ | In 1.9.3, we merged the Nun and Monk profiles and statuses together to avoid duplication. This brought in the notion of " | ||
+ | |||
+ | **Note: '' | ||
+ | |||
+ | ==== Text fields ==== | ||
+ | |||
+ | * If empty in gender, will take '' | ||
+ | * If we want the '' | ||
+ | * If empty, will LOG and ERROR and take the '' | ||
+ | * To convert: | ||
+ | <file lua> | ||
+ | -- OLD WAY | ||
+ | AgentProfile = { | ||
+ | DataType = " | ||
+ | ProfileName = " | ||
+ | } | ||
+ | |||
+ | -- NEW WAY | ||
+ | AgentProfile = { | ||
+ | DataType = " | ||
+ | ProfileNameGendered = { | ||
+ | -- MASCULINE | ||
+ | " | ||
+ | -- FEMININE | ||
+ | " | ||
+ | -- GENERIC | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Character Setup ==== | ||
+ | |||
+ | * '' | ||
+ | * Animations: If NONE in gender, will take the one from '' | ||
+ | * Left/Right Hand: If '' | ||
+ | * Clothing: If '' | ||
+ | * Lists: | ||
+ | * What is in '' | ||
+ | * No more need to duplicate stuff in both genders | ||
+ | * To convert: | ||
+ | <file lua> | ||
+ | -- OLD WAY | ||
+ | CharacterSetup = { | ||
+ | DataType = " | ||
+ | WalkAnimation = " | ||
+ | IdleAnimation = " | ||
+ | FemaleHatList = { | ||
+ | " | ||
+ | }, | ||
+ | MaleHatList = { | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | |||
+ | -- NEW WAY | ||
+ | CharacterSetup = { | ||
+ | DataType = " | ||
+ | CharacterSetupDataGendered = { | ||
+ | -- MALE | ||
+ | { | ||
+ | DataType = " | ||
+ | HatList = { | ||
+ | " | ||
+ | } | ||
+ | }, | ||
+ | -- FEMALE | ||
+ | { | ||
+ | DataType = " | ||
+ | HatList = { | ||
+ | " | ||
+ | } | ||
+ | }, | ||
+ | -- ALL | ||
+ | { | ||
+ | DataType = " | ||
+ | WalkAnimation = " | ||
+ | IdleAnimation = " | ||
+ | -- Things put in lists here will be used by all genders | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Assets ==== | ||
+ | '' | ||
+ | * Gendered Fields: | ||
+ | * '' | ||
+ | * Need to do conversion manually | ||
+ | * '' | ||
+ | * Will automatically bring the value in '' | ||
+ | * You can set it up manually if you want | ||
+ | * '' | ||
+ | * Will automatically bring the value in '' | ||
+ | * You can set it up manually if you want | ||
+ | * '' | ||
+ | * Will automatically bring the value in '' | ||
+ | * You can set it up manually if you want | ||
+ | |||
+ | '' | ||
+ | * Gendered Fields: | ||
+ | * '' | ||
+ | * Need to do conversion manually | ||
+ | * '' | ||
+ | * Will automatically bring the value in '' | ||
+ | * You can set it up manually if you want | ||
+ | * '' | ||
+ | * Will automatically bring the value in '' | ||
+ | * You can set it up manually if you want | ||
+ | * '' | ||
+ | * Will automatically bring the value in '' | ||
+ | * You can set it up manually if you want | ||
+ | |||
+ | ==== Data ==== | ||
+ | '' | ||
+ | * Gendered Fields: | ||
+ | * '' | ||
+ | * If '' | ||
+ | * Can use same quota for each gender, it will only evaluate villagers of that gender for the quota. | ||
+ | * If quota from '' | ||
===== Foundation 1.9.0.7 ===== | ===== Foundation 1.9.0.7 ===== |
migration.1666198300.txt.gz · Last modified: 2022/10/19 12:51 by maxime