User Tools

Site Tools


scripting:reference:system_functions:buildinginformationfunctions

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
scripting:reference:system_functions:buildinginformationfunctions [2023/07/23 12:40] – [Related System Values] mitscripting:reference:system_functions:buildinginformationfunctions [2023/08/22 10:42] (current) – [Building Information Functions] mit
Line 2: Line 2:
  
 System functions that provide information about a building and its contents, and allow you to control the building UI. System functions that provide information about a building and its contents, and allow you to control the building UI.
 +
 +Unless otherwise stated, these functions refer to the building currently being accessed by the player. (This can be overriden using SetBuildingContext).
  
 ==== sysAmountInStocks ==== ==== sysAmountInStocks ====
Line 123: Line 125:
 **$gBuildingCapacity** : Capacity value of the building (e.g. for homes)\\ **$gBuildingCapacity** : Capacity value of the building (e.g. for homes)\\
 **$gBuildingSpaceRemaining** : Remaining capacity of the building (e.g. for homes)\\ **$gBuildingSpaceRemaining** : Remaining capacity of the building (e.g. for homes)\\
 +**$gBuildingTown** : Town building num of the town the building is in (or 0 if the building is not in a town)\\
 **$gBuildingScriptParam**, , **$gBuildingOwnerID**, **$gBuildingNumEmployees**, **$gBuildingMaxEmployees**, **$gBuildingSalePrice**, **$gBuildingWage**,  **$gBuildingInvestment**,  **$gBuildingScriptParam**, , **$gBuildingOwnerID**, **$gBuildingNumEmployees**, **$gBuildingMaxEmployees**, **$gBuildingSalePrice**, **$gBuildingWage**,  **$gBuildingInvestment**, 
 **$gBuildingEfficiency**, **$gBuildingScore**, **$gBuildingType**, **$gBuildingDamage**,  **$gBuildingEfficiency**, **$gBuildingScore**, **$gBuildingType**, **$gBuildingDamage**, 
scripting/reference/system_functions/buildinginformationfunctions.1690134010.txt.gz · Last modified: 2023/07/23 12:40 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki