*********************** * * * Tropico * * Editor Conditions * * * * See EDITOR.TXT for * * basic editor info * * * *********************** ** There are 4 variables that are unique per event, and only modifibiable/accessible by that event ** (Useful for keeping sums and such) - the values all default to zero. They are stored between ** executions of a given event - so if an event is run once a month, adding one to a particular ** variable, that counter will climb over time EventVariable1 EventVariable2 EventVariable3 EventVariable4 ** Group variables work like event variables, except they're stored at a group level. All ** events at the same directory level are considered in the same group. i.e. Everything in the ** root is one group. Everything in a given subdirectory is another, and so on. This is why ** many of the events in the pre-designed scenarios are organized into subdirectories GroupVariable1 GroupVariable2 GroupVariable3 GroupVariable4 ** The following two generate a random number with the specified scale Random0To100 Random0To100000 ** Month is 1 to 12 (January to December) Month Year YearsElapsed ** Money is the player's national treasury Money ** By default, all of the following evaluate to the current year's total, where applicable. ** Precede with LTD to get a lifetime total (i.e. LTDGSExpMiningWages) GSRevFarmingUnclassified GSExpFarmingUnclassified GSExpFarmingWages GSExpFarmingMaintenance GSRevMiningUnclassified GSExpMiningUnclassified GSExpMiningWages GSExpMiningMaintenance GSRevLoggingUnclassified GSExpLoggingUnclassified GSExpLoggingWages GSExpLoggingMaintenance GSRevIndustryUnclassified GSExpIndustryUnclassified GSExpIndustryRawMaterialsCost GSExpIndustryWages GSExpIndustryMaintenance GSRevTourismUnclassified GSRevTourismHotelRents GSRevTourismNonHotelBuildingFees GSRevTourismLocal GSRevTourismBankingFees GSRevTourismTicketFees GSExpTourismUnclassified GSExpTourismWages GSExpTourismMaintenance GSRevForeignUnclassified GSRevForeignUsAid GSRevForeignRussiaAid GSRevForeignOffshoreOil GSRevForeignArmyBase GSExpForeignUnclassified GSRevMiscMedia GSRevMiscHousing GSRevMiscEdicts GSRevMiscDebug GSExpMiscUnclassified GSExpMiscHousing GSExpMiscWages GSExpMiscHumanServicesWages GSExpMiscHumanServicesMaintenance GSExpMiscWagesInfrastructureWages GSExpMiscWagesInfrastructureMaintenance GSExpMiscMaintenance GSRevSpecUnclassified GSExpSpecEdicts GSExpSpecConstructionCosts GSExpSpecSentToSwissBank GSExpSpecGamblingLosses GSUnitsOfFoodProduced GSUnitsOfFoodEaten GSAcresUnderHarvest GSNumberFarmers GSTonsMined GSNumberMiners GSTreesLogged GSNumberLumberjacks GSTreeCoverage GSNumberFactoryWorkers GSNumberTourists GSNumberTourismWorkers GSTourismRatingRaw GSTourismRatingFinal GSTourismRatingTrailing GSTourismRatingProjected GSAvgTourismEnvironment GSAvgTourismCrimeSafety GSAvgTourismAttractions GSAvgTourismSiteScore GSTRAUsRelationship GSTRACharacter GSTRAPoliticalStability GSTRAMiscellaneous GSTotalIslandAcres GSIncomePerWorker GSIncomePerWorkerQuintile1 GSIncomePerWorkerQuintile2 GSIncomePerWorkerQuintile3 GSIncomePerWorkerQuintile4 GSIncomePerWorkerQuintile5 GSPoliticalSupportOverall GSUprisingThreat GSCoupThreat GSRebelThreat GSRussiaThreat GSUSThreat GSStabilityOfPower GSSwissBankSize GSTreasurySize GSNumberResidents GSNumberSoldiers GSNumberRebels GSHappyResidents GSContentResidents GSUnhappyResidents GSBuildingsValue GSBaseScore GSCoupForRegime GSCoupAgainstRegime GSCoupHiding GSCoupMorale GSUprisingForRegime GSUprisingAgainstRegime GSUprisingHiding GSUprisingMorale GSProtesters GSAverageEducation GSAverageHousingQuality GSAverageEntertainmentQuality GSAverageReligionQuality GSAverageFoodQuality GSAverageHealthCareQuality GSAverageCrimeSafety GSAverageUnitEnvironment GSAverageLiberty GSAverageJobQuality GSAverageAge GSAverageRespect GSAverageRespectMilitary GSAverageRespectReligion GSAverageRespectCommunist GSAverageRespectCapitalist GSAverageRespectIntellectual GSAverageRespectEnvironmentalist GSAverageHappiness GSBirths GSDeaths GSMarriages GSImmigrants GSEmmigrants GSUsRelationship GSRussiaRelationship GSExportValueCorn GSExportValuePapaya GSExportValueBanana GSExportValuePineapple GSExportValueCannedPineapple GSExportValueCoffee GSExportValueCannedCoffee GSExportValueFreezeDriedCoffee GSExportValueSugar GSExportValueRum GSExportValueSpicedRum GSExportValueTobacco GSExportValueCigars GSExportValueMachineCigars GSExportValueCattle GSExportValueSmokedCattle GSExportValueGoat GSExportValueFish GSExportValueCannedFish GSExportValueLogs GSExportValueLumber GSExportValueIron GSExportValueBauxite GSExportValueGold GSExportValueJewelry GSExportValueFineJewelry GSExportUnitsCorn GSExportUnitsPapaya GSExportUnitsBanana GSExportUnitsPineapple GSExportUnitsCannedPineapple GSExportUnitsCoffee GSExportUnitsCannedCoffee GSExportUnitsFreezeDriedCoffee GSExportUnitsSugar GSExportUnitsRum GSExportUnitsSpicedRum GSExportUnitsTobacco GSExportUnitsCigars GSExportUnitsMachineCigars GSExportUnitsCattle GSExportUnitsSmokedCattle GSExportUnitsGoat GSExportUnitsFish GSExportUnitsCannedFish GSExportUnitsLogs GSExportUnitsLumber GSExportUnitsIron GSExportUnitsBauxite GSExportUnitsGold GSExportUnitsJewelry GSExportUnitsFineJewelry GSDummy2 GSDummy3 GSDummy4 GSSleazyTouristBuildingCount GSRevSpecConvict GSPrisoners GSCaribbeanAveragePay GSDemocracyExpectations GSDemocracySatisfaction GSUnitsOfEdibleFoodProduced GSMealsSkipped GSPersonalMealReserves GSGovernmentMealReserves GSDummyX5 GSDummyX6 GSDummyX7 GSDummyX8 GSDummyX9 GSDummyX10 GSProOverall GSRevOverall GSExpOverall GSProFarming GSRevFarming GSExpFarming GSProMining GSRevMining GSExpMining GSProLogging GSRevLogging GSExpLogging GSProIndustry GSRevIndustry GSExpIndustry GSProTourism GSRevTourism GSExpTourism GSProForeign GSRevForeign GSExpForeign GSProMisc GSRevMisc GSExpMisc GSProSpec GSRevSpec GSExpSpec GSUnitsOfFoodPerFarmer GSTonsPerMiner GSTreesPerLumberjack GSValueAddedByIndustry GSValueAddedPerFactoryWorker GSAmountSpentPerTourist GSIncomeDisparity GSDifficultyAdjustedScore GSTRATotal GSAvgTotalSiteAdjustment GSPersonalMealReservesPerPerson GSGovernmentMealReservesPerPerson GSMealsEatenPerPerson GSMealsSkippedPerPerson GSMealsEaten GSMealsProduced GSDummy27 GSDummy28 GSDummy29 GSDummy210 ** The following all should only be used if you're evaluating at a per-unit level ** (using LoopThroughAllUnits) UnitType UnitIsImmigrant UnitIsHomeless UnitIsJobless UnitIsUnemployed UnitIsChild UnitIsFemale UnitIsMarried UnitUIHunger UnitUIHealthNeed UnitUIEntertainmentNeed UnitUIReligiousNeed UnitUIRestNeed UnitUISuppression UnitUILiberty UnitUIRespectModifier UnitUIFoodQuality UnitUIHousingQuality UnitUIReligiousQuality UnitUIEntertainmentQuality UnitUIEnvironmentalQuality UnitUIHealthCareQuality UnitUICrimeSafety UnitUIFactionSupportMilitary UnitUIFactionSupportReligion UnitUIFactionSupportCommunism UnitUIFactionSupportCapitalist UnitUIFactionSupportIntellectual UnitUIFactionSupportEnvironmentalist UnitUIFactionEnvironmentAdjustmentMilitary UnitUIFactionEnvironmentAdjustmentReligion UnitUIFactionEnvironmentAdjustmentCommunism UnitUIFactionEnvironmentAdjustmentCapitalist UnitUIFactionEnvironmentAdjustmentIntellectual UnitUIFactionEnvironmentAdjustmentEnvironmentalist UnitUIFactionEnvironmentAdjustmentOverall UnitUIForeignerResentment UnitUIJobQuality UnitUIRespect UnitUIPayRelativeToWorld UnitUIPayRelativeToOtherWorkersOfMyJobType UnitUIPayRelativeToOtherIslandWorkers UnitUIPayRelativeToEverything UnitUIRevoltLikelihood UnitUIOverallHappiness UnitAge ** The following all should only be used if you're evaluating at a per-building level ** (using LoopThroughAllBuildings) BldgType BldgIsHousing BldgRent BldgPay BldgCurrentWorkers BldgPossibleWorkers BldgWorkerPercent BldgOccupiedHousingUnits BldgPossibleHousingUnits BldgOccupiedHousingUnitPercent BldgYtdRevenue BldgYtdExpenses BldgYtdProfits ** The following are useful for determining unitType (i.e. Condition UnitType=UnitTypeCook) UnitTypeBanker UnitTypeFarmer UnitTypeSoldier UnitTypeDoctor UnitTypeProfessor UnitTypeRebel UnitTypeTeacher UnitTypeFisherman UnitTypeMiner UnitTypeLumberjack UnitTypeFactoryWorker UnitTypeProstitute UnitTypeMaid UnitTypeCook UnitTypeDockWorker UnitTypeSlobTourist UnitTypetAttendant UnitTypeBartender UnitTypeLaborer UnitTypeTeamster UnitTypeAthlete UnitTypePriest UnitTypePoliceman UnitTypeShopkeeper UnitTypeDispatcher UnitTypePitBoss UnitTypeBureaucrat UnitTypeGeneral UnitTypeEngineer UnitTypeBishop UnitTypeJournalist UnitTypeTourist UnitTypeunemployed UnitTypeStudent UnitTypeChild UnitTypeMother UnitTypeRetiree UnitTypeCow UnitTypeGoat UnitTypeCalf UnitTypeKid UnitTypeBird UnitTypeSmallPlane UnitTypeLargePlane UnitTypeBoat UnitTypeFreighter UnitTypeYacht UnitTypeGunboatUs UnitTypeGunboatRussia UnitTypeBaby ** The following are useful for determining bldgType (i.e. Condition BldgType=BldgTypeLumberMill) BldgTypeBarracks BldgTypeTenement BldgTypeSpa BldgTypeApartmentComplex BldgTypeLuxuryHouse1 BldgTypeBeachSite BldgTypeFoodProcessingPlant BldgTypeLumberMill BldgTypePool BldgTypeJewelryFactory BldgTypeFoundry BldgTypeTennisCourt BldgTypeOffShoreRig BldgTypeRumDistillery BldgTypeCigarFactory BldgTypeFountain BldgTypeFarm BldgTypeScenicOutlook BldgTypeTrailHead BldgTypeRanch BldgTypeGamingArea BldgTypeDummy BldgTypeLoggingCamp BldgTypeMine BldgTypeCheapHotel BldgTypehotel BldgTypeLuxuryHotel BldgTypeBordello BldgTypeCasino BldgTypePub BldgTypeNightClub BldgTypeRestaurant BldgTypeGourmetRestaurant BldgTypeSouvenirShop BldgTypeSmallGarden BldgTypeLargeGarden BldgTypeArchaelogicalSite BldgTypeSportsComplex BldgTypeFishingDockShack BldgTypePortShack BldgTypeAirport BldgTypeArmory BldgTypeConstructionOffice BldgTypeVehicleDepot BldgTypeNewspaper BldgTypeRadioStation BldgTypeTvStation BldgTypeBank BldgTypeGuardTower BldgTypePoliceStation BldgTypeForeignMilitaryBase BldgTypeElectricSubstation BldgTypePalace BldgTypeCustoms BldgTypeEmbassy BldgTypePrison BldgTypeElectricPowerPlant BldgTypeStatueMilitary BldgTypeStatueReligious BldgTypeHealthClinic BldgTypeHospital BldgTypeStatueNational BldgTypeMarketplace BldgTypeChurch BldgTypeCathedral BldgTypeHighSchool BldgTypeCollege BldgTypeShack1 BldgTypeShack2 BldgTypeShack3 BldgTypeShack4 BldgTypeHouse1 BldgTypeHouse2 BldgTypeHouse3 BldgTypeHouse4 BldgTypeLuxuryHouse2 BldgTypeLuxuryHouse3 BldgTypeBungalow1 BldgTypeBungalow2 BldgTypeBungalow3 BldgTypePlaza BldgTypeFarmhouse1 BldgTypeFarmhouse2 BldgTypeFarmhouse3 BldgTypeFarmhouse4 BldgTypeStatueFinancial BldgTypeStatueSocial BldgTypeAirportTower BldgTypeAirportTerminal BldgTypeAirportTarmacNorth BldgTypeAirportTarmacMiddle BldgTypeAirportTarmacSouth BldgTypePortPierNorth BldgTypePortPierEast BldgTypePortPierSouth BldgTypePortPierWest BldgTypePortNorth BldgTypePortEast BldgTypePortSouth BldgTypePortWest BldgTypeFishingDockPierNorth BldgTypeFishingDockPierEast BldgTypeFishingDockPierSouth BldgTypeFishingDockPierWest BldgTypeFishingDockOuterPiece BldgTypeFishingDockNorth BldgTypeFishingDockEast BldgTypeFishingDockSouth BldgTypeFishingDockWest BldgTypeBeachSiteWest BldgTypeBeachSiteWest BldgTypeBeachSiteWest BldgTypeBeachSiteWest BldgTypeLargeFountain