From c9ef79480c1977d1aa080c2d8c70d401e9a92f52 Mon Sep 17 00:00:00 2001 From: SmartieCodes Date: Wed, 21 Aug 2019 20:02:36 -0400 Subject: [PATCH] Version 1.2 Added closing tags and fixed a couple typos --- examples/Node_Example.xml | 2 +- src/Actions.code-snippets | 72 +++++++++++++++++------------------ src/Factions.code-snippets | 4 +- src/Missions.code-snippets | 34 ++++++++--------- src/Nodes.code-snippets | 78 +++++++++++++++++++------------------- src/People.code-snippets | 6 +-- 6 files changed, 98 insertions(+), 98 deletions(-) diff --git a/examples/Node_Example.xml b/examples/Node_Example.xml index f00ef04..2722fba 100644 --- a/examples/Node_Example.xml +++ b/examples/Node_Example.xml @@ -41,7 +41,7 @@ - + %Extension ^Made by You! diff --git a/src/Actions.code-snippets b/src/Actions.code-snippets index 99e80f9..9428ab7 100644 --- a/src/Actions.code-snippets +++ b/src/Actions.code-snippets @@ -6,7 +6,7 @@ [ "", "\t$0", - "" ], "description": "REQUIRED FOR ACTIONS - The starting tag of any action file." }, @@ -17,7 +17,7 @@ [ "", "\t$0", - "" ], "description": "Instantly run a set of actions." }, @@ -28,7 +28,7 @@ [ "", "\t$0", - "" ], "description": "Run a set of actions when the player connects to the target node." }, @@ -39,7 +39,7 @@ [ "", "\t$0", - "" ], "description": "Run a set of actions when the player disconnects to the target node." }, @@ -50,109 +50,109 @@ [ "", "\t$0", - "" ] }, "RunFunction":{ "prefix":"", "scope": "xml", - "body": "", "description": "Run a mission function." }, "LoadMission":{ "prefix": "", "scope": "xml", - "body": "", "description": "Load a mission and send its email." }, "AddAsset":{ "prefix": "", "scope": "xml", - "body": "", "description": "Remotely add an asset to the target node." }, "CopyAsset":{ "prefix": "", "scope": "xml", - "body": "", "description": "Copy a file from a remote node." }, "AddMissionToHubServer":{ "prefix": "", "scope": "xml", - "body": "", "description": "Add a mission file to a mission hub." }, "RemoveMissionFromHubServer":{ "prefix": "", "scope": "xml", - "body": "", "description": "Remove a mission file from a mission hub." }, "AddThreadToMissionBoard":{ "prefix": "", "scope": "xml", - "body": "", "description": "Add a thread to an /el Sec-like board." }, "AddIRCMessage":{ "prefix": "", "scope": "xml", - "body": "$0$0", "description": "Add a generic IRC message." }, "AddIRCMessage_WithNote":{ "prefix": "", "scope": "xml", - "body": "!ATTACHMENT:note#%#${4:Note Title}#%#$0!ATTACHMENT:note#%#${4:Note Title}#%#$0", "description": "Add a note to an IRC." }, "AddIRCMessage_WithNode":{ "prefix": "", "scope": "xml", - "body": "!ATTACHMENT:link#%#${4:enemyNode}#%#${0:123.123.123.123}!ATTACHMENT:link#%#${4:enemyNode}#%#${0:123.123.123.123}", "description": "Add a node to an IRC." }, "AddIRCMessage_WithAccount":{ "prefix": "", "scope": "xml", - "body": "!ATTACHMENT:account#%#${4:enemyNode}#%#${5:123.123.123.123}#%#${6:username}#%#${0:password}!ATTACHMENT:account#%#${4:enemyNode}#%#${5:123.123.123.123}#%#${6:username}#%#${0:password}", "description": "Add account details to an IRC." }, "CrashComputer":{ "prefix":"", "scope": "xml", - "body": "", "description": "Crash a node." }, "DeleteFile":{ "prefix": "", "scope": "xml", - "body": "", "description": "Delete a file." }, "AddConditionalActions":{ "prefix": "", "scope": "xml", - "body": "", "description": "Load in a new action file." }, "SaveGame":{ "prefix": "", "scope": "xml", - "body": "", "description": "Save the game." }, "LaunchHackScript":{ "prefix": "", "scope": "xml", - "body": "", "description": "Launch a hacker script. Oo, spooky!" }, "SwitchToTheme":{ "prefix": "", "scope": "xml", - "body": "", "description": "Flicker the player into a new theme." }, "ScreenBleed":{ @@ -162,74 +162,74 @@ [ "${6:Break into the Moonshine servers}", "${7:Delete all files and backups}", - "${0:Get out of there!}" ], "description": "Start a screen bleed effect, mostly used in sequencers." }, "StopScreenBleed":{ "prefix": "", "scope": "xml", - "body": "", "description": "Stop a screen bleed effect." }, "AppendFile":{ "prefix": "", "scope": "xml", - "body": "${0:#PLAYER_IP#}${0:#PLAYER_IP#}", "description": "Append text to a file." }, "KillExe":{ "prefix": "", "scope": "xml", - "body": "", "description": "Kill any currently running exe with the title. Use * in ExeName to kill all currently running executables." }, "HideNode":{ "prefix": "", "scope": "xml", - "body": "", "description": "Hide a node from the NetMap." }, "GivePlayerUserAccount":{ "prefix": "", "scope": "xml", - "body": "", "description": "Give the player an existing account so they can automatically login to the specified node." }, "ChangeIP":{ "prefix": "", "scope": "xml", - "body": "", "description": "Change the IP of a specified node. Leave NewIP blank for a random IP." }, "HideAllNodes":{ "prefix": "", "scope": "xml", - "body": "", "description": "Hides all nodes visible on the NetMap." }, "ShowNode":{ "prefix": "", "scope": "xml", - "body": "", "description": "Reveals a node on the NetMap." }, "SetLock":{ "prefix": "", "scope": "xml", - "body": "", "description": "Locks or hides the specified module. Choices are terminal, ram, netmap, and display." }, "AlertIcon":{ "prefix": "", "scope": "xml", - "body": "", "description": "LABYRINTHS DLC ONLY - Change the mail icon to irc, irchub, board, or mail." }, "NetmapSort":{ "prefix": "", "scope": "xml", - "body": "", "description": "Change the way the netmap is sorted." }, "Sequencer_Template":{ @@ -250,7 +250,7 @@ "\t\t", "\t\t", - "" ] }, "StartingAction":{ @@ -262,7 +262,7 @@ "\t", "\t\t$0", "\t", - "" ], "description": "Defines a simple template for StartingActions." } diff --git a/src/Factions.code-snippets b/src/Factions.code-snippets index c6475a3..b0d3e0e 100644 --- a/src/Factions.code-snippets +++ b/src/Factions.code-snippets @@ -8,7 +8,7 @@ "\t", "\t$0", "\t", - "" ], "description": "Your faction file should start with this." }, @@ -19,7 +19,7 @@ [ "", "\t$0", - "" ], "description": "An action(s) to run when the requirements are met. Used like conditional actions." } diff --git a/src/Missions.code-snippets b/src/Missions.code-snippets index d946da3..5a18c45 100644 --- a/src/Missions.code-snippets +++ b/src/Missions.code-snippets @@ -30,7 +30,7 @@ "\t\t\t", "\t\t", "\t", - "" ], "description": "Full template for a basic mission layout using the FileDeletion goal. Refer to the official guide for more mission goals." }, @@ -62,98 +62,98 @@ "\t\t\t", "\t\t", "\t", - "" ], "description": "Full template for a basic mission layout using the FileDeletion goal. Refer to the official guide for more mission goals." }, "MissionGoalFileDeletion":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to delete the file on node target, at path/file" }, "ClearFolder":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to delete ALL files on node target, in the folder at path" }, "FileDownload":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to download the file at the path" }, "FileChange":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to add the text specified by keyword to the specified file. This is usually achieved by the \"replace\" command. It's possible to make the keyword a larger block and task the player to replace one file with another." }, "FileChangeRemove":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to remove the text specified by keyword to the specified file. This is usually achieved by the \"replace\" command. The extra attribute \"removal\" tasks the player with removing a block of text from a file. Combining this with another filechange task can require a \"replacement\" of text (removing some, adding a different block)." }, "GetAdmin":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to get admin on the target system." }, "DelayGoal":{ "prefix": "", "scope": "xml", - "body": "", "description": "This task will not complete until \"time\" seconds after the first attempt to complete it has been made." }, "HasFlag":{ "prefix": "", "scope": "xml", - "body": "", "description": "This will only accept if the target flag has been set." }, "UploadFile":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to require a string passed in via the \"Additional Info\" field in the reply email screen." }, "UploadFileDecrypted":{ "prefix": "", "scope": "xml", - "body": "", "description": "For uploading encrypted files - put the encrypted name here (ending with .dec usually). It doesn't matter what the filename of the decrypted one becomes." }, "GetString":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to require a string passed in via the \"Additional Info\" field in the reply email screen." }, "AddDegree":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to add the degree matching the degree name and uni and GPA details for the listed owner. This task *requires* an academic server to exist." }, "WipeDegrees":{ "prefix": "", "scope": "xml", - "body": "", "description": "Task to remove all degrees from the academic server for a specified owner. Note that for this one, you *MUST* have the ID of your database be \"academic\" or it wont find it." }, "SendEmail":{ "prefix": "", "scope": "xml", - "body": "", "description": "NOTE: THIS IS KNOWN TO BE A BUGGY GOAL - Task to have an email sent to a specified address with a defined subject." }, "GetAdminPassword":{ "prefix": "", "scope": "xml", - "body": "", "description": "Requires the player to respond with the current admin password for the linked server. This is useful for servers that change passwords - like ones with password resetting admins, and databases that allow for admin password reset." } } \ No newline at end of file diff --git a/src/Nodes.code-snippets b/src/Nodes.code-snippets index 795269a..4a3ef34 100644 --- a/src/Nodes.code-snippets +++ b/src/Nodes.code-snippets @@ -7,7 +7,7 @@ "", "", "\t$0", - "" ], "description": "REQUIRED FOR NODES - The basic layout of an empty node in Hacknet." }, @@ -16,44 +16,44 @@ "scope": "xml", "body":[ "${1:21,22,25,80,1433,6881,554}", - "" ], "description": "The basic structure for ports in a Hacknet node." }, "Firewall":{ "prefix": "", "scope": "xml", - "body": "", "description": "Firewalls for node security in Hacknet." }, "Proxy":{ "prefix": "", "scope": "xml", - "body": "", "description": "Proxy for node security in Hacknet." }, "Account":{ "prefix": "", "scope": "xml", - "body": "", "description": "Accounts for nodes within Hacknet." }, "AdminPass":{ "prefix": "", "scope": "xml", - "body": "", "description": "Admin login for nodes. This will determine the password for the \"admin\" login." }, "AdminType":{ "prefix": "", "scope": "xml", - "body": "", "description": "The type of admin account on the node." }, "TraceTimer":{ "prefix": "", "scope": "xml", - "body": "", "description": "The trace timer for nodes." }, "Tracker":{ @@ -71,73 +71,73 @@ "Linking":{ "prefix": "", "scope": "xml", - "body": "", "description": "Links current node with another node, you can link as many as you'd like." }, "PositionNear":{ "prefix": "", "scope": "xml", - "body": "", "description": "This positions this computer near the target on the network map." }, "TextFile":{ "prefix": "", "scope": "xml", - "body": "${0:We're not in Kansas anymore, Toto.}${0:We're not in Kansas anymore, Toto.}", "description": "Will create a basic text file for a node in Hacknet." }, "ProgramFile":{ "prefix": "", "scope": "xml", - "body": "${0:#FTP_FAST_EXE#}${0:#FTP_FAST_EXE#}", "description": "Creates a template for a program file - FTPSprint used as the template." }, "CustomThemeFile":{ "prefix": "", "scope": "xml", - "body": "", "description": "Creates a file for custom theme in a node." }, "EncryptedFile":{ "prefix": "", "scope": "xml", - "body": "${0:Bit died in Hacknet!}${0:Bit died in Hacknet!}", "description": "Makes an encrypted file with the option to remove the password." }, "DeathRow":{ "prefix": "", "scope": "xml", - "body": "", "description": "Death row database loads a pre-set collection of records." }, "AcademicDaemon":{ "prefix": "", "scope": "xml", - "body": "", "description": "Academic Database. Grabs details from People files." }, "ISP":{ "prefix": "", "scope": "xml", - "body": "", "description": "An ISP system, like the one used in the ETAS (Emergency Trace Aversion Sequence)." }, "MedicalDaemon":{ "prefix": "", "scope": "xml", - "body": "", "description": "A medical database, like what Kellis uses. Grabs details from People files." }, "UploadServer":{ "prefix": "", "scope": "xml", - "body": "", "description": "This is a special sort of server that allows you to upload files to it without admin permissions." }, "WebServer":{ "prefix":"", "scope": "xml", - "body": "", "description": "Web servers are added like this - you can add your own web pages to the web presets folder and have them show up in-game too!" }, "MessageBoard":{ @@ -147,7 +147,7 @@ [ "", "\t${2:Docs}\/${3:Threads}\/${0:Thread1.txt}", - "" ], "description": "/el style message board." }, @@ -161,38 +161,38 @@ "\t", "\t\t$0", "\t", - "" ], "description": "Mail servers - you can use these to hold emails!" }, "HeartMonitor":{ "prefix": "", "scope": "xml", - "body": "", "description": "A heart monitor, like the one used in Project Junebug." }, "PointClicker":{ "prefix": "", "scope": "xml", - "body": "", "description": "Yep." }, "SongChanger":{ "prefix": "", "scope": "xml", - "body": "", "description": "Allows the user to change to any non-DLC song from the base game." }, "VariableMissionListing":{ "prefix": "", "scope": "xml", - "body": "", "description": "Lists news articles and missions like on Entropy or SlashBot." }, "MissionHubDaemon":{ "prefix": "", "scope": "xml", - "body": "", "description": "Creates a CSEC-Style mission board" }, "CreditsDaemon":{ @@ -203,14 +203,14 @@ "%${1:Big Text}", "^${2:Medium Text}", "${3:Small Text}", - "" ], "description": "Credits server, example credits file included." }, "DelayHost":{ "prefix":"", "scope": "xml", - "body": "", "description": "An optimized Action host daemon - this daemon does nothing except host delayable actions - but it is much more efficient at doing that than other servers. If you have lots of actions looping or in delay at once (more than 50, say) it might be worth moving them to be delay hosted on one of these if you encounter performance issues." }, "IRC":{ @@ -221,26 +221,26 @@ "", "\t", "\t$0", - "" ], "description": "Creates an IRC daemon (without missions etc - just the chat)." }, "CustomConnect":{ "prefix": "", "scope": "xml", - "body": "", "description": "Changes the default connect display to look like the one the \"ricer\" had in Labyrinths" }, "WhitelistSource":{ "prefix": "", "scope": "xml", - "body": "", "description": "This is your basic whitelist server \"host\" type - it wont check incoming connection to itself against it's list. It only serves a protective function against *other* servers." }, "WhitelistProtected":{ "prefix": "", "scope": "xml", - "body": "", "description": "This one connects to a remote host and checks against that host's whitelist." }, "IRCHub":{ @@ -250,7 +250,7 @@ [ "", "\t", - "" ], "description": "LABYRINTHS DLC ONLY - Creates a bibliotheque (DLC IRC server) style message board. Can be used to inject missions and messages into via the faction system." }, @@ -261,14 +261,14 @@ [ "${5:Line One}", "${6:Line Two}", - "${0:Line Three}" ], "description": "LABYRINTHS DLC ONLY - Displays a big logo on the front of the server with optional messages underneath. If you do not provide a logo image path, it'll display a fancy loading spinner instead." }, "CustomConnectLogo":{ "prefix": "", "scope": "xml", - "body": "", "description": "LABYRINTHS DLC ONLY - Custom connect display with a nameplate logo and title image like PacificAir had in Labyrinths." }, "DatabaseDaemon":{ @@ -280,7 +280,7 @@ "\t\t$8", "\t\t$0", "\t", - "" ], "description": "LABYRINTHS DLC ONLY - Database daemons display a list of records of any datatype in Hacknet. Providing no datatype will give the \"API Access\" screen like Pacific air had." }, @@ -305,7 +305,7 @@ "\t", "\t\t${0:Images/EasterEgg.png}", "\t", - "" ], "description": "LABYRINTHS DLC ONLY - This is the memory that will be turned into a memory dump using MemDumpGenerator.exe" }, @@ -326,7 +326,7 @@ "\t\t\t${0:Images/EasterEgg.png}", "\t\t", "\t", - "" ], "description": "LABYRINTHS DLC ONLY - Memory dump file - this can be downloaded and analyzed with MemForensics.exe" } diff --git a/src/People.code-snippets b/src/People.code-snippets index 7804408..33fc3a1 100644 --- a/src/People.code-snippets +++ b/src/People.code-snippets @@ -9,7 +9,7 @@ "\t", "\t${8:These will not show up in game. Take me home, country roads.}", "\t$0", - "" ], "description": "The bare-bones layout of a basic person." }, @@ -21,7 +21,7 @@ "", "\t${3:Bachelor of PortHack}", "\t${0:Bachelor of Sequencer}", - "" ], "description": "The layout of academics for a people file. You should run first." }, @@ -37,7 +37,7 @@ "\t${4:You can have multiple of these.}", "\t${5:These show up in medical records.}", "", - "${0:17/02/1990 09:00:00}${0:17/02/1990 09:00:00}" ] } } \ No newline at end of file