Variable Templating Language

Rixon shared this feedback 23 hours ago
Not Enough Votes

It would be great if we had some sort of variable templating syntax (like for example in 'moustache': {{variable_name}} would insert the value of that variable) for LCDs and Broadcast Controllers, especially useful for servers where Programmable Block is disabled such as the officials.

Some examples:

Broadcast Controller:

{{defense.locked_target.name}} at {{broadcast.location}}

LCDs:

{{world.real_time}}: Welcome, {{grid.main_cockpit.occupied_by}}

{{grid.power.remaining_time}} {{symbols.hud.power}}

Bonus points if you can do mathematical operations on arrays of blocks something like

{{grid.drill[1:5].storage.capacity|add}} hell maybe full JQ!

Leave a Comment
 
Attach a file