Space Engineers

Space Engineers

Inventory Report [ADVANCED] << LCD!! >>
CommanderGizmo  [developer] 20 Feb, 2015 @ 10:24pm
Customizing Options and Quotas
--THIS TUTORIAL IS SLIGHTLY OUTDATED, AND WILL BE UPDATED SHORTLY--


---{ Customizing Options & Quotas }---
You can further customize the program with some simple edits in the code editor. Don't worry, they are very easy! The program has descriptions right in the code for where things are, but here's what you'll find:

  • Toggles are right at the top and start with ENABLE_. This is where you can set the default value used if you aren't using CONTROL blocks.
  • Strings tell the program what text to use for everything. You can edit the layout of most of the program -- including control names, report names, delimiters, icons, report characters, etc.
  • Custom Reports allow you to compile your own sliding reports that cycle through items. Perhaps you'd like only one ammo type displayed at a time?
  • Quotas allow you to specify the custom names, categories, and amount levels for every item in the game.


==--- Quotas ---==
The quotas serve two purposes. They specify both the custom names and the amounts you want to see on your ship. Here's a quick summary of what they parts mean:

  • Type is the exact type used by Keen or the modder when they made the item. For example, Component or AmmoMagazine.
  • Name is the exact sub type name used by Keen or the modder when they made the item. For example, Gold or AutomaticRifleItem.
  • Custom Name is the name you want to show up on the reports. This is optional.
  • Custom Category is the name of a category you want the item included in. This is optional.
  • Quota is the amount of the item you want to have on your ship. This is optional.
  • Warning is the minimum amount available before the program warns you the item is running low. This is optional.

I've already entered all the default game items to pretty up the display with better looking names. You are free to change them as you see fit. They are listed in this order: Type, Name, Custom Name, Custom Category. The first two are from Keen or the modder who added an item and have to be exact. You can get these by displaying a QUOTAS report and seeing what items are added from your inventory. Just make sure you have at least one of the item in stock. The last two can be whatever you want them to be. The Custom Name will be shown on all reports for the item if you specify it, and can be used to add the item to a report. The Custom Category allows you to group items together as you see fit. I've added Raw, Refined, Ammo, Weapons, and Tools already. The word 'null' tells the program not to use that part, so if you don't want a custom name or custom category just put null. Due to the complexity limits of the current programming block, I've only allowed one custom category per item.

To add a Quota and Warning to an item, just add it to the end of the item if there isn't one already. It belongs after the last quote and before the parenthesis. So, for example, if you wanted to add a quota to refined uranium it would look like this:

--> "Ingot", "Uranium", "Fuel Rods", "Refined", 2000, 200

The above says, I want Ingot:Uranium to be shown as Fuel Rods in my reports, show up in the Refined category, have 2000 units stored, and I want to be warned if less than 200 are on board.

You may want to remove a quota or warning, which can be done by given a negative number, such as -1.
Last edited by CommanderGizmo; 2 Mar, 2015 @ 12:53am