<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AMissionreq%2Fdata%2Fdoc</id>
	<title>Module:Missionreq/data/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AMissionreq%2Fdata%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Module:Missionreq/data/doc&amp;action=history"/>
	<updated>2026-06-04T14:03:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geministation.com/index.php?title=Module:Missionreq/data/doc&amp;diff=5410&amp;oldid=prev</id>
		<title>Banri: Created page with &quot;{{documentation}} ==How to update this page== First off, why is this a module? This is a module because with Lua we can perform the task at hand many times more efficiently....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Module:Missionreq/data/doc&amp;diff=5410&amp;oldid=prev"/>
		<updated>2020-06-12T23:14:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation}} ==How to update this page== First off, why is this a module? This is a module because with Lua we can perform the task at hand many times more efficiently....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation}}&lt;br /&gt;
==How to update this page==&lt;br /&gt;
First off, why is this a module? This is a module because with Lua we can perform the task at hand many times more efficiently.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
So how do you update this template? First off, it&amp;#039;s not a template. The [[Template:Missionreq]] is just going to be a wrapper template so that everything is neater. The actual code for creating the list is hosted at [[Module:Missionreq]]. &amp;#039;&amp;#039;&amp;#039;You do not edit this page to add new missions&amp;#039;&amp;#039;&amp;#039;. To add a new mission, you need to find [[Module:Missionreq/data]].&lt;br /&gt;
&lt;br /&gt;
Why is the mission list on a different page? It&amp;#039;s cleaner. If the main module has a problem that needs editing, it&amp;#039;ll be more helpful to have significant changes split off from mission additions.&lt;br /&gt;
&lt;br /&gt;
So how do you add a new mission? This is really easy actually, though someone without coding experience might find it confusing. I&amp;#039;ll try to dumb it down as much as possible and take it step by step.&lt;br /&gt;
&lt;br /&gt;
# Find [[Module:Missionreq/data]] and open the editor&lt;br /&gt;
# Find where to place a mission in alphabetical order (remember that articles—the, a, an—are not included for ordering, so &amp;quot;The Mission Name&amp;quot; begins with &amp;quot;Mission&amp;quot; and not &amp;quot;The&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
# Add a new line and start it with a tab character &amp;lt;span style=&amp;quot;white-space:pre; background:blue;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt; (you can copy that blue colored character there or copy it in the editor when you&amp;#039;re adding)&lt;br /&gt;
# After the tab character, add the mission name &amp;#039;&amp;#039;&amp;#039;surrounded with quote marks (&amp;quot;)&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;surround that with square brackets&amp;#039;&amp;#039;&amp;#039;. So if the mission was called &amp;quot;Galactic Treasure&amp;quot;, we would add &amp;lt;code&amp;gt;[&amp;quot;Galactic Treasure&amp;quot;]&amp;lt;/code&amp;gt; after the tab character.&lt;br /&gt;
# After that mission name, add this: &amp;lt;code&amp;gt; = {},&amp;lt;/code&amp;gt;&lt;br /&gt;
# At this point, our whole line is:&lt;br /&gt;
#: &amp;lt;span style=&amp;quot;white-space:pre; background:blue;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;code&amp;gt;[&amp;quot;Galactic Treasure&amp;quot;] = {},&amp;lt;/code&amp;gt;&lt;br /&gt;
#: It is important that &amp;#039;&amp;#039;&amp;#039;every mission follow this format&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# If there are no required mission for the mission you just added, then it is finished, and you can press save, but if there are, continue following these steps:&lt;br /&gt;
# For every mission that is required for what you are adding, edit the list (the stuff surrounded by &amp;lt;code&amp;gt;{}&amp;lt;/code&amp;gt;) with the mission names&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Every mission name needs to be surrounded by quote marks (&amp;quot;)&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;all of this strings need to be followed by a comma (,) except for the last one&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#* Let&amp;#039;s say the missions required are &amp;quot;Ship Permit&amp;quot; and &amp;quot;Travel Permit&amp;quot;&lt;br /&gt;
## Every mission when added to the list needs to follow &amp;#039;&amp;#039;&amp;#039;the exact same casing&amp;#039;&amp;#039;&amp;#039;. If there are any differences, then the list will not work properly. You can check the line the mission required is on to see what casing to use.&lt;br /&gt;
## So we want to edit &amp;lt;code&amp;gt;{}&amp;lt;/code&amp;gt; to include those missions. Following the instructions above, we would come out with &amp;lt;code&amp;gt;{&amp;quot;Ship Permit&amp;quot;, &amp;quot;Travel Permit&amp;quot;}&amp;lt;/code&amp;gt;&lt;br /&gt;
##* Final product is: &amp;lt;span style=&amp;quot;white-space:pre; background:blue;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;code&amp;gt;[&amp;quot;Galactic Treasure&amp;quot;] = {&amp;quot;Ship Permit&amp;quot;, &amp;quot;Travel Permit&amp;quot;},&amp;lt;/code&amp;gt;&lt;br /&gt;
#* It is &amp;#039;&amp;#039;&amp;#039;extremely important to remember&amp;#039;&amp;#039;&amp;#039; that you cannot use a quote mark in the mission name without escaping it, because the quote is the delimiter of the string. Escaping means you add a backslash (\) before the quote. So if another mission was called &amp;quot;Carter&amp;#039;s &amp;quot;Greatest&amp;quot; Discovery&amp;quot;, it would be included in the list as &amp;lt;code&amp;gt;&amp;quot;Carter&amp;#039;s \&amp;quot;Greatest\&amp;quot; Discovery&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For examples, see the code below. You could also simply copy an existing line and then modify the contents of the quotes as required.&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re afraid of screwing up or forget what&amp;#039;s important, here&amp;#039;s what absolutely needs to be remembered for names:&lt;br /&gt;
* Surrounded by quotes&lt;br /&gt;
* Exact casing&lt;br /&gt;
* Strict consistency in name&lt;br /&gt;
* Commas to separate&lt;br /&gt;
&lt;br /&gt;
===Sub-requirements===&lt;br /&gt;
So what do I about missions required for the missions required for the mission I just added? Nothing, you do nothing. If you entered the name correctly into the list, then it will automatically make the sublists and the subsublists. In other words, &amp;#039;&amp;#039;&amp;#039;only add missions that are direct requirements to the mission being added&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
What is a script error? A script error means something went wrong. If you understand Lua, you can take a chance yourself, or you can post a message to Banri in the Discord Server.&lt;br /&gt;
&lt;br /&gt;
By default, you will be prevented from saving a change to these pages if your edit has a syntax error. You may need to start from scratch and follow the instructions more obediently. If you think you did as described perfectly and still can&amp;#039;t save, then post a message to Banri.&lt;/div&gt;</summary>
		<author><name>Banri</name></author>
	</entry>
</feed>