-
Posts
2 -
Joined
-
Last visited
Posts posted by tonyenkiducx
-
-
Long time fan and kickstarter, looking forward to building some cool stuff!
Long time fan and kickstarter, looking forward to building some cool stuff!
LUA : Show crate capacity
in Builder Forum
Posted · Edited by tonyenkiducx
Copied old code by mistake!
A little script I knocked up to show the capacity of attached crates. There are 2 parameters to set, the name of the resource you are monitoring in the crates, and a unit mass(KG/L). You will need a screen attached called "Screen", or change the relevant part in the script. Containers don't need a specific name.
This is my first time coding LUA, or in DU, so any improvements I can make, please let me know.