Page 1 of 1

How to use Global Variables

Posted: Mon Nov 15, 2021 7:13 am
by Rizean
This is really more of what globals are available and not how to use them. I will update later with some better examples. Please keep in mind some of these are not officially documented and were discovered through various means to include scrapping the code.

Code: Select all

WHAT: 
WHERE: 
WHEN: 0 - 24
WHO: none
OTHER:

sceneStart()
  "actionDuration = <actionDuration>"                                // how long the action takes/took
  "business_reputation = <business_reputation>"                      // the buildings business reputation
  "business_staffintelligence = <business_staffintelligence>"        // the sum total of the business employies intelligence
  "business_staffinterpersonal = <business_staffinterpersonal>"      // the sum total of the business employies interpersonal
  "business_staffnumber = <business_staffnumber>"                    // the total number of staff
  "choice = <choice>"                                                // the variable container the value a PC selected from the option syntax
  "costOfLiving = <costOfLiving>"                                    // cost of living
  "dayOfWeek = <dayOfWeek>"                                          // the day of the week
  "daysOfMonth = <daysOfMonth>"                                      // the days of the month?
  "gameDifficulty = <gameDifficulty>"                                // game difficulty
  "percentageElves = <percentageElves>"                              // percentage of Elves
  "percentageOrcs = <percentageOrcs>"                                // percentage of Orcs
  "percentageVampires = <percentageVampires>"                        // percentage of Vampires
  "timePassed = <timePassed>"                                        // how much time has passed?
  "toCum = <toCum>"                                                  // only useable in dirty talk
  "version_main = <version_main>"                                    // games major version ie if 4.16 would be 4
  "version_sub = <version_sub>"                                      // games minor version ie if 4.16 would be 16
  "WHEN = <WHEN>"                                                    // can be used to check when something is happening ie If WHEN < 6 || WHEN > 20
sceneEnd()