Skip to content

Commit c9ef794

Browse files
committed
Version 1.2
Added closing tags and fixed a couple typos
1 parent b9c416e commit c9ef794

6 files changed

Lines changed: 98 additions & 98 deletions

File tree

examples/Node_Example.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
<variableMissionListingServer name="TwilightZone" iconPath="twLogo.png" articleFolderPath="Missions/TwilightZone" color="120,200,2" assigner="true" public="false" title="Twilight Zone Mission Hub"/>
4343

44-
<missionHubServer groupName="Moonshine" serviceName="Moonshine Security" missionFodlerpath="Missions/MoonshineSecurity" themeColor="200,10,10" lineColor="255,80,80" backgroundColor="20,20,20" allowAbandon="false"/>
44+
<missionHubServer groupName="Moonshine" serviceName="Moonshine Security" missionFolderpath="Missions/MoonshineSecurity" themeColor="200,10,10" lineColor="255,80,80" backgroundColor="20,20,20" allowAbandon="false"/>
4545

4646
<file path="home" name="CreditsData.txt">%Extension
4747
^Made by You!

src/Actions.code-snippets

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[
77
"<ConditionalActions>",
88
"\t$0",
9-
"</ConditionalActions"
9+
"</ConditionalActions>"
1010
],
1111
"description": "REQUIRED FOR ACTIONS - The starting tag of any action file."
1212
},
@@ -17,7 +17,7 @@
1717
[
1818
"<Instantly needsMissionComplete=\"${1:false}\">",
1919
"\t$0",
20-
"</Instantly"
20+
"</Instantly>"
2121
],
2222
"description": "Instantly run a set of actions."
2323
},
@@ -28,7 +28,7 @@
2828
[
2929
"<OnConnect target=\"$1\">",
3030
"\t$0",
31-
"</OnConnect"
31+
"</OnConnect>"
3232
],
3333
"description": "Run a set of actions when the player connects to the target node."
3434
},
@@ -39,7 +39,7 @@
3939
[
4040
"<OnDisconnect target=\"$1\">",
4141
"\t$0",
42-
"</OnDisconnect"
42+
"</OnDisconnect>"
4343
],
4444
"description": "Run a set of actions when the player disconnects to the target node."
4545
},
@@ -50,109 +50,109 @@
5050
[
5151
"<HasFlags requiredFlags=\"$1\">",
5252
"\t$0",
53-
"</HasFlags"
53+
"</HasFlags>"
5454
]
5555
},
5656
"RunFunction":{
5757
"prefix":"<RunFunction>",
5858
"scope": "xml",
59-
"body": "<RunFunction FunctionName=\"$1\" FunctionValue=\"${0:0}\"/",
59+
"body": "<RunFunction FunctionName=\"$1\" FunctionValue=\"${0:0}\"/>",
6060
"description": "Run a mission function."
6161
},
6262
"LoadMission":{
6363
"prefix": "<LoadMission>",
6464
"scope": "xml",
65-
"body": "<LoadMission MissionName=\"Missions/${0:SurpriseMission.xml}\"/",
65+
"body": "<LoadMission MissionName=\"Missions/${0:SurpriseMission.xml}\"/>",
6666
"description": "Load a mission and send its email."
6767
},
6868
"AddAsset":{
6969
"prefix": "<AddAsset>",
7070
"scope": "xml",
71-
"body": "<AddAsset FileName=\"$1\" FileContents=\"$2\" TargetComp=\"${3:playerComp}\" TargetFolderpath=\"${0:home}\"/",
71+
"body": "<AddAsset FileName=\"$1\" FileContents=\"$2\" TargetComp=\"${3:playerComp}\" TargetFolderpath=\"${0:home}\"/>",
7272
"description": "Remotely add an asset to the target node."
7373
},
7474
"CopyAsset":{
7575
"prefix": "<CopyAsset>",
7676
"scope": "xml",
77-
"body": "<CopyAsset DestFilePath=\"${1:home}\" DestComp=\"${2:playerComp}\" SourceComp=\"${3:assetNode}\" SourceFileName=\"${4:copycat.txt}\" SourceFilePath=\"${0:home/copy}\"/",
77+
"body": "<CopyAsset DestFilePath=\"${1:home}\" DestComp=\"${2:playerComp}\" SourceComp=\"${3:assetNode}\" SourceFileName=\"${4:copycat.txt}\" SourceFilePath=\"${0:home/copy}\"/>",
7878
"description": "Copy a file from a remote node."
7979
},
8080
"AddMissionToHubServer":{
8181
"prefix": "<AddMissionToHubServer>",
8282
"scope": "xml",
83-
"body": "<AddMissionToHubServer MissionFilepath=\"Missions/${1:HubMission.xml}\" TargetComp=\"${2:missionHub}\" AssignmentTag=\"${0:Kaguya}\"/",
83+
"body": "<AddMissionToHubServer MissionFilepath=\"Missions/${1:HubMission.xml}\" TargetComp=\"${2:missionHub}\" AssignmentTag=\"${0:Kaguya}\"/>",
8484
"description": "Add a mission file to a mission hub."
8585
},
8686
"RemoveMissionFromHubServer":{
8787
"prefix": "<RemoveMissionFromHubServer>",
8888
"scope": "xml",
89-
"body": "<RemoveMissionFromHubServer MissionFilepath=\"Missions/${1:HubMission.xml}\" TargetComp=\"${0:missionHub}\"/",
89+
"body": "<RemoveMissionFromHubServer MissionFilepath=\"Missions/${1:HubMission.xml}\" TargetComp=\"${0:missionHub}\"/>",
9090
"description": "Remove a mission file from a mission hub."
9191
},
9292
"AddThreadToMissionBoard":{
9393
"prefix": "<AddThreadToMissionBoard>",
9494
"scope": "xml",
95-
"body": "<AddThreadToMissionBoard ThreadFilepath=\"${1:Docs/Thread.txt}\" TargetComp=\"${0:elSec}\"/",
95+
"body": "<AddThreadToMissionBoard ThreadFilepath=\"${1:Docs/Thread.txt}\" TargetComp=\"${0:elSec}\"/>",
9696
"description": "Add a thread to an /el Sec-like board."
9797
},
9898
"AddIRCMessage":{
9999
"prefix": "<AddIRCMessage>",
100100
"scope": "xml",
101-
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">$0</AddIRCMessage",
101+
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">$0</AddIRCMessage>",
102102
"description": "Add a generic IRC message."
103103
},
104104
"AddIRCMessage_WithNote":{
105105
"prefix": "<AddIRCNote>",
106106
"scope": "xml",
107-
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">!ATTACHMENT:note#%#${4:Note Title}#%#$0</AddIRCMessage",
107+
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">!ATTACHMENT:note#%#${4:Note Title}#%#$0</AddIRCMessage>",
108108
"description": "Add a note to an IRC."
109109
},
110110
"AddIRCMessage_WithNode":{
111111
"prefix": "<AddIRCNode>",
112112
"scope": "xml",
113-
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">!ATTACHMENT:link#%#${4:enemyNode}#%#${0:123.123.123.123}</AddIRCMessage",
113+
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">!ATTACHMENT:link#%#${4:enemyNode}#%#${0:123.123.123.123}</AddIRCMessage>",
114114
"description": "Add a node to an IRC."
115115
},
116116
"AddIRCMessage_WithAccount":{
117117
"prefix": "<AddIRCAccount>",
118118
"scope": "xml",
119-
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">!ATTACHMENT:account#%#${4:enemyNode}#%#${5:123.123.123.123}#%#${6:username}#%#${0:password}</AddIRCMessage",
119+
"body": "<AddIRCMessage Author=\"${1:Kaguya}\" TargetComp=\"${2:ircNode}\" Delay=\"$3\">!ATTACHMENT:account#%#${4:enemyNode}#%#${5:123.123.123.123}#%#${6:username}#%#${0:password}</AddIRCMessage>",
120120
"description": "Add account details to an IRC."
121121
},
122122
"CrashComputer":{
123123
"prefix":"<CrashComputer>",
124124
"scope": "xml",
125-
"body": "<CrashComputer TargetComp=\"${1:playerComp}\" CrashSource=\"${2:enemyNode}\" DelayHost=\"${3:delayNode}\" Delay=\"$0\"/",
125+
"body": "<CrashComputer TargetComp=\"${1:playerComp}\" CrashSource=\"${2:enemyNode}\" DelayHost=\"${3:delayNode}\" Delay=\"$0\"/>",
126126
"description": "Crash a node."
127127
},
128128
"DeleteFile":{
129129
"prefix": "<DeleteFile>",
130130
"scope": "xml",
131-
"body": "<DeleteFile TargetComp=\"${1:playerComp}\" FilePath=\"${2:home}\" FileName=\"${3:deleteme.txt}\" DelayHost=\"${4:delayNode}\" Delay=\"$0\"/",
131+
"body": "<DeleteFile TargetComp=\"${1:playerComp}\" FilePath=\"${2:home}\" FileName=\"${3:deleteme.txt}\" DelayHost=\"${4:delayNode}\" Delay=\"$0\"/>",
132132
"description": "Delete a file."
133133
},
134134
"AddConditionalActions":{
135135
"prefix": "<AddConditionalActions>",
136136
"scope": "xml",
137-
"body": "<AddConditionalActions Filepath=\"Actions/${1:NextAction.xml}\" DelayHost=\"${2:delayNode}\" Delay=\"$0\"/",
137+
"body": "<AddConditionalActions FilePath=\"Actions/${1:NextAction.xml}\" DelayHost=\"${2:delayNode}\" Delay=\"$0\"/>",
138138
"description": "Load in a new action file."
139139
},
140140
"SaveGame":{
141141
"prefix": "<SaveGame>",
142142
"scope": "xml",
143-
"body": "<SaveGame DelayHost=\"${1:delayNode}\" Delay=\"$0\"/",
143+
"body": "<SaveGame DelayHost=\"${1:delayNode}\" Delay=\"$0\"/>",
144144
"description": "Save the game."
145145
},
146146
"LaunchHackScript":{
147147
"prefix": "<LaunchHackScript>",
148148
"scope": "xml",
149-
"body": "<LaunchHackScript Filepath=\"${1:Scripts}/${2:HackerScript.txt}\" DelayHost=\"${3:delayNode}\" Delay=\"$4\" SourceComp=\"${5:enemyNode}\" TargetComp=\"${6:playerComp}\" RequireLogsOnSource=\"${7:false}\" RequireSourceIntact=\"${0:true}\"/",
149+
"body": "<LaunchHackScript FilePath=\"${1:Scripts}/${2:HackerScript.txt}\" DelayHost=\"${3:delayNode}\" Delay=\"$4\" SourceComp=\"${5:enemyNode}\" TargetComp=\"${6:playerComp}\" RequireLogsOnSource=\"${7:false}\" RequireSourceIntact=\"${0:true}\"/>",
150150
"description": "Launch a hacker script. Oo, spooky!"
151151
},
152152
"SwitchToTheme":{
153153
"prefix": "<SwitchToTheme>",
154154
"scope": "xml",
155-
"body": "<SwitchToTheme ThemePathOrName=\"Themes/${1:ExampleTheme.xml}\" FlickerInDuration=\"${2:3.0}\" DelayHost=\"${3:delayNode}\" Delay=\"$0\"/",
155+
"body": "<SwitchToTheme ThemePathOrName=\"Themes/${1:ExampleTheme.xml}\" FlickerInDuration=\"${2:3.0}\" DelayHost=\"${3:delayNode}\" Delay=\"$0\"/>",
156156
"description": "Flicker the player into a new theme."
157157
},
158158
"ScreenBleed":{
@@ -162,74 +162,74 @@
162162
[
163163
"<StartScreenBleedEffect AlertTitle=\"${1:Sequencer Attack}\" CompleteAction=\"Actions/${2:ScreenBleedFailed.xml}\" TotalDurationSeconds=\"$3\" DelayHost=\"${4:delayNode}\" Delay=\"$5\">${6:Break into the Moonshine servers}",
164164
"${7:Delete all files and backups}",
165-
"${0:Get out of there!}</StartScreenBleedEffect"
165+
"${0:Get out of there!}</StartScreenBleedEffect>"
166166
],
167167
"description": "Start a screen bleed effect, mostly used in sequencers."
168168
},
169169
"StopScreenBleed":{
170170
"prefix": "<CancelScreenBleed>",
171171
"scope": "xml",
172-
"body": "<CancelScreenBleedEffect DelayHost=\"${1:delayNode}\" Delay=\"$0\"/",
172+
"body": "<CancelScreenBleedEffect DelayHost=\"${1:delayNode}\" Delay=\"$0\"/>",
173173
"description": "Stop a screen bleed effect."
174174
},
175175
"AppendFile":{
176176
"prefix": "<AppendToFile>",
177177
"scope": "xml",
178-
"body": "<AppendToFile DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${3:companyWhitelist}\" TargetFolderpath=\"${4:Whitelist}\" TargetFilename=\"${5:list.txt}\">${0:#PLAYER_IP#}</AppendToFile",
178+
"body": "<AppendToFile DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${3:companyWhitelist}\" TargetFolderpath=\"${4:Whitelist}\" TargetFilename=\"${5:list.txt}\">${0:#PLAYER_IP#}</AppendToFile>",
179179
"description": "Append text to a file."
180180
},
181181
"KillExe":{
182182
"prefix": "<KillExe>",
183183
"scope": "xml",
184-
"body": "<KillExe DelayHost=\"${1:delayNode}\" Delay=\"$2\" ExeName=\"${0:*}\"/",
184+
"body": "<KillExe DelayHost=\"${1:delayNode}\" Delay=\"$2\" ExeName=\"${0:*}\"/>",
185185
"description": "Kill any currently running exe with the title. Use * in ExeName to kill all currently running executables."
186186
},
187187
"HideNode":{
188188
"prefix": "<HideNode>",
189189
"scope": "xml",
190-
"body": "<HideNode DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${0:companySecurity}\"/",
190+
"body": "<HideNode DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${0:companySecurity}\"/>",
191191
"description": "Hide a node from the NetMap."
192192
},
193193
"GivePlayerUserAccount":{
194194
"prefix": "<GivePlayerUserAccount>",
195195
"scope": "xml",
196-
"body": "<GivePlayerUserAccount DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${3:teamHub}\" Username=\"${0:#PLAYERNAME#}\"/",
196+
"body": "<GivePlayerUserAccount DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${3:teamHub}\" Username=\"${0:#PLAYERNAME#}\"/>",
197197
"description": "Give the player an existing account so they can automatically login to the specified node."
198198
},
199199
"ChangeIP":{
200200
"prefix": "<ChangeIP>",
201201
"scope": "xml",
202-
"body": "<ChangeIP DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${3:finalNode}\" NewIP=\"$0\"/",
202+
"body": "<ChangeIP DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${3:finalNode}\" NewIP=\"$0\"/>",
203203
"description": "Change the IP of a specified node. Leave NewIP blank for a random IP."
204204
},
205205
"HideAllNodes":{
206206
"prefix": "<HideAllNodes>",
207207
"scope": "xml",
208-
"body": "<HideAllNodes DelayHost=\"${1:delayNode}\" Delay=\"$0\"/",
208+
"body": "<HideAllNodes DelayHost=\"${1:delayNode}\" Delay=\"$0\"/>",
209209
"description": "Hides all nodes visible on the NetMap."
210210
},
211211
"ShowNode":{
212212
"prefix": "<ShowNode>",
213213
"scope": "xml",
214-
"body": "<ShowNode DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${0:storageServer}\"/",
214+
"body": "<ShowNode DelayHost=\"${1:delayNode}\" Delay=\"$2\" TargetComp=\"${0:storageServer}\"/>",
215215
"description": "Reveals a node on the NetMap."
216216
},
217217
"SetLock":{
218218
"prefix": "<SetLock>",
219219
"scope": "xml",
220-
"body": "<SetLock DelayHost=\"${1:delayNode}\" Delay=\"$2\" Module=\"${3:terminal}\" IsLocked=\"${4:true}\" IsHidden=\"${0:false}\"/",
220+
"body": "<SetLock DelayHost=\"${1:delayNode}\" Delay=\"$2\" Module=\"${3:terminal}\" IsLocked=\"${4:true}\" IsHidden=\"${0:false}\"/>",
221221
"description": "Locks or hides the specified module. Choices are terminal, ram, netmap, and display."
222222
},
223223
"AlertIcon":{
224224
"prefix": "<ChangeAlertIcon>",
225225
"scope": "xml",
226-
"body": "<ChangeAlertIcon Target=\"${1:mainHub}\" Type=\"${2:irchub}\" DelayHost=\"${3:delayNode}\" Delay=\"$0\"/",
226+
"body": "<ChangeAlertIcon Target=\"${1:mainHub}\" Type=\"${2:irchub}\" DelayHost=\"${3:delayNode}\" Delay=\"$0\"/>",
227227
"description": "LABYRINTHS DLC ONLY - Change the mail icon to irc, irchub, board, or mail."
228228
},
229229
"NetmapSort":{
230230
"prefix": "<ChangeNetmapSortMethod>",
231231
"scope": "xml",
232-
"body": "<ChangeNetmapSortMethod DelayHost=\"${1:delayNode}\" Delay=\"$2\" Method=\"${0:grid}\"/",
232+
"body": "<ChangeNetmapSortMethod DelayHost=\"${1:delayNode}\" Delay=\"$2\" Method=\"${0:grid}\"/>",
233233
"description": "Change the way the netmap is sorted."
234234
},
235235
"Sequencer_Template":{
@@ -250,7 +250,7 @@
250250
"\t\t<CancelScreenBleedEffect DelayHost=\"${15:delayNode}\" Delay=\"${16:0.0}\"/>",
251251
"\t\t<KillExe DelayHost=\"${17:delayNode}\" Delay=\"${18:0.0}\" ExeName=\"${0:ESequencer}\"/",
252252
"\t</HasFlags>",
253-
"</ConditionalActions"
253+
"</ConditionalActions>"
254254
]
255255
},
256256
"StartingAction":{
@@ -262,7 +262,7 @@
262262
"\t<OnConnect target=\"playerComp\">",
263263
"\t\t$0",
264264
"\t</OnConnect>",
265-
"</ConditionalActions"
265+
"</ConditionalActions>"
266266
],
267267
"description": "Defines a simple template for StartingActions."
268268
}

src/Factions.code-snippets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"\t",
99
"\t$0",
1010
"\t",
11-
"</CustomFaction"
11+
"</CustomFaction>"
1212
],
1313
"description": "Your faction file should start with this."
1414
},
@@ -19,7 +19,7 @@
1919
[
2020
"<Action ValueRequired=\"${1:1}\" Flags=\"$2\">",
2121
"\t$0",
22-
"</Action"
22+
"</Action>"
2323
],
2424
"description": "An action(s) to run when the requirements are met. Used like conditional actions."
2525
}

0 commit comments

Comments
 (0)