-
Notifications
You must be signed in to change notification settings - Fork 1
Reddit config
On this page you can learn how to configure your reddit config file
You can access the config-file via a button in the settings, or by navigating to this folder %APPDATA%\EDCT
and opening the reddit.json
file
You can copy a text for reddit to your clipboard by clicking on the Reddit
button in a station-tile. This text is structured exactly like you define it in the reddit.json
file.
- The config file is in the .json format, so you need to use the json-structure for everything you type in this file.
- The file will be generated and filled with default content if it does not exist or is empty at the time you launch the tool.
- The default structure contains everything that is required and should work without changing anything.
The following two variables are used to determine in which order what information gets added to the string that is copied to your clipboard.
The structure that is defined here gets copied if you left-click on the Reddit-button. It should be used to define the structure of the title you want for your reddit post.
This variable defines the structure that gets copied when you right-click on the Reddit-button. It should be used to define the structure of the text you want for your reddit post.
The two structure-variables have a pretty simple syntax you can use. It is defined by the following rules:
- Each variable name needs to be separated from the next one with a space
- Each variable name should exist in the
Required Variables
orCustom Variables
(Except for theLINE
variable) - You can add a
+
to variables to add a pre-/suffix to the actual variable- A
+
before the variable-name adds a prefix to the text - A
+
after the variable-name adds a suffix to the text - Between the
+
and the variable name must not be a space - You can only use per-/suffixes on default variables that have a
PREFIX
orSUFFIX
field
- A
- Each variable can be upper, lower or pascal case
- A variable written in upper case will be converted to the variables text in upper case
- If a variable is written in lower case, the text for it will be converted to lower case as well
- All variables with the first character in upper case and the second one in lower case will stay as the text you wrote for them, without converting to upper or lower case.
- You can use as many variables as you like
- You don't have to use every variable that is defined in the
Required Variables
section
Each variable has a LOADING
and UNLOADING
version. Depending on the button you click, the text that is generated contains either the loading or unloading version.
- SEPARATOR
- This can be used for the space between other variables
- CARRIER
- You should add your carrier name here, so you don't have to type it each time you create a post
- TOOL_CREDITS
- This adds a small text at the end of your post by default. You can remove it from the
Text Structure
if you don't like it
- This adds a small text at the end of your post by default. You can remove it from the
- JOB and TYPE
- These variables are used to say weather it is a loading or unloading mission.
- Both are basically the same, but you can use one for the title and the other for the text
- COMMODITY
- This variable contains the commodity name
- You can add a pre- and suffix if you like, but it also works on its own
- PROFIT
- This variable contains the profit the traders will make
- You can add a pre- and suffix if you like, but it also works on its own
- PAD
- This variable contains the landing pad size (S, M or L)
- You can add a pre- and suffix if you like, but it also works on its own
- QUANTITY
- This variable represents the quantity filter you set
- You can add a pre- and suffix if you like, but it also works on its own
- STATION
- This variable contains the station name
- You can add a pre- and suffix if you like, but it also works on its own
- SYSTEM
- This variable contains the system name
- You can add a pre- and suffix if you like, but it also works on its own
- STATION_PRICE
- This variable contains the price the station is selling / buying the commodity at
- You can add a pre- and suffix if you like, but it also works on its own
- CARRIER_PRICE
- This variable contains the price at which your carrier buys / sells the commodity
- You can add a pre- and suffix if you like, but it also works on its own
If you want some additional text that gets added to your reddit-strings, you can define a custom variable and use it in the Title Structure
or Text Structure
variables. This variable needs to be the same structure as the example custom variable is. So you need a unique name for it and a Loading and Unloading string. A variable name should always be defined in upper case and must not have spaces, otherwise the tool won't find it.