The cosmic object

From Scenario League Wiki
Revision as of 22:34, 1 January 2019 by Prof. Garfield (talk | contribs) (Created Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Back To TOTPP Functions

roadMultiplier (get/set)

civ.cosmic.roadMultiplier -> integer

Returns the road movement multiplier. Ephemeral.


triremeLost (get/set)

civ.cosmic.triremeLost -> integer

Returns the 1 in x chance of a trireme getting lost at sea. Ephemeral.


foodEaten (get/set)

civ.cosmic.foodEaten -> integer

Returns the amount of food eaten by each citizen each turn. Ephemeral.


foodRows (get/set)

civ.cosmic.foodRows -> integer

Returns the number of rows in the food box. Ephemeral.


shieldRows (get/set)

civ.cosmic.shieldRows -> integer

Returns the number of rows in the shield box. Ephemeral.


settlersEatLow (get/set)

civ.cosmic.settlersEatLow -> integer

Returns the amount of food eaten by settlers for governments ≤ Monarchy. Ephemeral.


settlersEatHigh (get/set)

civ.cosmic.settlersEatHigh -> integer

Returns the amount of food eaten by settlers for governments ≥ Communism. Ephemeral.


sizeUnhappiness (get/set)

civ.cosmic.sizeUnhappiness -> integer

Returns the city size at which the first unhappy citizen appears at Chieftain difficulty. Ephemeral.


riotFactor (get/set)

civ.cosmic.riotFactor -> integer

Returns the riot factor based on the number of cities. Ephemeral.


sizeAquaduct (get/set)

civ.cosmic.sizeAquaduct -> integer

Returns the city size that cannot be exceeded without an Aquaduct. Ephemeral.


sizeSewer (get/set)

civ.cosmic.sizeSewer -> integer

Returns the city size that cannot be exceeded without a Sewer System. Ephemeral.


techParadigm (get/set)

civ.cosmic.techParadigm -> integer

Returns the tech paradigm. Scenarios use civ.scen.params.techParadigm instead of this value. Ephemeral.


transformBase (get/set)

civ.cosmic.transformBase -> integer

Returns the base time needed for engineers to transform terrain. Ephemeral.


supportMonarchy (get/set)

civ.cosmic.supportMonarchy -> integer

Returns the number of units that are free of support under Monarchy. Ephemeral.


supportCommunism (get/set)

civ.cosmic.supportCommunism -> integer

Returns the number of units that are free of support under Communism. Ephemeral.


supportMonarchy (get/set)

civ.cosmic.supportMonarchy -> integer

Returns the number of units that are free of support under Monarchy. Ephemeral.


supportFundamentalism (get/set)

civ.cosmic.supportFundamentalism -> integer

Returns the number of units that are free of support costs under Fundamentalism. Ephemeral.


communismPalaceDistance (get/set)

civ.cosmic.communismPalaceDistance -> integer

Returns the distance from palace used in happiness calculations under Communism. Ephemeral.


scienceLostFundamentalism (get/set)

civ.cosmic.scienceLostFundamentalism -> integer

Returns the percentage of science lost under Fundamentalism. Ephemeral.


prodChangePenalty (get/set)

civ.cosmic.prodChangePenalty -> integer

Returns the shield penalty percentage for changing production types. Ephemeral.


paradropRange (get/set)

civ.cosmic.paradropRange -> integer

Returns the maximum paradrop range. Ephemeral.


massThrustParadigm (get/set)

civ.cosmic.massThrustParadigm -> integer

Returns the mass/thrust paradigm. Ephemeral.


scienceRateFundamentalism (get/set)

civ.cosmic.scienceRateFundamentalism -> integer

Returns the maximum effective science rate under Fundamentalism. Ephemeral.


scoreCitizen (get/set)

civ.cosmic.scoreCitizen -> integer

Returns the civilization score for each citizen. Ephemeral.


scoreWonder (get/set)

civ.cosmic.scoreWonder -> integer

Returns the civilization score for each wonder. Ephemeral.


scoreCentauri (get/set)

civ.cosmic.scoreCentauri -> integer

Returns the civilization score for each landing on Alpha Centauri first. Multiplied by number of habitats and success probability. Ephemeral.


scorePollution (get/set)

civ.cosmic.scorePollution -> integer

Returns the civilization score for each extant non-AI controlled polluted tile. Normally a negative value, i.e. a penalty. Ephemeral.


scorePeace (get/set)

civ.cosmic.scorePeace -> integer

Returns the civilization score for each turn of peace after turn 199. Ephemeral.


scoreFutureTech (get/set)

civ.cosmic.scoreFutureTech -> integer

Returns the civilization score for each future technology researched. Ephemeral.


penaltyBetrayal (get/set)

civ.cosmic.penaltyBetrayal -> integer

Returns the penalty to the civilization score for each betrayal of another tribe. Ephemeral.


scoreUnitKilled (get/set)

civ.cosmic.scoreUnitKilled -> integer

Returns the civilization score for each unit killed. Ephemeral.


goodieHutsMask (get/set)

civ.cosmic.goodieHutsMask -> integer

Returns the bitmask for goodie huts. Ephemeral.


helisPickupHuts (get/set)

civ.cosmic.helisPickupHuts -> integer

Returns whether helicopters (domain 1, range 0 units) pick up huts or not. Ephemeral.


numberOfUnitTypes (get)

civ.cosmic.numberOfUnitTypes -> integer

Returns the number of unit types from the @COSMIC2 key of the same name.