User Tools

Site Tools


scripting:reference:system_values

System Values

Here is the full current list of System Values:

Player Stats

These values give details about the player the current event is executing for.
For further details on each value, see the Player Stats Reference
$gPlayerID
$gPlayerTeam
$gPlayerLevel
$gPlayerKudos
$gPlayerFamily
$gPlayerCash
$gPlayerVehicle
$gPlayerFuel
$gPlayerNumJobs
$gPlayerCashSheckles
$gPlayerAge
$gPlayerFollowing
$gPlayerNumFollowers
$gPlayerKills
$gPlayerDeaths
$gPlayerRobocrowKills
$gPlayerRobocrowDeaths
$gPlayerCrowX
$gPlayerCrowY
$gPlayerIsMulti
$gPlayerHomeTownID
$gPlayerBirthTownID
$gPlayerItemCount
$gPlayerHealth
$gPlayerHunger
$gPlayerThirst
$gPlayerWellbeing
$gPlayerMaxHealth
$gPlayerNumSkills
$gPlayerNumDeaths
$gPlayerInventoryFree
$gPlayerInventoryUsed
$gPlayerRot
$gPlayerNetWorth

Player Location

$gPlayerX
$gPlayerY
$gPlayerWorldX
$gPlayerWorldY
$gNearestBuilding
$gNearestBuildingCode

Buildings

$gBuildingNum
$gBuildingAccessNum
$gBuildingScriptParam
$gBuildingX
$gBuildingY
$gBuildingCode
$gBuildingOwnerID
$gBuildingNumEmployees
$gBuildingMaxEmployees
$gBuildingSalePrice
$gBuildingWage
$gBuildingWorldX
$gBuildingWorldY
$gBuildingInvestment
$gBuildingEfficiency
$gBuildingScore
$gBuildingType
$gTargetBuildingNum
$gBuildingDamage
$gBuildingTeam
$gBuildingCapacity
$gBuildingSpaceRemaining

Server Status

$gServerTime
$gNumPlayersOnline
$gGameDay
$gGameTime
$gNumTowns
$gTotalMoneySupply
$gGlobalAverageWealth
$gNumAlive
$gEventWorldX
$gEventWorldY
$gClickX
$gClickY

Tasking interface

$gTaskItem1
$gTaskItem2
$gTaskItem3

Combat Players

$gKillerID
$gKilledID
$gTargetID

Player User-details

$gPlayerAuth
$gPlayerIsMember
$gPlayerUsage

Battle system

$gBattleScore
$gBattleStat1
$gBattleStat2
$gBattleStat3
$gBattleStat4

scripting/reference/system_values.txt · Last modified: 2020/02/04 13:36 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