Atom Snippets: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Snippets file for Atom = Copy & paste the following code into your sSnippets file in Atom to add autocompletion for Off Grid's Lua API. (You might also want to make sure y...") |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= Snippets file for Atom = | = Snippets file for Atom = | ||
Copy & paste the following code into your | Copy & paste the following code into your Snippets file in Atom to add autocompletion for Off Grid's Lua API. | ||
(You might also want to make sure you have *language-lua* and *autocomplete-lua* packages installed) | (You might also want to make sure you have *language-lua* and *autocomplete-lua* and *starbound-linter-lua* packages installed) | ||
<syntaxhighlight source lang="coffeescript"> | <syntaxhighlight source lang="coffeescript"> | ||
'.source.lua': | '.source.lua': | ||
'AI.Pause': | |||
'prefix': 'AI.Pause' | |||
'body': 'AI.Pause(${0:characterName})' | |||
'description' : 'Pauses the agent, and stops it from doing anything.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#Pause' | |||
'AI.Unpause': | |||
'prefix': 'AI.Unpause' | |||
'body': 'AI.Unpause(${0:characterName})' | |||
'description' : 'Unpauses a hidden agent, resuming standard behaviour.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#Unpause' | |||
'AI.IsPaused': | |||
'prefix': 'AI.IsPaused' | |||
'body': 'AI.IsPaused(${0:characterName})' | |||
'description' : 'Returns a bool based on if a character is currently paused or not' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#IsPaused' | |||
'AI.AddTemporaryGoal': | |||
'prefix': 'AI.AddTemporaryGoal' | |||
'body': 'AI.AddTemporaryGoal(${0:characterName}, ${1:goal})' | |||
'description' : 'Adds a goal, taking top priority, to the named AI' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AddTemporaryGoal' | |||
'AI.AlterNPCMotivation': | 'AI.AlterNPCMotivation': | ||
Line 14: | Line 42: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AlterNPCMotivation' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AlterNPCMotivation' | ||
'AI.AlterNPCWorldState': | |||
'prefix': 'AI.AlterNPCWorldState' | |||
'body': 'AI.AlterNPCWorldState(${0:characterName}, ${1:state}, ${2:value})' | |||
'description' : 'Change the World State of an NPC.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AlterNPCWorldState' | |||
'AI.FavourInterest': | |||
'prefix': 'AI.FavourInterest' | |||
'body': 'AI.FavourInterest(${0:characterName}, ${1:device}, ${2:permanent})' | |||
'description' : 'Reduce the cost of an AI using a particular Interest' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#FavourInterest' | |||
'AI.AvoidInterest': | |||
'prefix': 'AI.AvoidInterest' | |||
'body': 'AI.AvoidInterest(${0:characterName}, ${1:device}, ${2:permanent})' | |||
'description' : 'Increase the cost of an AI using a particular Interest' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AvoidInterest' | |||
'AI.ChangeSubject': | |||
'prefix': 'AI.ChangeSubject' | |||
'body': 'AI.ChangeSubject(${0:characterName}, ${1:subject}, ${2:value})' | |||
'description' : 'Set the value of a particular subject, enabling Actions with Personality requirements' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#ChangeSubject' | |||
'AI.ReactTo': | |||
'prefix': 'AI.ReactTo' | |||
'body': 'AI.ReactTo(${0:characterName}, ${1:subject}, ${2:value})' | |||
'description' : 'Much like ChangeSubject, but instead of enabling Actions, this will alter stats within the Agent, modifying its WorldState (and as a result, enabling Actions)' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#ReactTo' | |||
'AI.CreateReactable': | 'AI.CreateReactable': | ||
Line 77: | Line 140: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#GetInt' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#GetInt' | ||
'Apps.RequestAppState': | |||
'prefix': 'Apps.RequestAppState' | |||
'body': 'Apps.RequestAppState(${0:appName}, ${1:newState})' | |||
'description' : 'Ask an App to change it\'s state' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#RequestAppState' | |||
'SetState': | |||
'prefix': 'SetState' | |||
'body': 'SetState(${0:newState})' | |||
'description' : 'Sets the App\'s state.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#SetState' | |||
'CreateStatusWindow': | |||
'prefix': 'CreateStatusWindow' | |||
'body': 'CreateStatusWindow()' | |||
'description' : 'Create the status window' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#CreateStatusWindow' | |||
'RemoveStatusWindow': | |||
'prefix': 'RemoveStatusWindow' | |||
'body': 'RemoveStatusWindow()' | |||
'description' : 'Remove this app\'s status window' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#RemoveStatusWindow' | |||
'DisplayStatusWindow': | |||
'prefix': 'DisplayStatusWindow' | |||
'body': 'DisplayStatusWindow(${0:enabled})' | |||
'description' : 'Show or hide the app\'s status window.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#DisplayStatusWindow' | |||
'UpdateStatusWindow': | |||
'prefix': 'UpdateStatusWindow' | |||
'body': 'UpdateStatusWindow(${0:text})' | |||
'description' : 'Update the text content of the app\'s status window' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#UpdateStatusWindow' | |||
'SetStatusIcon': | |||
'prefix': 'SetStatusIcon' | |||
'body': 'SetStatusIcon(${0:id})' | |||
'description' : 'Set the icon used for the app\'s status window' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#SetStatusIcon' | |||
'SetStatusIconColor': | |||
'prefix': 'SetStatusIconColor' | |||
'body': 'SetStatusIconColor(${0:color})' | |||
'description' : 'Set the color of the status window icon' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#SetStatusIconColor' | |||
'Color.RandomColor': | 'Color.RandomColor': | ||
Line 273: | Line 392: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Conversation_Lua_API#StartScript' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Conversation_Lua_API#StartScript' | ||
'DataPoints.GetAllDataPoints': | |||
'prefix': 'DataPoints.GetAllDataPoints' | |||
'body': 'DataPoints.GetAllDataPoints()' | |||
'description' : 'Return all the data points that are currently in the level' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetAllDataPoints' | |||
'DataPoints.GetObjectDataPoints': | |||
'prefix': 'DataPoints.GetObjectDataPoints' | |||
'body': 'DataPoints.GetObjectDataPoints(${0:objectName})' | |||
'description' : 'Return all the data points received by an object or a character ' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetObjectDataPoints' | |||
'DataPoints.FilterNetwork': | |||
'prefix': 'DataPoints.FilterNetwork' | |||
'body': 'DataPoints.FilterNetwork(${0:dataPoints}, ${1:networkName})' | |||
'description' : 'Filter data points with the network name' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#FilterNetwork' | |||
'DataPoints.FilterDataType': | |||
'prefix': 'DataPoints.FilterDataType' | |||
'body': 'DataPoints.FilterDataType(${0:dataPoints}, ${1:dataType})' | |||
'description' : 'Filter data points with the data type' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#FilterDataType' | |||
'DataPoints.DeleteDataPoints': | |||
'prefix': 'DataPoints.DeleteDataPoints' | |||
'body': 'DataPoints.DeleteDataPoints(${0:dataPoints})' | |||
'description' : 'Remove data points from the level' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#DeleteDataPoints' | |||
'DataPoints.GetData': | |||
'prefix': 'DataPoints.GetData' | |||
'body': 'DataPoints.GetData(${0:dataPoints})' | |||
'description' : 'Return all the data string from the given data points' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetData' | |||
'DataPoints.GetDataPointInfo': | |||
'prefix': 'DataPoints.GetDataPointInfo' | |||
'body': 'DataPoints.GetDataPointInfo(${0:dataPoints})' | |||
'description' : 'Return all the data info from the given data points' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetDataPointInfo' | |||
'DataPoints.PlayersInventorySave': | |||
'prefix': 'DataPoints.PlayersInventorySave' | |||
'body': 'DataPoints.PlayersInventorySave(${0:dataFile})' | |||
'description' : 'Save data info in the the players inventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#PlayersInventorySave' | |||
'DataPoints.PlayersInventoryRemove': | |||
'prefix': 'DataPoints.PlayersInventoryRemove' | |||
'body': 'DataPoints.PlayersInventoryRemove(${0:dataFile})' | |||
'description' : 'Save data info in the the players inventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#PlayersInventoryRemove' | |||
'Debug.ConnectToDevLaptop': | |||
'prefix': 'Debug.ConnectToDevLaptop' | |||
'body': 'Debug.ConnectToDevLaptop()' | |||
'description' : 'Open SSH connection to DevLaptop Device, if there\'s one in the level.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Debug_Lua_API#ConnectToDevLaptop' | |||
'Debug.ShowPlayerPath': | |||
'prefix': 'Debug.ShowPlayerPath' | |||
'body': 'Debug.ShowPlayerPath(${0:value})' | |||
'description' : 'ShowPlayerPath' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Debug_Lua_API#ShowPlayerPath' | |||
'Devices.SetPower': | 'Devices.SetPower': | ||
Line 280: | Line 476: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetPower' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetPower' | ||
'Devices.TogglePower': | |||
'prefix': 'Devices.TogglePower' | |||
'body': 'Devices.TogglePower(${0:deviceName})' | |||
'description' : 'Flip the powered on state of the device' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#TogglePower' | |||
'Devices.GetPower': | 'Devices.GetPower': | ||
Line 294: | Line 497: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetActive' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetActive' | ||
'Devices.ToggleActive': | |||
'prefix': 'Devices.ToggleActive' | |||
'body': 'Devices.ToggleActive(${0:deviceName})' | |||
'description' : 'Flip the active state of the device' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#ToggleActive' | |||
'Devices.GetActive': | 'Devices.GetActive': | ||
Line 315: | Line 525: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetAmok' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetAmok' | ||
'Devices.ToggleAmok': | |||
'prefix': 'Devices.ToggleAmok' | |||
'body': 'Devices.ToggleAmok(${0:deviceName})' | |||
'description' : 'Flip the amok state' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#ToggleAmok' | |||
'Devices.GetAmok': | 'Devices.GetAmok': | ||
Line 336: | Line 553: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetValue' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetValue' | ||
'Devices.GetDataInventory': | |||
'prefix': 'Devices.GetDataInventory' | |||
'body': 'Devices.GetDataInventory(${0:deviceName}, ${1:index})' | |||
'description' : 'Get the description of the data at this index in the DataInventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetDataInventory' | |||
'Devices.GetDataPointFromInventory': | |||
'prefix': 'Devices.GetDataPointFromInventory' | |||
'body': 'Devices.GetDataPointFromInventory(${0:deviceName}, ${1:index})' | |||
'description' : 'Get a table of useful data from the DataPoint at this index in the DataInventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetDataPointFromInventory' | |||
'Devices.GetDataInventoryCount': | |||
'prefix': 'Devices.GetDataInventoryCount' | |||
'body': 'Devices.GetDataInventoryCount(${0:deviceName})' | |||
'description' : 'Get the number of DataPoints in the DataInventory of this device' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetDataInventoryCount' | |||
'Doors.SetZoneKeys': | 'Doors.SetZoneKeys': | ||
Line 346: | Line 584: | ||
'Doors.SetNetwork': | 'Doors.SetNetwork': | ||
'prefix': 'Doors.SetNetwork' | 'prefix': 'Doors.SetNetwork' | ||
'body': 'Doors.SetNetwork(${0: | 'body': 'Doors.SetNetwork(${0:networkName})' | ||
'description' : 'Sets the name of the network for the door system to use' | 'description' : 'Sets the name of the network for the door system to use' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 353: | Line 591: | ||
'Doors.SetKeyOnDevice': | 'Doors.SetKeyOnDevice': | ||
'prefix': 'Doors.SetKeyOnDevice' | 'prefix': 'Doors.SetKeyOnDevice' | ||
'body': 'Doors.SetKeyOnDevice(${0:keyName}, ${1: | 'body': 'Doors.SetKeyOnDevice(${0:keyName}, ${1:deviceName})' | ||
'description' : 'Sets a key as the current NFC file on a net device' | 'description' : 'Sets a key as the current NFC file on a net device' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 360: | Line 598: | ||
'Doors.AssignKeyToCharacter': | 'Doors.AssignKeyToCharacter': | ||
'prefix': 'Doors.AssignKeyToCharacter' | 'prefix': 'Doors.AssignKeyToCharacter' | ||
'body': 'Doors.AssignKeyToCharacter(${0:keyName}, ${1: | 'body': 'Doors.AssignKeyToCharacter(${0:keyName}, ${1:character})' | ||
'description' : 'Adds a key to a characters inventory and sets it as the characters current NFC data' | 'description' : 'Adds a key to a characters inventory and sets it as the characters current NFC data' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#AssignKeyToCharacter' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#AssignKeyToCharacter' | ||
'Doors.Open': | |||
'prefix': 'Doors.Open' | |||
'body': 'Doors.Open(${0:doorID})' | |||
'description' : 'Open the specified door.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Open' | |||
'Doors.Close': | |||
'prefix': 'Doors.Close' | |||
'body': 'Doors.Close(${0:doorID})' | |||
'description' : 'close the specified door.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Close' | |||
'Doors.Unlock': | |||
'prefix': 'Doors.Unlock' | |||
'body': 'Doors.Unlock(${0:doorID})' | |||
'description' : 'Unlock the specified door' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Unlock' | |||
'Doors.Lock': | |||
'prefix': 'Doors.Lock' | |||
'body': 'Doors.Lock(${0:doorID})' | |||
'description' : 'Lock the specified door' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Lock' | |||
'Flutter.SendMessageFromCharacter': | |||
'prefix': 'Flutter.SendMessageFromCharacter' | |||
'body': 'Flutter.SendMessageFromCharacter(${0:message}, ${1:internalName})' | |||
'description' : 'Sends a custom FlutterMessage from NPC in current level' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SendMessageFromCharacter' | |||
'Flutter.SendRandomMessageFromCharacter': | |||
'prefix': 'Flutter.SendRandomMessageFromCharacter' | |||
'body': 'Flutter.SendRandomMessageFromCharacter(${0:internalName})' | |||
'description' : 'Sends a generated Flutter message from NPC in current level' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SendRandomMessageFromCharacter' | |||
'Flutter.SendRandomMessage': | |||
'prefix': 'Flutter.SendRandomMessage' | |||
'body': 'Flutter.SendRandomMessage()' | |||
'description' : 'Sends a generated Flutter message from generated random character' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SendRandomMessage' | |||
'Flutter.SetFlutterEnabled': | |||
'prefix': 'Flutter.SetFlutterEnabled' | |||
'body': 'Flutter.SetFlutterEnabled(${0:enabled})' | |||
'description' : 'Set Flutter app enabled or disabled.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SetFlutterEnabled' | |||
'GameProgress.GetValue': | 'GameProgress.GetValue': | ||
Line 402: | Line 696: | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#MissionCompleted' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#MissionCompleted' | ||
'Mission. | 'Mission.MissionFailed': | ||
'prefix': 'Mission. | 'prefix': 'Mission.MissionFailed' | ||
'body': 'Mission. | 'body': 'Mission.MissionFailed()' | ||
'description' : ' | 'description' : 'This function will fail the current mission, as if Joe had been tazed (or similar).' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API# | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#MissionFailed' | ||
'Mission. | 'Mission.SpawnCharacter': | ||
'prefix': 'Mission. | 'prefix': 'Mission.SpawnCharacter' | ||
'body': 'Mission. | 'body': 'Mission.SpawnCharacter(${0:internalName})' | ||
'description' : ' | 'description' : 'Spawn a registered character in the game' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API# | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SpawnCharacter' | ||
'Mission. | 'Mission.ObjectiveIsActive': | ||
'prefix': 'Mission. | 'prefix': 'Mission.ObjectiveIsActive' | ||
'body': 'Mission. | 'body': 'Mission.ObjectiveIsActive(${0:objectiveName})' | ||
'description' : ' | 'description' : 'Returns true if objective has been started but not completed yet.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API# | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#ObjectiveIsActive' | ||
'Mission. | 'Mission.ObjectiveIsCompleted': | ||
'prefix': 'Mission. | 'prefix': 'Mission.ObjectiveIsCompleted' | ||
'body': 'Mission. | 'body': 'Mission.ObjectiveIsCompleted(${0:objectiveName})' | ||
'description' : ' | 'description' : 'Returns true if objective has been completed.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API# | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#ObjectiveIsCompleted' | ||
'Mission.StartObjective': | 'Mission.StartObjective': | ||
'prefix': 'Mission.StartObjective' | 'prefix': 'Mission.StartObjective' | ||
'body': 'Mission.StartObjective(${0: | 'body': 'Mission.StartObjective(${0:objectiveName})' | ||
'description' : 'Start the provided objective' | 'description' : 'Start the provided objective' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 474: | Line 733: | ||
'Mission.CompleteObjective': | 'Mission.CompleteObjective': | ||
'prefix': 'Mission.CompleteObjective' | 'prefix': 'Mission.CompleteObjective' | ||
'body': 'Mission.CompleteObjective(${0: | 'body': 'Mission.CompleteObjective(${0:objectiveName})' | ||
'description' : 'Complete the provided objective' | 'description' : 'Complete the provided objective' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#CompleteObjective' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#CompleteObjective' | ||
'Mission.GetCurrentObjective': | 'Mission.GetCurrentObjective': | ||
Line 503: | Line 748: | ||
'prefix': 'Mission.TriggerAutoSave' | 'prefix': 'Mission.TriggerAutoSave' | ||
'body': 'Mission.TriggerAutoSave()' | 'body': 'Mission.TriggerAutoSave()' | ||
'description' : 'Triggers an autosave, only if' | 'description' : 'Triggers an autosave, only if the game is current in a mission' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#TriggerAutoSave' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#TriggerAutoSave' | ||
'Mission.DevicesConnected': | |||
'prefix': 'Mission.DevicesConnected' | |||
'body': 'Mission.DevicesConnected()' | |||
'description' : 'Call this AFTER all Devices have been connected to their networks. This allows DataPoints to be processed correctly.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#DevicesConnected' | |||
'Mission.SetPlayerControlled': | |||
'prefix': 'Mission.SetPlayerControlled' | |||
'body': 'Mission.SetPlayerControlled(${0:tf})' | |||
'description' : 'Set whether the player is currently in control (or not). Used for cutscenes, and other things that we haven\'t thought of yet.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetPlayerControlled' | |||
'Mission.GetBool': | |||
'prefix': 'Mission.GetBool' | |||
'body': 'Mission.GetBool(${0:key})' | |||
'description' : 'Get a boolean value of a key in mission Lua script. Returns false if key doesn\'t exist.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#GetBool' | |||
'Mission.SetBool': | |||
'prefix': 'Mission.SetBool' | |||
'body': 'Mission.SetBool(${0:key}, ${1:newBool})' | |||
'description' : 'Sets a boolean value of a key in mission Lua script.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetBool' | |||
'Mission.GetString': | |||
'prefix': 'Mission.GetString' | |||
'body': 'Mission.GetString(${0:key})' | |||
'description' : 'Get a string value of a key in mission Lua script. Returns empty if key doesn\'t exist.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#GetString' | |||
'Mission.SetString': | |||
'prefix': 'Mission.SetString' | |||
'body': 'Mission.SetString(${0:key}, ${1:newString})' | |||
'description' : 'Sets a string value of a key in mission Lua script.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetString' | |||
'Mission.GetNumber': | |||
'prefix': 'Mission.GetNumber' | |||
'body': 'Mission.GetNumber(${0:key})' | |||
'description' : 'Get a numeric value of a key in mission Lua script. Returns 0 if key doesn\'t exist.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#GetNumber' | |||
'Mission.SetNumber': | |||
'prefix': 'Mission.SetNumber' | |||
'body': 'Mission.SetNumber(${0:key}, ${1:newValue})' | |||
'description' : 'Sets a numeric value of a key in mission Lua script.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetNumber' | |||
'Mission.StartVibrationEvent': | |||
'prefix': 'Mission.StartVibrationEvent' | |||
'body': 'Mission.StartVibrationEvent(${0:objectName})' | |||
'description' : 'Start a mission object vibration event' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#StartVibrationEvent' | |||
'Mission.StopVibrationEvent': | |||
'prefix': 'Mission.StopVibrationEvent' | |||
'body': 'Mission.StopVibrationEvent(${0:objectName})' | |||
'description' : 'Stop a mission object vibration event' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#StopVibrationEvent' | |||
'Network.CreateDataPoint': | 'Network.CreateDataPoint': | ||
'prefix': 'Network.CreateDataPoint' | 'prefix': 'Network.CreateDataPoint' | ||
'body': 'Network.CreateDataPoint(${0: | 'body': 'Network.CreateDataPoint(${0:internalName}, ${1:dataTable}, ${2:locationObject}, ${3:characterName}, ${4:networkName})' | ||
'description' : 'Create a DataPoint in a specific place, from a specific character, with pre filled in data.' | 'description' : 'Create a DataPoint in a specific place, from a specific character, with pre filled in data.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#CreateDataPoint' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#CreateDataPoint' | ||
'Network.ConnectToNetwork': | |||
'prefix': 'Network.ConnectToNetwork' | |||
'body': 'Network.ConnectToNetwork(${0:connector}, ${1:targetNetwork}, ${2:accessKey})' | |||
'description' : 'Connect a device (or a table of devices) to a specified network' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#ConnectToNetwork' | |||
'Network.SendData': | |||
'prefix': 'Network.SendData' | |||
'body': 'Network.SendData(${0:internalName}, ${1:dataTable}, ${2:sender}, ${3:receiver})' | |||
'description' : 'Send a data file from one device to another' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#SendData' | |||
'Network.SetNetDeviceNFCData': | |||
'prefix': 'Network.SetNetDeviceNFCData' | |||
'body': 'Network.SetNetDeviceNFCData(${0:internalName}, ${1:dataTable}, ${2:deviceTable})' | |||
'description' : 'Sets NFC data on a mission object' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#SetNetDeviceNFCData' | |||
'Network.SetNetDeviceNFC': | |||
'prefix': 'Network.SetNetDeviceNFC' | |||
'body': 'Network.SetNetDeviceNFC(${0:deviceName}, ${1:enabled})' | |||
'description' : 'Set if a mission object supports NFCAddNetDevice' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#SetNetDeviceNFC' | |||
'Noise.Emit': | |||
'prefix': 'Noise.Emit' | |||
'body': 'Noise.Emit(${0:deviceName}, ${1:noiseTable})' | |||
'description' : 'Emits a noise from deviceName with attributes in noiseTable' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Noise_Lua_API#Emit' | |||
'Noise.Silence': | |||
'prefix': 'Noise.Silence' | |||
'body': 'Noise.Silence(${0:deviceName}, ${1:noiseTable})' | |||
'description' : 'Silences the noise' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Noise_Lua_API#Silence' | |||
'Particles.Play': | 'Particles.Play': | ||
Line 558: | Line 915: | ||
'Player.AddItemToInventory': | 'Player.AddItemToInventory': | ||
'prefix': 'Player.AddItemToInventory' | 'prefix': 'Player.AddItemToInventory' | ||
'body': 'Player.AddItemToInventory(${0: | 'body': 'Player.AddItemToInventory(${0:itemName})' | ||
'description' : 'Adds an item to the players inventory' | 'description' : 'Adds an item to the players inventory (silently, wihtout a notification. Also check Mission.SendData() ).' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddItemToInventory' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddItemToInventory' | ||
Line 565: | Line 922: | ||
'Player.RemoveItemFromInventory': | 'Player.RemoveItemFromInventory': | ||
'prefix': 'Player.RemoveItemFromInventory' | 'prefix': 'Player.RemoveItemFromInventory' | ||
'body': 'Player.RemoveItemFromInventory(${0: | 'body': 'Player.RemoveItemFromInventory(${0:itemName})' | ||
'description' : 'Removes an item to the players inventory' | 'description' : 'Removes an item to the players inventory' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 586: | Line 943: | ||
'Player.SetPlayerNFCData': | 'Player.SetPlayerNFCData': | ||
'prefix': 'Player.SetPlayerNFCData' | 'prefix': 'Player.SetPlayerNFCData' | ||
'body': 'Player.SetPlayerNFCData(${0:dataTable})' | 'body': 'Player.SetPlayerNFCData(${0:internalName}, ${1:dataTable})' | ||
'description' : 'Sets the NFC data on the players phone' | 'description' : 'Sets the NFC data on the players phone' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 593: | Line 950: | ||
'Player.AddDataFile': | 'Player.AddDataFile': | ||
'prefix': 'Player.AddDataFile' | 'prefix': 'Player.AddDataFile' | ||
'body': 'Player.AddDataFile(${0:dataTable})' | 'body': 'Player.AddDataFile(${0:internalName}, ${1:dataTable})' | ||
'description' : 'Adds a data file directly to the players data inventory without a sender' | 'description' : 'Adds a data file directly to the players data inventory without a sender' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 646: | Line 1,003: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetDataString' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetDataString' | ||
'Player.GetAllDataFileNames': | |||
'prefix': 'Player.GetAllDataFileNames' | |||
'body': 'Player.GetAllDataFileNames()' | |||
'description' : 'Return internalNames of all files in the players data inventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetAllDataFileNames' | |||
'Player.GetAllDataFiles': | |||
'prefix': 'Player.GetAllDataFiles' | |||
'body': 'Player.GetAllDataFiles()' | |||
'description' : 'Return a table of all files in the players data inventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetAllDataFiles' | |||
'Player.SendData': | |||
'prefix': 'Player.SendData' | |||
'body': 'Player.SendData(${0:internalName}, ${1:receiver})' | |||
'description' : 'Send a file from player\'s inventory to receiver' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SendData' | |||
'Player.GetSocialProfileSize': | |||
'prefix': 'Player.GetSocialProfileSize' | |||
'body': 'Player.GetSocialProfileSize(${0:internalName})' | |||
'description' : 'Returns the size of the background profile player has collected about a character' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetSocialProfileSize' | |||
'Player.SocialProfileContainsTag': | |||
'prefix': 'Player.SocialProfileContainsTag' | |||
'body': 'Player.SocialProfileContainsTag(${0:internalName}, ${1:tag})' | |||
'description' : 'Returns true if social profile contains any character data with specified tag' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SocialProfileContainsTag' | |||
'Player.SocialProfileContainsTagData': | |||
'prefix': 'Player.SocialProfileContainsTagData' | |||
'body': 'Player.SocialProfileContainsTagData(${0:internalName}, ${1:tag}, ${2:data})' | |||
'description' : 'Returns true if social profile contains character data matching both tag and data' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SocialProfileContainsTagData' | |||
'Player.SocialProfileContainsData': | |||
'prefix': 'Player.SocialProfileContainsData' | |||
'body': 'Player.SocialProfileContainsData(${0:internalName}, ${1:data})' | |||
'description' : 'Returns true if social profile contains specified character data (regardless of it\'s tag)' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SocialProfileContainsData' | |||
'Player.AddSocialProfileInformation': | |||
'prefix': 'Player.AddSocialProfileInformation' | |||
'body': 'Player.AddSocialProfileInformation(${0:internalName}, ${1:tag}, ${2:data})' | |||
'description' : 'Add new background data about a character to SocialInventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddSocialProfileInformation' | |||
'Player.GetSocialProfileInformation': | |||
'prefix': 'Player.GetSocialProfileInformation' | |||
'body': 'Player.GetSocialProfileInformation(${0:internalName})' | |||
'description' : 'Get all known background data about a character from player\'s SocialInventory' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetSocialProfileInformation' | |||
'Player.GetPlayerTrackingState': | |||
'prefix': 'Player.GetPlayerTrackingState' | |||
'body': 'Player.GetPlayerTrackingState()' | |||
'description' : 'Get current tracking state from Player\'s phone.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetPlayerTrackingState' | |||
'Player.GetNetPointsCount': | |||
'prefix': 'Player.GetNetPointsCount' | |||
'body': 'Player.GetNetPointsCount()' | |||
'description' : 'Get current amount of NetPoints the player has.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetNetPointsCount' | |||
'Player.SetNetPointsCount': | |||
'prefix': 'Player.SetNetPointsCount' | |||
'body': 'Player.SetNetPointsCount(${0:count})' | |||
'description' : 'Set player\'s NetPoints count.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetNetPointsCount' | |||
'Player.AddNetPoints': | |||
'prefix': 'Player.AddNetPoints' | |||
'body': 'Player.AddNetPoints(${0:count})' | |||
'description' : 'Add more NetPoints to player' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddNetPoints' | |||
'Player.RemoveNetPoints': | |||
'prefix': 'Player.RemoveNetPoints' | |||
'body': 'Player.RemoveNetPoints(${0:count})' | |||
'description' : 'Take NetPOintsa from player.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#RemoveNetPoints' | |||
'Player.GetName': | 'Player.GetName': | ||
Line 653: | Line 1,108: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetName' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetName' | ||
'Player.GetLightLevel': | |||
'prefix': 'Player.GetLightLevel' | |||
'body': 'Player.GetLightLevel()' | |||
'description' : 'Get the light level around the player' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetLightLevel' | |||
'Player.SetAlwaysRagdoll': | 'Player.SetAlwaysRagdoll': | ||
Line 667: | Line 1,129: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetInvisible' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetInvisible' | ||
'Scheduler.CallInSecsReal': | 'Scheduler.CallInSecsReal': | ||
Line 681: | Line 1,136: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Scheduler_Lua_API#CallInSecsReal' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Scheduler_Lua_API#CallInSecsReal' | ||
'Scheduler.CallInSecs': | |||
'prefix': 'Scheduler.CallInSecs' | |||
'body': 'Scheduler.CallInSecs(${0:func}, ${1:timeInSecs})' | |||
'description' : 'Schedule a lua function to be called in timeInSecs scaled time' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Scheduler_Lua_API#CallInSecs' | |||
'Scheduler.CallAtTime': | |||
'prefix': 'Scheduler.CallAtTime' | |||
'body': 'Scheduler.CallAtTime(${0:func}, ${1:dateTimeString})' | |||
'description' : 'Schedule a lua function to be called at specific time (defined by a date/time string)' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Scheduler_Lua_API#CallAtTime' | |||
'Sound.TriggerEvent': | 'Sound.TriggerEvent': | ||
Line 689: | Line 1,158: | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Sound_Lua_API#TriggerEvent' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Sound_Lua_API#TriggerEvent' | ||
' | 'Sound.SetRTPC': | ||
'prefix': ' | 'prefix': 'Sound.SetRTPC' | ||
'body': ' | 'body': 'Sound.SetRTPC(${0:sourceName}, ${1:RTPCName}, ${2:value})' | ||
'description' : 'Set Real-Time Parameter Curve for an audio event playign on this object' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Sound_Lua_API#SetRTPC' | |||
'Spectrum.DeleteDataPoint': | |||
'prefix': 'Spectrum.DeleteDataPoint' | |||
'body': 'Spectrum.DeleteDataPoint(${0:dataPoint})' | |||
'description' : 'Deletes the passed in data point' | 'description' : 'Deletes the passed in data point' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title= | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#DeleteDataPoint' | ||
' | 'Spectrum.SaveDataPoint': | ||
'prefix': ' | 'prefix': 'Spectrum.SaveDataPoint' | ||
'body': ' | 'body': 'Spectrum.SaveDataPoint(${0:dataPoint})' | ||
'description' : 'Saves currently targeted data point to the players data inventory' | 'description' : 'Saves currently targeted data point to the players data inventory' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title= | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#SaveDataPoint' | ||
'Spectrum.FilterClear': | |||
'prefix': 'Spectrum.FilterClear' | |||
'body': 'Spectrum.FilterClear()' | |||
'description' : 'Clear the Filter' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterClear' | |||
'Spectrum.FilterType (int, bool)': | |||
'prefix': 'Spectrum.FilterType (int, bool)' | |||
'body': 'Spectrum.FilterType (int, bool)(${0:t}, ${1:on})' | |||
'description' : 'Filter which types of Data Spectrum shows' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterType (int, bool)' | |||
'Spectrum.FilterCreator': | |||
'prefix': 'Spectrum.FilterCreator' | |||
'body': 'Spectrum.FilterCreator(${0:creator})' | |||
'description' : 'Shows only Data from the Creator of the specified DataPoint. Pass nil to clear' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterCreator' | |||
'Spectrum.FilterNetwork': | |||
'prefix': 'Spectrum.FilterNetwork' | |||
'body': 'Spectrum.FilterNetwork(${0:network})' | |||
'description' : 'Shows only Data from the Network of the specified DataPoint. Pass nil to clear' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterNetwork' | |||
'Timeline.Play': | |||
'prefix': 'Timeline.Play' | |||
'body': 'Timeline.Play(${0:missionObjectName})' | |||
'description' : 'Starts the timeline' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#Play' | |||
'Timeline.Pause': | |||
'prefix': 'Timeline.Pause' | |||
'body': 'Timeline.Pause(${0:missionObjectName})' | |||
'description' : 'Pauses the timeline' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#Pause' | |||
'Timeline.Stop': | |||
'prefix': 'Timeline.Stop' | |||
'body': 'Timeline.Stop(${0:missionObjectName})' | |||
'description' : 'Stops the timeline' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#Stop' | |||
'Timeline.SetDynamicCameraTarget': | |||
'prefix': 'Timeline.SetDynamicCameraTarget' | |||
'body': 'Timeline.SetDynamicCameraTarget(${0:missionObjectName}, ${1:targetName})' | |||
'description' : 'Sets the look at & follow target for all dynamically targeted cameras in the timeline' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#SetDynamicCameraTarget' | |||
'UI.ToggleClock': | 'UI.ToggleClock': | ||
'prefix': 'UI.ToggleClock' | 'prefix': 'UI.ToggleClock' | ||
'body': 'UI.ToggleClock()' | 'body': 'UI.ToggleClock(${0:state})' | ||
'description' : 'Toggles the clock hud element' | 'description' : 'Toggles the clock hud element' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 712: | Line 1,244: | ||
'UI.ToggleWeather': | 'UI.ToggleWeather': | ||
'prefix': 'UI.ToggleWeather' | 'prefix': 'UI.ToggleWeather' | ||
'body': 'UI.ToggleWeather()' | 'body': 'UI.ToggleWeather(${0:state})' | ||
'description' : 'Toggles the weather hud element' | 'description' : 'Toggles the weather hud element' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleWeather' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleWeather' | ||
'UI. | 'UI.SetDataViewState': | ||
'prefix': 'UI. | 'prefix': 'UI.SetDataViewState' | ||
'body': 'UI. | 'body': 'UI.SetDataViewState(${0:state})' | ||
'description' : 'Sets the state of the data view' | |||
'description' : ' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API# | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#SetDataViewState' | ||
'UI.ToggleDebugUI': | 'UI.ToggleDebugUI': | ||
'prefix': 'UI.ToggleDebugUI' | 'prefix': 'UI.ToggleDebugUI' | ||
'body': 'UI.ToggleDebugUI()' | 'body': 'UI.ToggleDebugUI(${0:state})' | ||
'description' : 'Toggles the developer debug UI' | 'description' : 'Toggles the developer debug UI' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleDebugUI' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleDebugUI' | ||
'UI.OpenRemoteConnection': | 'UI.OpenRemoteConnection': | ||
'prefix': 'UI.OpenRemoteConnection' | 'prefix': 'UI.OpenRemoteConnection' | ||
'body': 'UI.OpenRemoteConnection()' | 'body': 'UI.OpenRemoteConnection(${0:missionObject})' | ||
'description' : 'Opens SSH connection to currently targeted device' | 'description' : 'Opens SSH connection to currently targeted device' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#OpenRemoteConnection' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#OpenRemoteConnection' | ||
'UI. | 'UI.SetRadialScanState': | ||
'prefix': 'UI. | 'prefix': 'UI.SetRadialScanState' | ||
'body': 'UI. | 'body': 'UI.SetRadialScanState(${0:shouldScan})' | ||
'description' : ' | 'description' : 'Control if the radial menu should be scanning for targets' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API# | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#SetRadialScanState' | ||
'UI.ToggleUIMarkers': | 'UI.ToggleUIMarkers': | ||
'prefix': 'UI.ToggleUIMarkers' | 'prefix': 'UI.ToggleUIMarkers' | ||
'body': 'UI.ToggleUIMarkers()' | 'body': 'UI.ToggleUIMarkers(${0:state})' | ||
'description' : 'Show/Hide UI markers for hackable and interactable objects near the player.' | 'description' : 'Show/Hide UI markers for hackable and interactable objects near the player.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleUIMarkers' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleUIMarkers' | ||
'UI.ShowHint': | |||
'prefix': 'UI.ShowHint' | |||
'body': 'UI.ShowHint(${0:message}, ${1:timeout})' | |||
'description' : 'Displays a hint message. Multiple messages will stack on screen but don\'t go too crazy...' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowHint' | |||
'UI.ShowModalMessage': | 'UI.ShowModalMessage': | ||
Line 786: | Line 1,304: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowPopUp' | 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowPopUp' | ||
'UI.ShowNotification': | |||
'prefix': 'UI.ShowNotification' | |||
'body': 'UI.ShowNotification(${0:type}, ${1:header}, ${2:message}, ${3:timeout})' | |||
'description' : 'Displays a notification pop up in the top right corner of the screen' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowNotification' | |||
'DataType.Generic': | |||
'prefix': 'DataType.Generic' | |||
'body': 'DataType.Generic' | |||
'description' : 'Any random data. Who knows, could be anything.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.Text': | |||
'prefix': 'DataType.Text' | |||
'body': 'DataType.Text' | |||
'description' : 'Plain text or rich text content.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.SMS': | |||
'prefix': 'DataType.SMS' | |||
'body': 'DataType.SMS' | |||
'description' : 'SMS. Don\'t use this! Legacy stuff.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.Image': | |||
'prefix': 'DataType.Image' | |||
'body': 'DataType.Image' | |||
'description' : 'Image file. We\'ll try to display this for you in the File Viewer.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.Audio': | |||
'prefix': 'DataType.Audio' | |||
'body': 'DataType.Audio' | |||
'description' : 'Audio file. There\'s no viewer for these yet.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.Video': | |||
'prefix': 'DataType.Video' | |||
'body': 'DataType.Video' | |||
'description' : 'Video file. There\'s no viewer for these yet.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.Location': | |||
'prefix': 'DataType.Location' | |||
'body': 'DataType.Location' | |||
'description' : 'Location data. just the coordinates, no much use apart from being a location marker in level' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.Key': | |||
'prefix': 'DataType.Key' | |||
'body': 'DataType.Key' | |||
'description' : 'PGP key. For encryption, device/lock access etc.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'DataType.UUID': | |||
'prefix': 'DataType.UUID' | |||
'body': 'DataType.UUID' | |||
'description' : 'Generic identifier for something.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'MissionObjectType.Trigger': | 'MissionObjectType.Trigger': | ||
Line 818: | Line 1,406: | ||
'prefix': 'MissionObjectType.Generic' | 'prefix': 'MissionObjectType.Generic' | ||
'body': 'MissionObjectType.Generic' | 'body': 'MissionObjectType.Generic' | ||
'description' : '' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'MissionObjectType.Deprecated': | |||
'prefix': 'MissionObjectType.Deprecated' | |||
'body': 'MissionObjectType.Deprecated' | |||
'description' : '' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'MissionObjectType.Timeline': | |||
'prefix': 'MissionObjectType.Timeline' | |||
'body': 'MissionObjectType.Timeline' | |||
'description' : '' | 'description' : '' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 850: | Line 1,452: | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'AppState.unavailable': | ||
'prefix': ' | 'prefix': 'AppState.unavailable' | ||
'body': ' | 'body': 'AppState.unavailable' | ||
'description' : ' | 'description' : 'The player doesn\'t have this app yet.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'AppState.disabled': | |||
'prefix': 'AppState.disabled' | |||
'body': 'AppState.disabled' | |||
'description' : 'App can\'t be used at the moment, for example no network connection' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'AppState.off': | |||
'prefix': 'AppState.off' | |||
'body': 'AppState.off' | |||
'description' : 'App is not doing anything' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'AppState.on': | |||
'prefix': 'AppState.on' | |||
'body': 'AppState.on' | |||
'description' : 'App is switched on and running in the background' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'AppState.alert': | |||
'prefix': 'AppState.alert' | |||
'body': 'AppState.alert' | |||
'description' : 'App displays alert to notify the player about something.' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'AppMenuState.any': | |||
'prefix': 'AppMenuState.any' | |||
'body': 'AppMenuState.any' | |||
'description' : 'Allowed in any of configuration' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'AppMenuState.never': | |||
'prefix': 'AppMenuState.never' | |||
'body': 'AppMenuState.never' | |||
'description' : 'Never allowed in the selected menu' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | |||
'descriptionMoreURL' : '' | |||
'AppMenuState.always': | |||
'prefix': 'AppMenuState.always' | |||
'body': 'AppMenuState.always' | |||
'description' : 'Always in the selected menu' | |||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'AppMenuState.byDefault': | ||
'prefix': ' | 'prefix': 'AppMenuState.byDefault' | ||
'body': ' | 'body': 'AppMenuState.byDefault' | ||
'description' : ' | 'description' : 'In the selected menu by default' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'AppMenuState.target': | ||
'prefix': ' | 'prefix': 'AppMenuState.target' | ||
'body': ' | 'body': 'AppMenuState.target' | ||
'description' : ' | 'description' : 'Will be in the radial menu when its target types are selected' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'TrackingStates.off': | ||
'prefix': ' | 'prefix': 'TrackingStates.off' | ||
'body': ' | 'body': 'TrackingStates.off' | ||
'description' : '' | 'description' : 'Not connected to SPECTRUM.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'TrackingStates.tracking': | ||
'prefix': ' | 'prefix': 'TrackingStates.tracking' | ||
'body': ' | 'body': 'TrackingStates.tracking' | ||
'description' : '' | 'description' : 'Connected to SPECTRUM.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'TrackingStates.alert': | ||
'prefix': ' | 'prefix': 'TrackingStates.alert' | ||
'body': ' | 'body': 'TrackingStates.alert' | ||
'description' : '' | 'description' : 'Connected to SPECTRUM, almost out of time.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'TrackingStates.overtime': | ||
'prefix': ' | 'prefix': 'TrackingStates.overtime' | ||
'body': ' | 'body': 'TrackingStates.overtime' | ||
'description' : '' | 'description' : 'Connected to SPECTRUM, over time, restricted to minimum range' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'TrackingStates.cooldown': | ||
'prefix': ' | 'prefix': 'TrackingStates.cooldown' | ||
'body': ' | 'body': 'TrackingStates.cooldown' | ||
'description' : '' | 'description' : 'Disconnected from SPECTRUM, recovering.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'TrackingStates.unlimited': | ||
'prefix': ' | 'prefix': 'TrackingStates.unlimited' | ||
'body': ' | 'body': 'TrackingStates.unlimited' | ||
'description' : '' | 'description' : 'Unlimited connection. Cheater.' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NetworkType.mobile': | ||
'prefix': ' | 'prefix': 'NetworkType.mobile' | ||
'body': ' | 'body': 'NetworkType.mobile' | ||
'description' : '' | 'description' : 'Mobile network (4G)- This will mainly just contain mobile phone devices' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NetworkType.wifi': | ||
'prefix': ' | 'prefix': 'NetworkType.wifi' | ||
'body': ' | 'body': 'NetworkType.wifi' | ||
'description' : '' | 'description' : 'Wifi networks will be the most common, and will contain all sorts of devices' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NetworkType.mesh': | ||
'prefix': ' | 'prefix': 'NetworkType.mesh' | ||
'body': ' | 'body': 'NetworkType.mesh' | ||
'description' : '' | 'description' : 'Mesh networks are mainly set up as part of a storyline' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NetworkType.nfc': | ||
'prefix': ' | 'prefix': 'NetworkType.nfc' | ||
'body': ' | 'body': 'NetworkType.nfc' | ||
'description' : '' | 'description' : '' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
Line 976: | Line 1,627: | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NotificationType.sms': | ||
'prefix': ' | 'prefix': 'NotificationType.sms' | ||
'body': ' | 'body': 'NotificationType.sms' | ||
'description' : '' | 'description' : '' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NotificationType.generic': | ||
'prefix': ' | 'prefix': 'NotificationType.generic' | ||
'body': ' | 'body': 'NotificationType.generic' | ||
'description' : '' | 'description' : 'Generic notification' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NotificationType.message': | ||
'prefix': ' | 'prefix': 'NotificationType.message' | ||
'body': ' | 'body': 'NotificationType.message' | ||
'description' : '' | 'description' : 'Communicatiosn message' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NotificationType.download': | ||
'prefix': ' | 'prefix': 'NotificationType.download' | ||
'body': ' | 'body': 'NotificationType.download' | ||
'description' : '' | 'description' : 'Receicing files' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NotificationType.newObjective': | ||
'prefix': ' | 'prefix': 'NotificationType.newObjective' | ||
'body': ' | 'body': 'NotificationType.newObjective' | ||
'description' : ' | 'description' : '' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
' | 'NotificationType.completedObjective': | ||
'prefix': ' | 'prefix': 'NotificationType.completedObjective' | ||
'body': ' | 'body': 'NotificationType.completedObjective' | ||
'description' : ' | 'description' : '' | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
Line 1,073: | Line 1,703: | ||
'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' | ||
'descriptionMoreURL' : '' | 'descriptionMoreURL' : '' | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 13:52, 23 July 2020
Snippets file for Atom
Copy & paste the following code into your Snippets file in Atom to add autocompletion for Off Grid's Lua API.
(You might also want to make sure you have *language-lua* and *autocomplete-lua* and *starbound-linter-lua* packages installed)
'.source.lua': 'AI.Pause': 'prefix': 'AI.Pause' 'body': 'AI.Pause(${0:characterName})' 'description' : 'Pauses the agent, and stops it from doing anything.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#Pause' 'AI.Unpause': 'prefix': 'AI.Unpause' 'body': 'AI.Unpause(${0:characterName})' 'description' : 'Unpauses a hidden agent, resuming standard behaviour.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#Unpause' 'AI.IsPaused': 'prefix': 'AI.IsPaused' 'body': 'AI.IsPaused(${0:characterName})' 'description' : 'Returns a bool based on if a character is currently paused or not' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#IsPaused' 'AI.AddTemporaryGoal': 'prefix': 'AI.AddTemporaryGoal' 'body': 'AI.AddTemporaryGoal(${0:characterName}, ${1:goal})' 'description' : 'Adds a goal, taking top priority, to the named AI' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AddTemporaryGoal' 'AI.AlterNPCMotivation': 'prefix': 'AI.AlterNPCMotivation' 'body': 'AI.AlterNPCMotivation(${0:characterName}, ${1:motivationDelta})' 'description' : 'Alters an NPCS motivation state' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AlterNPCMotivation' 'AI.AlterNPCWorldState': 'prefix': 'AI.AlterNPCWorldState' 'body': 'AI.AlterNPCWorldState(${0:characterName}, ${1:state}, ${2:value})' 'description' : 'Change the World State of an NPC.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AlterNPCWorldState' 'AI.FavourInterest': 'prefix': 'AI.FavourInterest' 'body': 'AI.FavourInterest(${0:characterName}, ${1:device}, ${2:permanent})' 'description' : 'Reduce the cost of an AI using a particular Interest' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#FavourInterest' 'AI.AvoidInterest': 'prefix': 'AI.AvoidInterest' 'body': 'AI.AvoidInterest(${0:characterName}, ${1:device}, ${2:permanent})' 'description' : 'Increase the cost of an AI using a particular Interest' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#AvoidInterest' 'AI.ChangeSubject': 'prefix': 'AI.ChangeSubject' 'body': 'AI.ChangeSubject(${0:characterName}, ${1:subject}, ${2:value})' 'description' : 'Set the value of a particular subject, enabling Actions with Personality requirements' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#ChangeSubject' 'AI.ReactTo': 'prefix': 'AI.ReactTo' 'body': 'AI.ReactTo(${0:characterName}, ${1:subject}, ${2:value})' 'description' : 'Much like ChangeSubject, but instead of enabling Actions, this will alter stats within the Agent, modifying its WorldState (and as a result, enabling Actions)' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#ReactTo' 'AI.CreateReactable': 'prefix': 'AI.CreateReactable' 'body': 'AI.CreateReactable(${0:actionType}, ${1:attraction}, ${2:targetObject})' 'description' : 'Create a new distraction that AI can pick up on' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#CreateReactable' 'AI.SetNPCFavouredComputer': 'prefix': 'AI.SetNPCFavouredComputer' 'body': 'AI.SetNPCFavouredComputer(${0:characterName}, ${1:computer})' 'description' : 'Set NPC\'s computer, this will be used for a variety of actions' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=AI_Lua_API#SetNPCFavouredComputer' 'Animator.SetBool': 'prefix': 'Animator.SetBool' 'body': 'Animator.SetBool(${0:missionObjectName}, ${1:parameterName}, ${2:value})' 'description' : 'Sets a bool parameter by name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#SetBool' 'Animator.SetFloat': 'prefix': 'Animator.SetFloat' 'body': 'Animator.SetFloat(${0:missionObjectName}, ${1:parameterName}, ${2:value})' 'description' : 'Sets a float parameter by name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#SetFloat' 'Animator.SetInt': 'prefix': 'Animator.SetInt' 'body': 'Animator.SetInt(${0:missionObjectName}, ${1:parameterName}, ${2:value})' 'description' : 'Sets a int parameter by name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#SetInt' 'Animator.SetTrigger': 'prefix': 'Animator.SetTrigger' 'body': 'Animator.SetTrigger(${0:missionObjectName}, ${1:parameterName})' 'description' : 'Begins a trigger parameter by name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#SetTrigger' 'Animator.GetBool': 'prefix': 'Animator.GetBool' 'body': 'Animator.GetBool(${0:missionObjectName}, ${1:parameterName})' 'description' : 'Gets the current value of a bool parameter by name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#GetBool' 'Animator.GetFloat': 'prefix': 'Animator.GetFloat' 'body': 'Animator.GetFloat(${0:missionObjectName}, ${1:parameterName})' 'description' : 'Gets the current value of a float parameter by name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#GetFloat' 'Animator.GetInt': 'prefix': 'Animator.GetInt' 'body': 'Animator.GetInt(${0:missionObjectName}, ${1:parameterName})' 'description' : 'Gets the current value of a int parameter by name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Animator_Lua_API#GetInt' 'Apps.RequestAppState': 'prefix': 'Apps.RequestAppState' 'body': 'Apps.RequestAppState(${0:appName}, ${1:newState})' 'description' : 'Ask an App to change it\'s state' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#RequestAppState' 'SetState': 'prefix': 'SetState' 'body': 'SetState(${0:newState})' 'description' : 'Sets the App\'s state.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#SetState' 'CreateStatusWindow': 'prefix': 'CreateStatusWindow' 'body': 'CreateStatusWindow()' 'description' : 'Create the status window' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#CreateStatusWindow' 'RemoveStatusWindow': 'prefix': 'RemoveStatusWindow' 'body': 'RemoveStatusWindow()' 'description' : 'Remove this app\'s status window' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#RemoveStatusWindow' 'DisplayStatusWindow': 'prefix': 'DisplayStatusWindow' 'body': 'DisplayStatusWindow(${0:enabled})' 'description' : 'Show or hide the app\'s status window.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#DisplayStatusWindow' 'UpdateStatusWindow': 'prefix': 'UpdateStatusWindow' 'body': 'UpdateStatusWindow(${0:text})' 'description' : 'Update the text content of the app\'s status window' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#UpdateStatusWindow' 'SetStatusIcon': 'prefix': 'SetStatusIcon' 'body': 'SetStatusIcon(${0:id})' 'description' : 'Set the icon used for the app\'s status window' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#SetStatusIcon' 'SetStatusIconColor': 'prefix': 'SetStatusIconColor' 'body': 'SetStatusIconColor(${0:color})' 'description' : 'Set the color of the status window icon' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Apps_Lua_API#SetStatusIconColor' 'Color.RandomColor': 'prefix': 'Color.RandomColor' 'body': 'Color.RandomColor(${0:alpha})' 'description' : 'Returns a random color' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#RandomColor' 'Color.Clear': 'prefix': 'Color.Clear' 'body': 'Color.Clear' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #ffffff;"| || 1, 1, 1 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Clear' 'Color.Black': 'prefix': 'Color.Black' 'body': 'Color.Black' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #181818;"| || 0.094, 0.094, 0.094 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Black' 'Color.DarkGrey': 'prefix': 'Color.DarkGrey' 'body': 'Color.DarkGrey' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #585858;"| || 0.345, 0.345, 0.345 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#DarkGrey' 'Color.Grey': 'prefix': 'Color.Grey' 'body': 'Color.Grey' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #B8B8B8;"| || 0.722, 0.722, 0.722 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Grey' 'Color.LightGrey': 'prefix': 'Color.LightGrey' 'body': 'Color.LightGrey' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #D8D8D8;"| || 0.847, 0.847, 0.847 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#LightGrey' 'Color.White': 'prefix': 'Color.White' 'body': 'Color.White' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #F8F8F8;"| || 0.972, 0.972, 0.972 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#White' 'Color.Red': 'prefix': 'Color.Red' 'body': 'Color.Red' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #AB4642;"| || 0.671, 0.275, 0.259 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Red' 'Color.Orange': 'prefix': 'Color.Orange' 'body': 'Color.Orange' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #DC9656;"| || 0.863, 0.589, 0.336 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Orange' 'Color.Yellow': 'prefix': 'Color.Yellow' 'body': 'Color.Yellow' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #F7CA88;"| || 0.969, 0.792, 0.533 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Yellow' 'Color.Green': 'prefix': 'Color.Green' 'body': 'Color.Green' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #A1B56C;"| || 0.631, 0.71, 0.424 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Green' 'Color.Cyan': 'prefix': 'Color.Cyan' 'body': 'Color.Cyan' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #86C1B9;"| || 0.525, 0.757, 0.725 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Cyan' 'Color.Blue': 'prefix': 'Color.Blue' 'body': 'Color.Blue' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #7CAFC2;"| || 0.486, 0.686, 0.761 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Blue' 'Color.Purple': 'prefix': 'Color.Purple' 'body': 'Color.Purple' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #BA8BAF;"| || 0.729, 0.545, 0.686 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Purple' 'Color.Brown': 'prefix': 'Color.Brown' 'body': 'Color.Brown' 'description' : ' {| class=wikitable ! Preview !! RGB |- |style="background: #A16946;"| || 0.631, 0.412, 0.275 |- |}' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Color_Lua_API#Brown' 'Conversation.StartScript': 'prefix': 'Conversation.StartScript' 'body': 'Conversation.StartScript(${0:path}, ${1:onCompleteCallback})' 'description' : 'Starts a conversation from a name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Conversation_Lua_API#StartScript' 'DataPoints.GetAllDataPoints': 'prefix': 'DataPoints.GetAllDataPoints' 'body': 'DataPoints.GetAllDataPoints()' 'description' : 'Return all the data points that are currently in the level' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetAllDataPoints' 'DataPoints.GetObjectDataPoints': 'prefix': 'DataPoints.GetObjectDataPoints' 'body': 'DataPoints.GetObjectDataPoints(${0:objectName})' 'description' : 'Return all the data points received by an object or a character ' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetObjectDataPoints' 'DataPoints.FilterNetwork': 'prefix': 'DataPoints.FilterNetwork' 'body': 'DataPoints.FilterNetwork(${0:dataPoints}, ${1:networkName})' 'description' : 'Filter data points with the network name' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#FilterNetwork' 'DataPoints.FilterDataType': 'prefix': 'DataPoints.FilterDataType' 'body': 'DataPoints.FilterDataType(${0:dataPoints}, ${1:dataType})' 'description' : 'Filter data points with the data type' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#FilterDataType' 'DataPoints.DeleteDataPoints': 'prefix': 'DataPoints.DeleteDataPoints' 'body': 'DataPoints.DeleteDataPoints(${0:dataPoints})' 'description' : 'Remove data points from the level' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#DeleteDataPoints' 'DataPoints.GetData': 'prefix': 'DataPoints.GetData' 'body': 'DataPoints.GetData(${0:dataPoints})' 'description' : 'Return all the data string from the given data points' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetData' 'DataPoints.GetDataPointInfo': 'prefix': 'DataPoints.GetDataPointInfo' 'body': 'DataPoints.GetDataPointInfo(${0:dataPoints})' 'description' : 'Return all the data info from the given data points' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#GetDataPointInfo' 'DataPoints.PlayersInventorySave': 'prefix': 'DataPoints.PlayersInventorySave' 'body': 'DataPoints.PlayersInventorySave(${0:dataFile})' 'description' : 'Save data info in the the players inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#PlayersInventorySave' 'DataPoints.PlayersInventoryRemove': 'prefix': 'DataPoints.PlayersInventoryRemove' 'body': 'DataPoints.PlayersInventoryRemove(${0:dataFile})' 'description' : 'Save data info in the the players inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=DataPoints_Lua_API#PlayersInventoryRemove' 'Debug.ConnectToDevLaptop': 'prefix': 'Debug.ConnectToDevLaptop' 'body': 'Debug.ConnectToDevLaptop()' 'description' : 'Open SSH connection to DevLaptop Device, if there\'s one in the level.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Debug_Lua_API#ConnectToDevLaptop' 'Debug.ShowPlayerPath': 'prefix': 'Debug.ShowPlayerPath' 'body': 'Debug.ShowPlayerPath(${0:value})' 'description' : 'ShowPlayerPath' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Debug_Lua_API#ShowPlayerPath' 'Devices.SetPower': 'prefix': 'Devices.SetPower' 'body': 'Devices.SetPower(${0:deviceName}, ${1:state})' 'description' : 'Change the powered on state of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetPower' 'Devices.TogglePower': 'prefix': 'Devices.TogglePower' 'body': 'Devices.TogglePower(${0:deviceName})' 'description' : 'Flip the powered on state of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#TogglePower' 'Devices.GetPower': 'prefix': 'Devices.GetPower' 'body': 'Devices.GetPower(${0:deviceName})' 'description' : 'Get the powered on state of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetPower' 'Devices.SetActive': 'prefix': 'Devices.SetActive' 'body': 'Devices.SetActive(${0:deviceName}, ${1:state})' 'description' : 'Change the active state of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetActive' 'Devices.ToggleActive': 'prefix': 'Devices.ToggleActive' 'body': 'Devices.ToggleActive(${0:deviceName})' 'description' : 'Flip the active state of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#ToggleActive' 'Devices.GetActive': 'prefix': 'Devices.GetActive' 'body': 'Devices.GetActive(${0:deviceName})' 'description' : 'Get the active state of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetActive' 'Devices.RunOnce': 'prefix': 'Devices.RunOnce' 'body': 'Devices.RunOnce(${0:deviceName})' 'description' : 'Trigger a single update of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#RunOnce' 'Devices.SetAmok': 'prefix': 'Devices.SetAmok' 'body': 'Devices.SetAmok(${0:deviceName}, ${1:state})' 'description' : 'Begin an \'Amok\' state, cause the device to act in an unstable/broken manor' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetAmok' 'Devices.ToggleAmok': 'prefix': 'Devices.ToggleAmok' 'body': 'Devices.ToggleAmok(${0:deviceName})' 'description' : 'Flip the amok state' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#ToggleAmok' 'Devices.GetAmok': 'prefix': 'Devices.GetAmok' 'body': 'Devices.GetAmok(${0:deviceName})' 'description' : 'Get the \'Amok\' state of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetAmok' 'Devices.SetValue': 'prefix': 'Devices.SetValue' 'body': 'Devices.SetValue(${0:deviceName}, ${1:newValue})' 'description' : 'Pass a string value to the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#SetValue' 'Devices.GetValue': 'prefix': 'Devices.GetValue' 'body': 'Devices.GetValue(${0:deviceName})' 'description' : 'Get the current value of the device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetValue' 'Devices.GetDataInventory': 'prefix': 'Devices.GetDataInventory' 'body': 'Devices.GetDataInventory(${0:deviceName}, ${1:index})' 'description' : 'Get the description of the data at this index in the DataInventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetDataInventory' 'Devices.GetDataPointFromInventory': 'prefix': 'Devices.GetDataPointFromInventory' 'body': 'Devices.GetDataPointFromInventory(${0:deviceName}, ${1:index})' 'description' : 'Get a table of useful data from the DataPoint at this index in the DataInventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetDataPointFromInventory' 'Devices.GetDataInventoryCount': 'prefix': 'Devices.GetDataInventoryCount' 'body': 'Devices.GetDataInventoryCount(${0:deviceName})' 'description' : 'Get the number of DataPoints in the DataInventory of this device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Devices_Lua_API#GetDataInventoryCount' 'Doors.SetZoneKeys': 'prefix': 'Doors.SetZoneKeys' 'body': 'Doors.SetZoneKeys(${0:zoneName}, ${1:keyNames})' 'description' : 'Sets a key as unlocking a specific zone' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#SetZoneKeys' 'Doors.SetNetwork': 'prefix': 'Doors.SetNetwork' 'body': 'Doors.SetNetwork(${0:networkName})' 'description' : 'Sets the name of the network for the door system to use' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#SetNetwork' 'Doors.SetKeyOnDevice': 'prefix': 'Doors.SetKeyOnDevice' 'body': 'Doors.SetKeyOnDevice(${0:keyName}, ${1:deviceName})' 'description' : 'Sets a key as the current NFC file on a net device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#SetKeyOnDevice' 'Doors.AssignKeyToCharacter': 'prefix': 'Doors.AssignKeyToCharacter' 'body': 'Doors.AssignKeyToCharacter(${0:keyName}, ${1:character})' 'description' : 'Adds a key to a characters inventory and sets it as the characters current NFC data' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#AssignKeyToCharacter' 'Doors.Open': 'prefix': 'Doors.Open' 'body': 'Doors.Open(${0:doorID})' 'description' : 'Open the specified door.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Open' 'Doors.Close': 'prefix': 'Doors.Close' 'body': 'Doors.Close(${0:doorID})' 'description' : 'close the specified door.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Close' 'Doors.Unlock': 'prefix': 'Doors.Unlock' 'body': 'Doors.Unlock(${0:doorID})' 'description' : 'Unlock the specified door' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Unlock' 'Doors.Lock': 'prefix': 'Doors.Lock' 'body': 'Doors.Lock(${0:doorID})' 'description' : 'Lock the specified door' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Doors_Lua_API#Lock' 'Flutter.SendMessageFromCharacter': 'prefix': 'Flutter.SendMessageFromCharacter' 'body': 'Flutter.SendMessageFromCharacter(${0:message}, ${1:internalName})' 'description' : 'Sends a custom FlutterMessage from NPC in current level' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SendMessageFromCharacter' 'Flutter.SendRandomMessageFromCharacter': 'prefix': 'Flutter.SendRandomMessageFromCharacter' 'body': 'Flutter.SendRandomMessageFromCharacter(${0:internalName})' 'description' : 'Sends a generated Flutter message from NPC in current level' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SendRandomMessageFromCharacter' 'Flutter.SendRandomMessage': 'prefix': 'Flutter.SendRandomMessage' 'body': 'Flutter.SendRandomMessage()' 'description' : 'Sends a generated Flutter message from generated random character' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SendRandomMessage' 'Flutter.SetFlutterEnabled': 'prefix': 'Flutter.SetFlutterEnabled' 'body': 'Flutter.SetFlutterEnabled(${0:enabled})' 'description' : 'Set Flutter app enabled or disabled.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Flutter_Lua_API#SetFlutterEnabled' 'GameProgress.GetValue': 'prefix': 'GameProgress.GetValue' 'body': 'GameProgress.GetValue(${0:key})' 'description' : 'Returns a value from the game progress by key, empty string if it doesn\'t exist' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=GameProgress_Lua_API#GetValue' 'GameProgress.SetValue': 'prefix': 'GameProgress.SetValue' 'body': 'GameProgress.SetValue(${0:key}, ${1:value}, ${2:overwrite})' 'description' : 'Sets a value in the game progress' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=GameProgress_Lua_API#SetValue' 'GameProgress.HasKey': 'prefix': 'GameProgress.HasKey' 'body': 'GameProgress.HasKey(${0:key})' 'description' : 'Does the specified key exist?' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=GameProgress_Lua_API#HasKey' 'Mission.MissionStarted': 'prefix': 'Mission.MissionStarted' 'body': 'Mission.MissionStarted()' 'description' : 'This should be called once the initial state of the mission has been set It will cause the game to begin gameplay' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#MissionStarted' 'Mission.MissionCompleted': 'prefix': 'Mission.MissionCompleted' 'body': 'Mission.MissionCompleted()' 'description' : 'This should be called when the final objective of the mission has been completed It will trigger the game to fade to black and return to the main menu' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#MissionCompleted' 'Mission.MissionFailed': 'prefix': 'Mission.MissionFailed' 'body': 'Mission.MissionFailed()' 'description' : 'This function will fail the current mission, as if Joe had been tazed (or similar).' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#MissionFailed' 'Mission.SpawnCharacter': 'prefix': 'Mission.SpawnCharacter' 'body': 'Mission.SpawnCharacter(${0:internalName})' 'description' : 'Spawn a registered character in the game' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SpawnCharacter' 'Mission.ObjectiveIsActive': 'prefix': 'Mission.ObjectiveIsActive' 'body': 'Mission.ObjectiveIsActive(${0:objectiveName})' 'description' : 'Returns true if objective has been started but not completed yet.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#ObjectiveIsActive' 'Mission.ObjectiveIsCompleted': 'prefix': 'Mission.ObjectiveIsCompleted' 'body': 'Mission.ObjectiveIsCompleted(${0:objectiveName})' 'description' : 'Returns true if objective has been completed.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#ObjectiveIsCompleted' 'Mission.StartObjective': 'prefix': 'Mission.StartObjective' 'body': 'Mission.StartObjective(${0:objectiveName})' 'description' : 'Start the provided objective' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#StartObjective' 'Mission.CompleteObjective': 'prefix': 'Mission.CompleteObjective' 'body': 'Mission.CompleteObjective(${0:objectiveName})' 'description' : 'Complete the provided objective' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#CompleteObjective' 'Mission.GetCurrentObjective': 'prefix': 'Mission.GetCurrentObjective' 'body': 'Mission.GetCurrentObjective()' 'description' : 'Get the name of the current objective' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#GetCurrentObjective' 'Mission.TriggerAutoSave': 'prefix': 'Mission.TriggerAutoSave' 'body': 'Mission.TriggerAutoSave()' 'description' : 'Triggers an autosave, only if the game is current in a mission' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#TriggerAutoSave' 'Mission.DevicesConnected': 'prefix': 'Mission.DevicesConnected' 'body': 'Mission.DevicesConnected()' 'description' : 'Call this AFTER all Devices have been connected to their networks. This allows DataPoints to be processed correctly.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#DevicesConnected' 'Mission.SetPlayerControlled': 'prefix': 'Mission.SetPlayerControlled' 'body': 'Mission.SetPlayerControlled(${0:tf})' 'description' : 'Set whether the player is currently in control (or not). Used for cutscenes, and other things that we haven\'t thought of yet.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetPlayerControlled' 'Mission.GetBool': 'prefix': 'Mission.GetBool' 'body': 'Mission.GetBool(${0:key})' 'description' : 'Get a boolean value of a key in mission Lua script. Returns false if key doesn\'t exist.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#GetBool' 'Mission.SetBool': 'prefix': 'Mission.SetBool' 'body': 'Mission.SetBool(${0:key}, ${1:newBool})' 'description' : 'Sets a boolean value of a key in mission Lua script.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetBool' 'Mission.GetString': 'prefix': 'Mission.GetString' 'body': 'Mission.GetString(${0:key})' 'description' : 'Get a string value of a key in mission Lua script. Returns empty if key doesn\'t exist.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#GetString' 'Mission.SetString': 'prefix': 'Mission.SetString' 'body': 'Mission.SetString(${0:key}, ${1:newString})' 'description' : 'Sets a string value of a key in mission Lua script.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetString' 'Mission.GetNumber': 'prefix': 'Mission.GetNumber' 'body': 'Mission.GetNumber(${0:key})' 'description' : 'Get a numeric value of a key in mission Lua script. Returns 0 if key doesn\'t exist.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#GetNumber' 'Mission.SetNumber': 'prefix': 'Mission.SetNumber' 'body': 'Mission.SetNumber(${0:key}, ${1:newValue})' 'description' : 'Sets a numeric value of a key in mission Lua script.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#SetNumber' 'Mission.StartVibrationEvent': 'prefix': 'Mission.StartVibrationEvent' 'body': 'Mission.StartVibrationEvent(${0:objectName})' 'description' : 'Start a mission object vibration event' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#StartVibrationEvent' 'Mission.StopVibrationEvent': 'prefix': 'Mission.StopVibrationEvent' 'body': 'Mission.StopVibrationEvent(${0:objectName})' 'description' : 'Stop a mission object vibration event' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Mission_Lua_API#StopVibrationEvent' 'Network.CreateDataPoint': 'prefix': 'Network.CreateDataPoint' 'body': 'Network.CreateDataPoint(${0:internalName}, ${1:dataTable}, ${2:locationObject}, ${3:characterName}, ${4:networkName})' 'description' : 'Create a DataPoint in a specific place, from a specific character, with pre filled in data.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#CreateDataPoint' 'Network.ConnectToNetwork': 'prefix': 'Network.ConnectToNetwork' 'body': 'Network.ConnectToNetwork(${0:connector}, ${1:targetNetwork}, ${2:accessKey})' 'description' : 'Connect a device (or a table of devices) to a specified network' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#ConnectToNetwork' 'Network.SendData': 'prefix': 'Network.SendData' 'body': 'Network.SendData(${0:internalName}, ${1:dataTable}, ${2:sender}, ${3:receiver})' 'description' : 'Send a data file from one device to another' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#SendData' 'Network.SetNetDeviceNFCData': 'prefix': 'Network.SetNetDeviceNFCData' 'body': 'Network.SetNetDeviceNFCData(${0:internalName}, ${1:dataTable}, ${2:deviceTable})' 'description' : 'Sets NFC data on a mission object' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#SetNetDeviceNFCData' 'Network.SetNetDeviceNFC': 'prefix': 'Network.SetNetDeviceNFC' 'body': 'Network.SetNetDeviceNFC(${0:deviceName}, ${1:enabled})' 'description' : 'Set if a mission object supports NFCAddNetDevice' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Network_Lua_API#SetNetDeviceNFC' 'Noise.Emit': 'prefix': 'Noise.Emit' 'body': 'Noise.Emit(${0:deviceName}, ${1:noiseTable})' 'description' : 'Emits a noise from deviceName with attributes in noiseTable' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Noise_Lua_API#Emit' 'Noise.Silence': 'prefix': 'Noise.Silence' 'body': 'Noise.Silence(${0:deviceName}, ${1:noiseTable})' 'description' : 'Silences the noise' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Noise_Lua_API#Silence' 'Particles.Play': 'prefix': 'Particles.Play' 'body': 'Particles.Play(${0:deviceName}, ${1:searchChildren})' 'description' : 'Sets the particle system into play mode and beings emitting' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Particles_Lua_API#Play' 'Particles.Pause': 'prefix': 'Particles.Pause' 'body': 'Particles.Pause(${0:deviceName}, ${1:searchChildren})' 'description' : 'Pauses playing the particle system.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Particles_Lua_API#Pause' 'Particles.Stop': 'prefix': 'Particles.Stop' 'body': 'Particles.Stop(${0:deviceName}, ${1:searchChildren})' 'description' : 'Stops playing the particle system.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Particles_Lua_API#Stop' 'Particles.Toggle': 'prefix': 'Particles.Toggle' 'body': 'Particles.Toggle(${0:deviceName}, ${1:searchChildren})' 'description' : 'Toggles the particle system playing' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Particles_Lua_API#Toggle' 'Particles.Emit': 'prefix': 'Particles.Emit' 'body': 'Particles.Emit(${0:deviceName}, ${1:count}, ${2:searchChildren})' 'description' : 'Emit _count_ particles immediately.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Particles_Lua_API#Emit' 'Particles.IsPlaying': 'prefix': 'Particles.IsPlaying' 'body': 'Particles.IsPlaying(${0:deviceName}, ${1:searchChildren})' 'description' : 'Is the particle system playing right now?' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Particles_Lua_API#IsPlaying' 'Player.AddItemToInventory': 'prefix': 'Player.AddItemToInventory' 'body': 'Player.AddItemToInventory(${0:itemName})' 'description' : 'Adds an item to the players inventory (silently, wihtout a notification. Also check Mission.SendData() ).' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddItemToInventory' 'Player.RemoveItemFromInventory': 'prefix': 'Player.RemoveItemFromInventory' 'body': 'Player.RemoveItemFromInventory(${0:itemName})' 'description' : 'Removes an item to the players inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#RemoveItemFromInventory' 'Player.HasItem': 'prefix': 'Player.HasItem' 'body': 'Player.HasItem(${0:itemName})' 'description' : 'Is an item in the players inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#HasItem' 'Player.ClearInventory': 'prefix': 'Player.ClearInventory' 'body': 'Player.ClearInventory()' 'description' : 'Removes all items from the players inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#ClearInventory' 'Player.SetPlayerNFCData': 'prefix': 'Player.SetPlayerNFCData' 'body': 'Player.SetPlayerNFCData(${0:internalName}, ${1:dataTable})' 'description' : 'Sets the NFC data on the players phone' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetPlayerNFCData' 'Player.AddDataFile': 'prefix': 'Player.AddDataFile' 'body': 'Player.AddDataFile(${0:internalName}, ${1:dataTable})' 'description' : 'Adds a data file directly to the players data inventory without a sender' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddDataFile' 'Player.ClearDataInventory': 'prefix': 'Player.ClearDataInventory' 'body': 'Player.ClearDataInventory()' 'description' : 'Removes all data files from the players data inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#ClearDataInventory' 'Player.ItemInQuickSlot': 'prefix': 'Player.ItemInQuickSlot' 'body': 'Player.ItemInQuickSlot()' 'description' : 'Gets the name of the item currently in the players quick slot' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#ItemInQuickSlot' 'Player.HasDataFile': 'prefix': 'Player.HasDataFile' 'body': 'Player.HasDataFile(${0:dataFileName})' 'description' : 'Does the player have a data file with this name?' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#HasDataFile' 'Player.HasEncryptedFile': 'prefix': 'Player.HasEncryptedFile' 'body': 'Player.HasEncryptedFile(${0:dataFileName})' 'description' : 'Does the player have a file with the name _dataFileName_ and is it encrypted?' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#HasEncryptedFile' 'Player.HasDecryptedFile': 'prefix': 'Player.HasDecryptedFile' 'body': 'Player.HasDecryptedFile(${0:dataFileName})' 'description' : 'Does the player have a file with the name _dataFileName_ and is it unencrypted?' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#HasDecryptedFile' 'Player.GetDataString': 'prefix': 'Player.GetDataString' 'body': 'Player.GetDataString(${0:internalName})' 'description' : 'Returns the data string of a file in the players inventory, takes in the internal name of the file' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetDataString' 'Player.SetDataString': 'prefix': 'Player.SetDataString' 'body': 'Player.SetDataString(${0:internalName}, ${1:newString})' 'description' : 'Sets the data string of a data file in the players data inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetDataString' 'Player.GetAllDataFileNames': 'prefix': 'Player.GetAllDataFileNames' 'body': 'Player.GetAllDataFileNames()' 'description' : 'Return internalNames of all files in the players data inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetAllDataFileNames' 'Player.GetAllDataFiles': 'prefix': 'Player.GetAllDataFiles' 'body': 'Player.GetAllDataFiles()' 'description' : 'Return a table of all files in the players data inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetAllDataFiles' 'Player.SendData': 'prefix': 'Player.SendData' 'body': 'Player.SendData(${0:internalName}, ${1:receiver})' 'description' : 'Send a file from player\'s inventory to receiver' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SendData' 'Player.GetSocialProfileSize': 'prefix': 'Player.GetSocialProfileSize' 'body': 'Player.GetSocialProfileSize(${0:internalName})' 'description' : 'Returns the size of the background profile player has collected about a character' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetSocialProfileSize' 'Player.SocialProfileContainsTag': 'prefix': 'Player.SocialProfileContainsTag' 'body': 'Player.SocialProfileContainsTag(${0:internalName}, ${1:tag})' 'description' : 'Returns true if social profile contains any character data with specified tag' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SocialProfileContainsTag' 'Player.SocialProfileContainsTagData': 'prefix': 'Player.SocialProfileContainsTagData' 'body': 'Player.SocialProfileContainsTagData(${0:internalName}, ${1:tag}, ${2:data})' 'description' : 'Returns true if social profile contains character data matching both tag and data' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SocialProfileContainsTagData' 'Player.SocialProfileContainsData': 'prefix': 'Player.SocialProfileContainsData' 'body': 'Player.SocialProfileContainsData(${0:internalName}, ${1:data})' 'description' : 'Returns true if social profile contains specified character data (regardless of it\'s tag)' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SocialProfileContainsData' 'Player.AddSocialProfileInformation': 'prefix': 'Player.AddSocialProfileInformation' 'body': 'Player.AddSocialProfileInformation(${0:internalName}, ${1:tag}, ${2:data})' 'description' : 'Add new background data about a character to SocialInventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddSocialProfileInformation' 'Player.GetSocialProfileInformation': 'prefix': 'Player.GetSocialProfileInformation' 'body': 'Player.GetSocialProfileInformation(${0:internalName})' 'description' : 'Get all known background data about a character from player\'s SocialInventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetSocialProfileInformation' 'Player.GetPlayerTrackingState': 'prefix': 'Player.GetPlayerTrackingState' 'body': 'Player.GetPlayerTrackingState()' 'description' : 'Get current tracking state from Player\'s phone.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetPlayerTrackingState' 'Player.GetNetPointsCount': 'prefix': 'Player.GetNetPointsCount' 'body': 'Player.GetNetPointsCount()' 'description' : 'Get current amount of NetPoints the player has.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetNetPointsCount' 'Player.SetNetPointsCount': 'prefix': 'Player.SetNetPointsCount' 'body': 'Player.SetNetPointsCount(${0:count})' 'description' : 'Set player\'s NetPoints count.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetNetPointsCount' 'Player.AddNetPoints': 'prefix': 'Player.AddNetPoints' 'body': 'Player.AddNetPoints(${0:count})' 'description' : 'Add more NetPoints to player' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#AddNetPoints' 'Player.RemoveNetPoints': 'prefix': 'Player.RemoveNetPoints' 'body': 'Player.RemoveNetPoints(${0:count})' 'description' : 'Take NetPOintsa from player.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#RemoveNetPoints' 'Player.GetName': 'prefix': 'Player.GetName' 'body': 'Player.GetName()' 'description' : 'Get the Player\'s internalName' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetName' 'Player.GetLightLevel': 'prefix': 'Player.GetLightLevel' 'body': 'Player.GetLightLevel()' 'description' : 'Get the light level around the player' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#GetLightLevel' 'Player.SetAlwaysRagdoll': 'prefix': 'Player.SetAlwaysRagdoll' 'body': 'Player.SetAlwaysRagdoll(${0:state})' 'description' : 'Player character aways ragdolls on death' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetAlwaysRagdoll' 'Player.SetInvisible': 'prefix': 'Player.SetInvisible' 'body': 'Player.SetInvisible(${0:state})' 'description' : 'Player character is invisible' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Player_Lua_API#SetInvisible' 'Scheduler.CallInSecsReal': 'prefix': 'Scheduler.CallInSecsReal' 'body': 'Scheduler.CallInSecsReal(${0:func}, ${1:timeInSecs})' 'description' : 'Schedule a lua function to be called in timeInSecs real time' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Scheduler_Lua_API#CallInSecsReal' 'Scheduler.CallInSecs': 'prefix': 'Scheduler.CallInSecs' 'body': 'Scheduler.CallInSecs(${0:func}, ${1:timeInSecs})' 'description' : 'Schedule a lua function to be called in timeInSecs scaled time' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Scheduler_Lua_API#CallInSecs' 'Scheduler.CallAtTime': 'prefix': 'Scheduler.CallAtTime' 'body': 'Scheduler.CallAtTime(${0:func}, ${1:dateTimeString})' 'description' : 'Schedule a lua function to be called at specific time (defined by a date/time string)' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Scheduler_Lua_API#CallAtTime' 'Sound.TriggerEvent': 'prefix': 'Sound.TriggerEvent' 'body': 'Sound.TriggerEvent(${0:eventName}, ${1:sourceName})' 'description' : 'Triggers a sound even with name \'\'eventName\'\'' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Sound_Lua_API#TriggerEvent' 'Sound.SetRTPC': 'prefix': 'Sound.SetRTPC' 'body': 'Sound.SetRTPC(${0:sourceName}, ${1:RTPCName}, ${2:value})' 'description' : 'Set Real-Time Parameter Curve for an audio event playign on this object' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Sound_Lua_API#SetRTPC' 'Spectrum.DeleteDataPoint': 'prefix': 'Spectrum.DeleteDataPoint' 'body': 'Spectrum.DeleteDataPoint(${0:dataPoint})' 'description' : 'Deletes the passed in data point' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#DeleteDataPoint' 'Spectrum.SaveDataPoint': 'prefix': 'Spectrum.SaveDataPoint' 'body': 'Spectrum.SaveDataPoint(${0:dataPoint})' 'description' : 'Saves currently targeted data point to the players data inventory' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#SaveDataPoint' 'Spectrum.FilterClear': 'prefix': 'Spectrum.FilterClear' 'body': 'Spectrum.FilterClear()' 'description' : 'Clear the Filter' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterClear' 'Spectrum.FilterType (int, bool)': 'prefix': 'Spectrum.FilterType (int, bool)' 'body': 'Spectrum.FilterType (int, bool)(${0:t}, ${1:on})' 'description' : 'Filter which types of Data Spectrum shows' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterType (int, bool)' 'Spectrum.FilterCreator': 'prefix': 'Spectrum.FilterCreator' 'body': 'Spectrum.FilterCreator(${0:creator})' 'description' : 'Shows only Data from the Creator of the specified DataPoint. Pass nil to clear' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterCreator' 'Spectrum.FilterNetwork': 'prefix': 'Spectrum.FilterNetwork' 'body': 'Spectrum.FilterNetwork(${0:network})' 'description' : 'Shows only Data from the Network of the specified DataPoint. Pass nil to clear' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Spectrum_Lua_API#FilterNetwork' 'Timeline.Play': 'prefix': 'Timeline.Play' 'body': 'Timeline.Play(${0:missionObjectName})' 'description' : 'Starts the timeline' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#Play' 'Timeline.Pause': 'prefix': 'Timeline.Pause' 'body': 'Timeline.Pause(${0:missionObjectName})' 'description' : 'Pauses the timeline' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#Pause' 'Timeline.Stop': 'prefix': 'Timeline.Stop' 'body': 'Timeline.Stop(${0:missionObjectName})' 'description' : 'Stops the timeline' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#Stop' 'Timeline.SetDynamicCameraTarget': 'prefix': 'Timeline.SetDynamicCameraTarget' 'body': 'Timeline.SetDynamicCameraTarget(${0:missionObjectName}, ${1:targetName})' 'description' : 'Sets the look at & follow target for all dynamically targeted cameras in the timeline' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=Timeline_Lua_API#SetDynamicCameraTarget' 'UI.ToggleClock': 'prefix': 'UI.ToggleClock' 'body': 'UI.ToggleClock(${0:state})' 'description' : 'Toggles the clock hud element' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleClock' 'UI.ToggleWeather': 'prefix': 'UI.ToggleWeather' 'body': 'UI.ToggleWeather(${0:state})' 'description' : 'Toggles the weather hud element' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleWeather' 'UI.SetDataViewState': 'prefix': 'UI.SetDataViewState' 'body': 'UI.SetDataViewState(${0:state})' 'description' : 'Sets the state of the data view' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#SetDataViewState' 'UI.ToggleDebugUI': 'prefix': 'UI.ToggleDebugUI' 'body': 'UI.ToggleDebugUI(${0:state})' 'description' : 'Toggles the developer debug UI' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleDebugUI' 'UI.OpenRemoteConnection': 'prefix': 'UI.OpenRemoteConnection' 'body': 'UI.OpenRemoteConnection(${0:missionObject})' 'description' : 'Opens SSH connection to currently targeted device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#OpenRemoteConnection' 'UI.SetRadialScanState': 'prefix': 'UI.SetRadialScanState' 'body': 'UI.SetRadialScanState(${0:shouldScan})' 'description' : 'Control if the radial menu should be scanning for targets' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#SetRadialScanState' 'UI.ToggleUIMarkers': 'prefix': 'UI.ToggleUIMarkers' 'body': 'UI.ToggleUIMarkers(${0:state})' 'description' : 'Show/Hide UI markers for hackable and interactable objects near the player.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ToggleUIMarkers' 'UI.ShowHint': 'prefix': 'UI.ShowHint' 'body': 'UI.ShowHint(${0:message}, ${1:timeout})' 'description' : 'Displays a hint message. Multiple messages will stack on screen but don\'t go too crazy...' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowHint' 'UI.ShowModalMessage': 'prefix': 'UI.ShowModalMessage' 'body': 'UI.ShowModalMessage(${0:luaMessage})' 'description' : 'Displays a modal, multiple calls to this will cause a stack of modals the user can click through' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowModalMessage' 'UI.ShowPopUp': 'prefix': 'UI.ShowPopUp' 'body': 'UI.ShowPopUp(${0:type}, ${1:header}, ${2:message}, ${3:timeout})' 'description' : 'Displays a small pop up in the centre of the screen' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowPopUp' 'UI.ShowNotification': 'prefix': 'UI.ShowNotification' 'body': 'UI.ShowNotification(${0:type}, ${1:header}, ${2:message}, ${3:timeout})' 'description' : 'Displays a notification pop up in the top right corner of the screen' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : 'http://wiki.offgridthegame.com/index.php?title=UI_Lua_API#ShowNotification' 'DataType.Generic': 'prefix': 'DataType.Generic' 'body': 'DataType.Generic' 'description' : 'Any random data. Who knows, could be anything.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.Text': 'prefix': 'DataType.Text' 'body': 'DataType.Text' 'description' : 'Plain text or rich text content.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.SMS': 'prefix': 'DataType.SMS' 'body': 'DataType.SMS' 'description' : 'SMS. Don\'t use this! Legacy stuff.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.Image': 'prefix': 'DataType.Image' 'body': 'DataType.Image' 'description' : 'Image file. We\'ll try to display this for you in the File Viewer.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.Audio': 'prefix': 'DataType.Audio' 'body': 'DataType.Audio' 'description' : 'Audio file. There\'s no viewer for these yet.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.Video': 'prefix': 'DataType.Video' 'body': 'DataType.Video' 'description' : 'Video file. There\'s no viewer for these yet.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.Location': 'prefix': 'DataType.Location' 'body': 'DataType.Location' 'description' : 'Location data. just the coordinates, no much use apart from being a location marker in level' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.Key': 'prefix': 'DataType.Key' 'body': 'DataType.Key' 'description' : 'PGP key. For encryption, device/lock access etc.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'DataType.UUID': 'prefix': 'DataType.UUID' 'body': 'DataType.UUID' 'description' : 'Generic identifier for something.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'MissionObjectType.Trigger': 'prefix': 'MissionObjectType.Trigger' 'body': 'MissionObjectType.Trigger' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'MissionObjectType.Interaction': 'prefix': 'MissionObjectType.Interaction' 'body': 'MissionObjectType.Interaction' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'MissionObjectType.Spawn': 'prefix': 'MissionObjectType.Spawn' 'body': 'MissionObjectType.Spawn' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'MissionObjectType.Hackable': 'prefix': 'MissionObjectType.Hackable' 'body': 'MissionObjectType.Hackable' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'MissionObjectType.Generic': 'prefix': 'MissionObjectType.Generic' 'body': 'MissionObjectType.Generic' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'MissionObjectType.Deprecated': 'prefix': 'MissionObjectType.Deprecated' 'body': 'MissionObjectType.Deprecated' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'MissionObjectType.Timeline': 'prefix': 'MissionObjectType.Timeline' 'body': 'MissionObjectType.Timeline' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'InteractionType.Grab': 'prefix': 'InteractionType.Grab' 'body': 'InteractionType.Grab' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'InteractionType.OpenDoor': 'prefix': 'InteractionType.OpenDoor' 'body': 'InteractionType.OpenDoor' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'InteractionType.Scanning': 'prefix': 'InteractionType.Scanning' 'body': 'InteractionType.Scanning' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AIReactionType.FixAmokDevice': 'prefix': 'AIReactionType.FixAmokDevice' 'body': 'AIReactionType.FixAmokDevice' 'description' : 'The NPC will attempt to fix the amok device' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppState.unavailable': 'prefix': 'AppState.unavailable' 'body': 'AppState.unavailable' 'description' : 'The player doesn\'t have this app yet.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppState.disabled': 'prefix': 'AppState.disabled' 'body': 'AppState.disabled' 'description' : 'App can\'t be used at the moment, for example no network connection' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppState.off': 'prefix': 'AppState.off' 'body': 'AppState.off' 'description' : 'App is not doing anything' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppState.on': 'prefix': 'AppState.on' 'body': 'AppState.on' 'description' : 'App is switched on and running in the background' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppState.alert': 'prefix': 'AppState.alert' 'body': 'AppState.alert' 'description' : 'App displays alert to notify the player about something.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppMenuState.any': 'prefix': 'AppMenuState.any' 'body': 'AppMenuState.any' 'description' : 'Allowed in any of configuration' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppMenuState.never': 'prefix': 'AppMenuState.never' 'body': 'AppMenuState.never' 'description' : 'Never allowed in the selected menu' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppMenuState.always': 'prefix': 'AppMenuState.always' 'body': 'AppMenuState.always' 'description' : 'Always in the selected menu' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppMenuState.byDefault': 'prefix': 'AppMenuState.byDefault' 'body': 'AppMenuState.byDefault' 'description' : 'In the selected menu by default' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'AppMenuState.target': 'prefix': 'AppMenuState.target' 'body': 'AppMenuState.target' 'description' : 'Will be in the radial menu when its target types are selected' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TrackingStates.off': 'prefix': 'TrackingStates.off' 'body': 'TrackingStates.off' 'description' : 'Not connected to SPECTRUM.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TrackingStates.tracking': 'prefix': 'TrackingStates.tracking' 'body': 'TrackingStates.tracking' 'description' : 'Connected to SPECTRUM.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TrackingStates.alert': 'prefix': 'TrackingStates.alert' 'body': 'TrackingStates.alert' 'description' : 'Connected to SPECTRUM, almost out of time.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TrackingStates.overtime': 'prefix': 'TrackingStates.overtime' 'body': 'TrackingStates.overtime' 'description' : 'Connected to SPECTRUM, over time, restricted to minimum range' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TrackingStates.cooldown': 'prefix': 'TrackingStates.cooldown' 'body': 'TrackingStates.cooldown' 'description' : 'Disconnected from SPECTRUM, recovering.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TrackingStates.unlimited': 'prefix': 'TrackingStates.unlimited' 'body': 'TrackingStates.unlimited' 'description' : 'Unlimited connection. Cheater.' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NetworkType.mobile': 'prefix': 'NetworkType.mobile' 'body': 'NetworkType.mobile' 'description' : 'Mobile network (4G)- This will mainly just contain mobile phone devices' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NetworkType.wifi': 'prefix': 'NetworkType.wifi' 'body': 'NetworkType.wifi' 'description' : 'Wifi networks will be the most common, and will contain all sorts of devices' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NetworkType.mesh': 'prefix': 'NetworkType.mesh' 'body': 'NetworkType.mesh' 'description' : 'Mesh networks are mainly set up as part of a storyline' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NetworkType.nfc': 'prefix': 'NetworkType.nfc' 'body': 'NetworkType.nfc' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TargetType.None': 'prefix': 'TargetType.None' 'body': 'TargetType.None' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TargetType.Data': 'prefix': 'TargetType.Data' 'body': 'TargetType.Data' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TargetType.Interaction': 'prefix': 'TargetType.Interaction' 'body': 'TargetType.Interaction' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TargetType.Hackable': 'prefix': 'TargetType.Hackable' 'body': 'TargetType.Hackable' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'TargetType.Character': 'prefix': 'TargetType.Character' 'body': 'TargetType.Character' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NotificationType.sms': 'prefix': 'NotificationType.sms' 'body': 'NotificationType.sms' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NotificationType.generic': 'prefix': 'NotificationType.generic' 'body': 'NotificationType.generic' 'description' : 'Generic notification' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NotificationType.message': 'prefix': 'NotificationType.message' 'body': 'NotificationType.message' 'description' : 'Communicatiosn message' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NotificationType.download': 'prefix': 'NotificationType.download' 'body': 'NotificationType.download' 'description' : 'Receicing files' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NotificationType.newObjective': 'prefix': 'NotificationType.newObjective' 'body': 'NotificationType.newObjective' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'NotificationType.completedObjective': 'prefix': 'NotificationType.completedObjective' 'body': 'NotificationType.completedObjective' 'description' : '' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'PopupType.generic': 'prefix': 'PopupType.generic' 'body': 'PopupType.generic' 'description' : 'A generic popup' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'PopupType.message': 'prefix': 'PopupType.message' 'body': 'PopupType.message' 'description' : 'A message to the player' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'PopupType.warning': 'prefix': 'PopupType.warning' 'body': 'PopupType.warning' 'description' : 'A warning to the player' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'PopupType.download': 'prefix': 'PopupType.download' 'body': 'PopupType.download' 'description' : 'Begin a timed download window' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : '' 'PopupType.progress': 'prefix': 'PopupType.progress' 'body': 'PopupType.progress' 'description' : 'Trigger a progress bar' 'rightLabelHTML': '<span style="color:#DC9656">Off Grid</span>' 'descriptionMoreURL' : ''