User Tools

Site Tools


migration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
migration [2023/04/07 16:39] polymorphgamesmigration [2023/09/05 11:21] (current) – Migrate to 1.9.6 mathieu
Line 1: Line 1:
 ====== Migration Notes ====== ====== Migration Notes ======
  
-===== Foundation 1.9.3.0 =====+===== Foundation 1.9.=====
  
-  * [[changelog:1.9.3|Full Changelog]]+==== Trading Village ==== 
 + 
 +In 1.9.6, we simplified ''TRADING_VILLAGE'''s list of resources by simply requiring a list of assets. 
 + 
 +<file lua> 
 +-- OLD WAY 
 +-- Register an addition neighbour to trade with.  
 +saltTrader:registerAsset({ 
 + DataType = "TRADING_VILLAGE", 
 + Id = SaltPrefix .. "_VILLAGE_NANTES", 
 +        Heraldry = "ICON_" .. CommonResourceSalt, 
 +        Description = SaltPrefix .. "_VILLAGE_NANTES_DESC", 
 + VillageName = "Nantes", 
 + --RESOURCE QUANTITY PAIR 
 + UnlockCost = {  
 + { Resource = "GOLD", Quantity = 300 } 
 + }, 
 + ResourceTradingReplenishDelay = 300.0, 
 +  
 + --BUYING RESOURCE TRADING INFO 
 + BuyingResourceList = {  
 +
 + ResourceMaxAmount = { Resource = "HONEY", Quantity = 30 }, 
 +                        ReplenishingAmount = 10, 
 + }, 
 +
 + ResourceMaxAmount = { Resource = "HERBS", Quantity = 30 }, 
 +                        ReplenishingAmount = 10, 
 +
 + }, 
 +  
 + --SELLING RESOURCE TRADING INFO 
 + SellingResourceList = { 
 +
 + ResourceMaxAmount = { Resource = CommonResourceSalt, Quantity = 50 }, 
 +                        ReplenishingAmount = 20, 
 +
 + }, 
 + Allegeance = "CLERGY", 
 +      ResourceNeededToUpgrade = "BERRIES", 
 +      TradeRouteUpgradeNarrativePanelTemplate = "NARRATIVE_PANEL_TEMPLATE_TRADE_ROUTE_UPGRADE", 
 +      WorldGuiIcon = "ICON_" .. CommonResourceSalt, 
 +      UpgradeEventEnvoyProfile = "PROFILE_ENVOY_ROYAL", 
 +}) 
 + 
 +-- NEW WAY 
 +-- Register an addition neighbour to trade with.  
 +saltTrader:registerAsset({ 
 + DataType = "TRADING_VILLAGE", 
 + Id = SaltPrefix .. "_VILLAGE_NANTES", 
 +        Heraldry = "ICON_" .. CommonResourceSalt, 
 +        Description = SaltPrefix .. "_VILLAGE_NANTES_DESC", 
 + VillageName = "Nantes", 
 + --RESOURCE QUANTITY PAIR 
 + UnlockCost = {  
 + { Resource = "GOLD", Quantity = 300 } 
 + }, 
 + ResourceTradingReplenishDelay = 300.0, 
 +  
 + --BUYING RESOURCE TRADING INFO 
 + BuyingResourceList = {  
 + "HONEY", 
 + "HERBS" 
 + }, 
 +  
 + --SELLING RESOURCE TRADING INFO 
 + SellingResourceList = { 
 + CommonResourceSalt 
 + }, 
 + Allegeance = "CLERGY", 
 +      ResourceNeededToUpgrade = "BERRIES", 
 +      TradeRouteUpgradeNarrativePanelTemplate = "NARRATIVE_PANEL_TEMPLATE_TRADE_ROUTE_UPGRADE", 
 +      WorldGuiIcon = "ICON_" .. CommonResourceSalt, 
 +      UpgradeEventEnvoyProfile = "PROFILE_ENVOY_ROYAL", 
 +}) 
 +</file> 
 + 
 +===== Foundation 1.9.3 ===== 
 + 
 +  * [[changelog:1.9.3.1.0417|Changelog]]
  
 ==== Gendered fields ==== ==== Gendered fields ====
Line 40: Line 119:
 ==== Character Setup ==== ==== Character Setup ====
  
-  * ''[[preview:api:CHARACTER_SETUP_DATA|CHARACTER_SETUP_DATA]]'' per gender+  * ''[[api:CHARACTER_SETUP_DATA|CHARACTER_SETUP_DATA]]'' per gender
     * Animations: If NONE in gender, will take the one from ''ALL''     * Animations: If NONE in gender, will take the one from ''ALL''
     * Left/Right Hand: If ''nil'' in gender, will take the one from ''ALL''     * Left/Right Hand: If ''nil'' in gender, will take the one from ''ALL''
Line 92: Line 171:
  
 ==== Assets ==== ==== Assets ====
-''[[preview:api:agent_profile|AGENT_PROFILE]]''+''[[api:agent_profile|AGENT_PROFILE]]''
   * Gendered Fields:   * Gendered Fields:
-    * ''[[preview:api:agent_profile#CharacterSetup|CharacterSetup]]''+    * ''[[api:agent_profile#CharacterSetup|CharacterSetup]]''
       * Need to do conversion manually       * Need to do conversion manually
-    * ''[[preview:api:agent_profile#ProfileFunctionGendered|ProfileFunctionGendered]]''+    * ''[[api:agent_profile#ProfileFunctionGendered|ProfileFunctionGendered]]''
       * Will automatically bring the value in ''ProfileFunction'' to the ''ALL'' value       * Will automatically bring the value in ''ProfileFunction'' to the ''ALL'' value
       * You can set it up manually if you want       * You can set it up manually if you want
-    * ''[[preview:api:agent_profile#ProfileNameGendered|ProfileNameGendered]]''+    * ''[[api:agent_profile#ProfileNameGendered|ProfileNameGendered]]''
       * Will automatically bring the value in ''ProfileName'' to the ''ALL'' value       * Will automatically bring the value in ''ProfileName'' to the ''ALL'' value
       * You can set it up manually if you want       * You can set it up manually if you want
-    * ''[[preview:api:agent_profile#ProfileNamePluralGendered|ProfileNamePluralGendered]]''+    * ''[[api:agent_profile#ProfileNamePluralGendered|ProfileNamePluralGendered]]''
       * Will automatically bring the value in ''ProfileNamePlural'' to the ''ALL'' value       * Will automatically bring the value in ''ProfileNamePlural'' to the ''ALL'' value
       * You can set it up manually if you want       * You can set it up manually if you want
  
-''[[preview:api:VILLAGER_STATUS|VILLAGER_STATUS]]''+''[[api:VILLAGER_STATUS|VILLAGER_STATUS]]''
   * Gendered Fields:   * Gendered Fields:
-    * ''[[preview:api:VILLAGER_STATUS#CharacterSetup|CharacterSetup]]''+    * ''[[api:VILLAGER_STATUS#CharacterSetup|CharacterSetup]]''
       * Need to do conversion manually       * Need to do conversion manually
-    * ''[[preview:api:VILLAGER_STATUS#StatusNameGendered|StatusNameGendered]]''+    * ''[[api:VILLAGER_STATUS#StatusNameGendered|StatusNameGendered]]''
       * Will automatically bring the value in ''StatusName'' to the ''ALL'' value       * Will automatically bring the value in ''StatusName'' to the ''ALL'' value
       * You can set it up manually if you want       * You can set it up manually if you want
-    * ''[[preview:api:VILLAGER_STATUS#StatusDescriptionGendered|StatusDescriptionGendered]]''+    * ''[[api:VILLAGER_STATUS#StatusDescriptionGendered|StatusDescriptionGendered]]''
       * Will automatically bring the value in ''StatusDescription'' to the ''ALL'' value       * Will automatically bring the value in ''StatusDescription'' to the ''ALL'' value
       * You can set it up manually if you want       * You can set it up manually if you want
-    * ''[[preview:api:VILLAGER_STATUS#TitleGendered|TitleGendered]]''+    * ''[[api:VILLAGER_STATUS#TitleGendered|TitleGendered]]''
       * Will automatically bring the value in ''Title'' to the ''ALL'' value       * Will automatically bring the value in ''Title'' to the ''ALL'' value
       * You can set it up manually if you want       * You can set it up manually if you want
  
 ==== Data ==== ==== Data ====
-''[[preview:api:agent_profile_function|AGENT_PROFILE_FUNCTION]]''+''[[api:agent_profile_function|AGENT_PROFILE_FUNCTION]]''
   * Gendered Fields:   * Gendered Fields:
-    * ''[[preview:api:agent_profile_function#AssetStatusQuotaGendered|AssetStatusQuotaGendered]]''+    * ''[[api:agent_profile_function#AssetStatusQuotaGendered|AssetStatusQuotaGendered]]''
       * If ''nil'' in gender, will use quota in ''ALL''.       * If ''nil'' in gender, will use quota in ''ALL''.
       * Can use same quota for each gender, it will only evaluate villagers of that gender for the quota.       * Can use same quota for each gender, it will only evaluate villagers of that gender for the quota.
migration.txt · Last modified: 2023/09/05 11:21 by mathieu

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki