Difference between revisions of "Add a new building to Beer Factories"

From Beerplop
Line 1: Line 1:
* Building state in Beer Factories state
+
*Building state in Beer Factories state
* Constant building data in FACTORY_DATA_FIX
+
*Constant building data in FACTORY_DATA_FIX
* Add translations for building name and description
+
*Add translations for building name and description
* Define two upgrade paths
+
*Define two upgrade paths
** Labels for upgrade paths (if they don't exist yet)
+
**Labels for upgrade paths (if they don't exist yet)
** requirements, prices and callbacks in Upgrades.js
+
**requirements, prices and callbacks in Upgrades.js
** Title and description for each upgrade (if required Language Middleware expansion)
+
**Title and description for each upgrade (if required Language Middleware expansion)
* Achievement building unlocked
+
*Achievement building unlocked
* Amount achievements (Language Middleware expansion of description)
+
*Amount achievements (Language Middleware expansion of description)
* Define base building price in REQUIRED_MATERIALS__FACTORY_CONSTRUCTION
+
*Define base building price in REQUIRED_MATERIALS__FACTORY_CONSTRUCTION
* Define when the building gets unlocked in FACTORY_ENABLE_LIMITS
+
*Define when the building gets unlocked in FACTORY_ENABLE_LIMITS
* Create building icon
+
*Create building icon
* Implement special logic for the building
+
*Implement special logic for the building
 +
**factory extensions
 +
**....
 +
 
 +
If the new building produces new materials
 +
 
 +
* Add the material state in Beer Factories state
 +
* Add translation for material name
 +
* Add materials amount achievements (Language Middleware expansion of description)

Revision as of 15:15, 9 September 2020

  • Building state in Beer Factories state
  • Constant building data in FACTORY_DATA_FIX
  • Add translations for building name and description
  • Define two upgrade paths
    • Labels for upgrade paths (if they don't exist yet)
    • requirements, prices and callbacks in Upgrades.js
    • Title and description for each upgrade (if required Language Middleware expansion)
  • Achievement building unlocked
  • Amount achievements (Language Middleware expansion of description)
  • Define base building price in REQUIRED_MATERIALS__FACTORY_CONSTRUCTION
  • Define when the building gets unlocked in FACTORY_ENABLE_LIMITS
  • Create building icon
  • Implement special logic for the building
    • factory extensions
    • ....

If the new building produces new materials

  • Add the material state in Beer Factories state
  • Add translation for material name
  • Add materials amount achievements (Language Middleware expansion of description)