Data Types[edit | edit source]
There are six data types in Desynced
- Item Type
- Unit Type
- Component Type
- Technology Type
- Informational Value Type
- Coordinate Value Type
There is no specific number type because all six data types also encode a number value however if that value is zero it will not display.
Numbers[edit | edit source]
Numbers are always encoded with one of the other data types even when passing a value that seems to be only numerical it is passing a null value along with the number. It is important to understand this when dealing with instructions that make decisions based on data type.
Parameters[edit | edit source]
The amount of parameters may be expanded of contracted at the top of the interface for every parameter at the top of the behavior UI you will have a corresponding register next to the Behavior Controller out side the UI. You can set these outer registers and they will pass data into the program and data written to the parameter will pass data out to those registers
Variables[edit | edit source]
Variables also can expand and contract in amount accessible but the method of doing so is different from parameters. To assign a variable you have to click an output of an instruction and choose a variable if it is the first variable there will only be an 'A' variable once this is assigned you can now assign that 'A' variable to inputs and if you click on another output there will now be a 'B' variable able to be assigned along with the 'A' variable. Contraction of choices works in reverse if you removed all 'A' variables from your instructions you would no longer be able to access 'B' what variables are aces sable can be a bit strange if you remove non sequential variables but you will always be able to access any variable you have assigned and the next in order of any you have assigned.
Unit Registers[edit | edit source]
Parameters create registers outside of the behavior but there are also the four unit registers these tend to have certain data by default passed through them but it is possible to overwrite what gets passed into or out of them.