Global

Global commands available simply using the Game prefix without needing to call a specific game system. For game system related commands, see Systems.

Game.AddDebugFact(fact)

circle-info

Adds a fact with the specified name to the game's FactDB. By default, this fact will be set to 1.

Game.AddDebugFact("factname", value)

Game.AddExp(stringType, stringVal)

Add experience in a field. Use the dictionary stringType to use.

Game.AddExp("Strength", 12345)

Game.AddItems(type, amount)

WIP

Game.AddPlayerStatPoolBonus(statPoolTypeString, bonusValueString, persistance, percentage)

WIP

Game.AddRecord(tweak)

WIP

Game.AddStatModifier(type, value, modType)

Game.AddStatModifier("CritChance", 100, "Additive")
circle-info

The first argument is the enum value from gamedataStatType, the second argument is a float value to apply to the stat (you can use negatives to negate or remove a buff you may have given yourself prior, like say to remove that above +100% crit chance, use -100). The third argument is from gameStatModifierType and can be Additive, AdditiveMultiplier or Multiplier.

Note: This isn't just used for the player, but for entities in general, so many values won't have any noticeable effect when applied to the player.

Game.AddToInventory(itemString, quantityString)

Add the itemString, by the number specified in quantityString.

For a list of items, you have

Example:

Game.AnimationSystemSetForcedVisibleFalseTest()

WIP

Game.AnimationSystemSetForcedVisibleTrueTest()

WIP

Game.AnimWrapperWeightSetterTest(keyStr, valueStr)

WIP

Game.APE(perk, level)

WIP

Game.ApplyDecayData(statPoolTypeString, rangeBeginString, rangeEndString, startDelayString, valuePerSecString, delayOnChangeString)

WIP

Game.ApplyDecayModifier(statPoolTypeString, statPoolModName)

WIP

Game.ApplyEffectOnNPC(effect)

Applies specified status effect to an NPC that the player is looking at within a reasonable range. Currently only Base Status Effects have been documented. Refer to the list of these effects in the Base Status Effects page.

circle-info

The desired effect must be passed as a string with it's effect type prepended. The example on display applies 'Bleeding' which is a 'BaseStatusEffect' effect type.

Game.ApplyEffectOnPlayer(effect)

Applies specified status effect to the player. Currently only Base Status Effects have been documented. Refer to the list of these effects in the Base Status Effects page.

circle-info

The desired effect must be passed as a string with it's effect type prepended. The example on display applies 'Burning' which is a 'BaseStatusEffect' effect type.

Game.ApplyGLP(value)

WIP

Game.ApplyRegenData(statPoolTypeString, rangeBeginString, rangeEndString, startDelayString, valuePerSecString, delayOnChangeString)

WIP

Game.ApplyRegenModifier(statPoolTypeString, statPoolModName)

WIP

Game.awacstest()

WIP

Game.BlockSwitchSeats(block)

WIP

Game.BreachAllNetworks(radius)

WIP

Game.BreachNearestAP()

WIP

Game.BreakEffectLoop()

WIP

Game.BuyAtt(stringType)

WIP

Game.BuyItem(item)

WIP

Game.BuyPerk(pString)

WIP

Game.CGLP()

WIP

Game.ChangeArea()

No effect currently.

Game.ChangeStatPoolVal(type, value, subtract, percentage)

WIP

Game.ChangeZoneIndicatorDanger()

Add AREA:HOSTILE indicator to the minimap

Game.ChangeZoneIndicatorPublic()

Remove any AREA indicator

Game.ChangeZoneIndicatorRestricted()

WIP

Game.ChangeZoneIndicatorSafe()

Add AREA:SAFE indicator to the minimap

Game.CheatExposeNPCQuickHacks()

WIP

Game.CheckFactValue(fact)

circle-info

Checks the value of a specified fact within the FactDB. Returns 0 if there is no fact found with the given name. A database of facts can be found herearrow-up-right.

Returns

Game.ClearEquipment()

Make the char naked and remove cyberwear

Game.CLS_off()

WIP

Game.CLS_on()

WIP

Game.CLS_reset()

WIP

Game.CreateDebugStimuli(stimType, activeStim)

WIP

Game.cset()

WIP

Game.DamagePlayer(TEMP_dmg, dmgType, percentage)

WIP

Game.DbgBraindanceIsActive()

Returns whether or not the player is in an active braindance sequence.

Returns

Game.DbgBraindanceIsPaused()

WIP

Game.DbgBraindancePlayDirection()

WIP

Game.DbgBraindancePlaySpeed()

WIP

Game.DbgBraindanceProgress()

WIP

Game.DbgBraindanceSetPlayDirection(direction)

WIP

Game.DbgBraindanceSetPlaySpeed(speed)

WIP

Game.DbgBraindanceTimeInSec()

WIP

Game.DbgDvs(shouldDebug)

WIP

Game.DD(shouldDebug)

WIP

Game.DebugDevices(shouldDebug)

WIP

Game.DebugNPC(durationStr)

WIP

Game.DebugNPCs(durationStr, radiusStr, moveWithPlayerStr)

WIP

Game.DebugReward(rewardDef)

WIP

Game.DebugSS(val)

WIP

Game.debug_AddLog()

WIP

Game.Debug_WeaponSpread(useCircularDistribution, useEvenDistribution, rowCount, projectilesPerShot)

WIP

Game.Debug_WeaponSpread_RandomCircular()

WIP

Game.Debug_WeaponSpread_RandomGrid()

WIP

Game.DecreaseGlobalTimeDilation()

WIP

Game.DecreasePlayerTimeDilation()

WIP

Game.DeleteEquipmentSet(setName)

WIP

Game.DemolitionUp()

Increase Annilation level by 1

Game.DespawnFlathead()

Despawns a previously spawned flathead bot. The bot itself is non-functional.

Game.DespawnPlayerVehicle(vehicleID)

WIP

Game.EffectorOff(record)

WIP

Game.EffectorOn(record)

WIP

Game.EffectorOnW(record)

WIP

Game.EnableAllPlayerVehicles()

Grants the player all ownable vehicles. This does not complete associated car purchase quests.

Game.EnableFinishers(enable)

WIP

Game.EnableQuickHacks(shouldEnable)

WIP

Game.EnableVehicleToggleSummonMode(value)

WIP

Game.EnterBD()

WIP

Game.EquipItem(itemTDBIDStr)

WIP

Game.EquipItemOnPlayer(item, slot)

Equips an item on the player in specified slot.

Game.EquipItemToHand(itemTDBIDStr)

WIP

Game.FastTravel_f(magicFloat)

WIP

Game.ForcedNPCDeath()

WIP

Game.ForceOutline(isGreen, opacity)

WIP

Game.gebs()

WIP

Game.GetAllPerks()

WIP

Game.GetJournalManager()

WIP

Game.GetTransactionSystem()

Return a regular handle. Can be used with player functions such as GiveItem

Game.GetItemInSlot(slotString)

WIP

Game.GetPlayer()

Used to get a strong handle on the player object and then using player functions.

Returns

A strong handle on the player object. Can be used with CreateHandle, described here, like the following:

Game.GetQuickhacks()

WIP

Game.GiveDevPoints(stringType, stringVal)

Give Attribute (stringType == "Attribute") or Perk (stringType == "Primary") points.

stringType "Secondary" exists, but is unknown.

Game.GiveItem(itemName, amountStr)

WIP

Game.God1()

WIP

Game.God2()

WIP

Game.GodClearAll()

WIP

Game.Heal(valStr, isScalarStr)

WIP

Game.HealAll(radiusStr)

WIP

Game.Hotkeys()

WIP

Game.HotkeysNOW()

WIP

Game.IDDQD(iamstiffcorpoguy)

WIP

Game.IncreaseGlobalTimeDilation()

WIP

Game.IncreasePlayerTimeDilation()

WIP

Game.InfiniteStamina(enable)

Pass true or false for infinite stamina.

Game.InstallProgram(part, slot)

WIP

Game.Kill()

WIP

Game.KillAll(radiusStr)

WIP

Game.KillEffect()

WIP

Game.LeaveBD()

WIP

Game.LevelUp()

WIP

Game.LoadEquipmentSet(setName)

WIP

Game.LogGender()

Returns

Game.LogPlayerPositionAndName()

Returns

Game.LookAtAdd(xStr, yStr, zStr, part)

WIP

Game.LookAtAddPlayerCameraSlot()

WIP

Game.LookAtAddPlayerCameraSlotWithHands()

WIP

Game.LookAtAddStaticLeftHand()

WIP

Game.LookAtAddWithOffset(xStr, yStr, zStr)

WIP

Game.ModifyDifficulty(stringDifficultyLevel)

WIP

Game.ModifyNPCStatPoolValue(statPoolTypeString, value, percentage)

WIP

Game.ModifyPlayerStatPoolValue(statPoolTypeString, value, percentage)

WIP

Game.ModStatPlayer(TEMP_stat, TEMP_val)

WIP

Game.ModStatTarget(TEMP_stat, TEMP_val)

WIP

Game.mwtest()

WIP

Game.NetrunnerTesting()

WIP

Game.Noslowmo()

WIP

Game.OP(modeStr)

WIP

Game.ParameterTest1(param1)

WIP

Game.ParameterTest5(param1, param2, param3, param4, param5)

WIP

Game.pindatatest()

Return test 5.

Game.PlayerSD()

WIP

Game.PlayRumble(presetName)

WIP

Game.PreviewDamage(value)

WIP

Game.PrevSys_active()

Gives the player one level of police heat.

Game.PrevSys_off()

Turns off the crime prevention system aka the cops.

Game.PrevSys_on()

Turns on the crime prevention system.

Game.PrevSys_safe()

WIP

Game.PrintAttributes()

Dump all attributes such as :

  • Armor

  • Stats by categories

Game.PrintCodex()

Not working

Game.PrintDPS()

WIP

Game.PrintEffectsOnNPC()

WIP

Game.PrintEffectsOnPlayer()

WIP

Game.PrintEquipment()

circle-info

Returns a list of all equipment currently equipped.

Returns

Game.PrintGodModeSources()

WIP

Game.PrintHealth()

Returns

Game.PrintItems()

Game.PrintItemsInSlots()

WIP

Game.printJ()

WIP

Game.printJ2()

WIP

Game.PrintNPCItemBySlot(slotName)

WIP

Game.PrintNPCItems()

WIP

Game.PrintPerks()

WIP

Game.PrintPlayerStat(TEMP_Type)

WIP

Game.PrintPlayerStatModifiers(type)

WIP

Game.PrintPlayerStats()

WIP

Game.PrintProfExpToNextLevel(stringProfType)

WIP

Game.PrintProfs()

WIP

Game.PrintStatsItem(itemName)

WIP

Game.PrintStatsPlayer()

WIP

Game.PrintStatsTarget()

WIP

Game.PrintStatTarget(statType)

WIP

Game.PrintTargetStats()

WIP

Game.printTracked()

WIP

Game.RagdollNPC(pushForce)

WIP

Game.RemoveEffectPlayer(effect)

Removed specified status effect from the player. See all current player status effects with the Game.PrintEffectsOnPlayer() function. Usage is identical to Game.ApplyEffectOnPlayer(). Currently only Base Status Effects have been documented. Refer to the list of these effects in the Base Status Effects page.

circle-info

The desired effect must be passed as a string with it's effect type prepended. The example on display applies 'Cloaked' which is a 'BaseStatusEffect' effect type.

Game.RemovePerk(pString)

WIP

Game.Rev()

WIP

Game.SaveArmorSet(setName)

WIP

Game.SaveWeaponSet(setName)

WIP

Game.SellItem(item)

WIP

Game.SetActionContext()

WIP

Game.SetAnimFloatOnTarget(floatValue)

WIP

Game.SetAtt(stringType, stringVal)

Set attribute to. Use the dictionary stringType to use.

Game.SetBreathingAll()

WIP

Game.SetBreathingHeavy()

WIP

Game.SetBreathingJohnny()

WIP

Game.SetBreathingLow()

WIP

Game.SetBreathingOff()

WIP

Game.SetBreathingSick()

WIP

Game.SetBuild(stringType)

WIP

Game.SetDebugFact(fact, value)

circle-info

Sets the value of a specified fact. A database of facts can be found herearrow-up-right.

Game.SetDebugSceneTierThreshold1()

WIP

Game.SetDebugSceneTierThreshold2()

WIP

Game.SetDebugSceneTierThreshold3()

WIP

Game.SetDefaultDecay(statPoolTypeString)

WIP

Game.SetDefaultRegen(statPoolTypeString)

WIP

Game.SetLevel(stringType, stringVal)

Set level in a field. Use the dictionary stringType to use.

Example

Game.SetQuestWeaponState(weaponState)

WIP

Game.SetRpgContext()

Remove everything from the player.

Game.SetTimeDilation(amount)

WIP

Game.SetZoneType(zoneType)

WIP

Game.SilenceWeapon(flag)

WIP

Game.Slowmo()

The game will be on slow motion, player and AI.

Game.SM()

WIP

Game.SpawnFlathead()

Spawn Flathead. It has no collision but it can die.

Game.SpawnLoot(loot)

WIP

Game.SpawnTestEffect()

WIP

Game.StreetCredUp()

WIP

Game.SwapItemPart()

WIP

Game.SwapPreset(mappingName)

WIP

Game.t1()

Add a recording overlay

Game.t2()

This function removes the recording overlay added by Game.t1(). It is unclear if there is any other effect.

Game.tconv()

Unknown.

Game.TeleportPlayerToPosition(xStr, yStr, zStr)

WIP

Game.TestCustomQuestNotification()

WIP

Game.TestDrop()

WIP

Game.TestForcePlayerInvisible(value)

WIP

Game.testLocationUpdate(value)

WIP

Game.testmapblocked()

WIP

Game.TestNavigationSystem()

WIP

Game.TestNotification()

WIP

Game.testq101done()

WIP

Game.test_group()

WIP

Game.test_inputhint()

WIP

Game.test_inputhint1()

WIP

Game.test_inputhint_clear()

WIP

Game.TEST_TargetImmortal(shouldSetStr)

WIP

Game.TEST_TargetInvulnerable(shouldSetStr)

WIP

Game.tmq()

WIP

Game.ToggleFlashlight(val)

WIP

Game.ToggleShowWeaponsStreaming()

No effect

Game.ToIntTest(toInt)

Return 100 if the parameter is not a number. Else the number +100

Game.trackNext()

WIP

Game.trackPrev()

WIP

Game.UnequipItem(stringType, stringSlot)

WIP

Game.UnlockAchievementEnum(achievementString)

WIP

Game.UnlockAchievementInt(achievementNum)

WIP

Game.UnlockAllAchievements()

WIP

Game.UnlockRecord(tweak)

WIP

Game.untrack()

WIP

Game.UploadProgram(programNumber)

WIP

Game.Weak(modeStr)

WIP

Game.WeaponSD()

WIP

Game.WorkspotDisableStateView(entId)

WIP

Game.WorkspotDisableVisualLog(entId)

WIP

Game.WorkspotEnableStateView(entId)

WIP

Game.WorkspotEnableVisualLog(entId)

WIP

WIP

Game['DebugNPCs_NonExec;GameInstanceStringStringString'](durationStr, radiusStr, moveWithPlayerStr)

WIP

WIP

WIP

WIP

WIP

WIP

Last updated