Put it in the name
A tag goes anywhere in a block's name: LCD Panel [BATT], Corner LCD DUTC-warn. One block can carry several tags.
Cockpit screens
Blocks with several screens take a number, counting from 0: Cockpit [POWER:1] is the second screen. [BATT:0] [DRAIN:1] puts two views on one cockpit.
Brackets or not
Power Deck, Solar Tracker and Build & Repair use square brackets. Inventory Manager tags have none, like DUTC-main, so old Isy's setups keep working.
One PB each
Every script runs on its own programmable block and starts by itself. Arguments go in the PB's Run box or a toolbar slot.
Dutc Power Deck
Battery manager: turns hydrogen engines and reactors on when batteries run low and off again when they're full, plus power, gas and docking screens. Tag producers as main, backup or emergency power to control each tier on its own.
Screens
DRAIN_TOP and DRAIN_MIN_KW trim the list.Block keywords
Arguments
[MAIN] tier by hand, or back to automatic. Just main toggles it.[BACKUP] tier. Just backup toggles it.[EMS] tier. Just ems toggles it. A tier switched by hand shows a * on the screens.Settings
At the top of the script.
[EMS] emergency power switches on and off. Default 5 and 30.CONTROL_REACTORS does the same for reactors. Tagged blocks are always switched.[DRAIN]. 0 shows everything.[DRAIN]. Hidden blocks are summed on the screen.DUTC Solar Tracker
Points your solar panels at the sun with rotors and hinges. One-axis, two-axis and big winged arrays, as many as you like from one PB.
Block tags
Screens
Arguments
Add an array number to act on one array only: off 2, align 1.
Settings
At the top of the script.
[NIGHT] lights go on: % sun on the brightest panel. Default 5.DUTC Build & Repair
Companion for the SKO Nanobot Build and Repair System mod (maintained version): sets up new BaR blocks with your settings, queues missing parts and shows weld progress.
Screens
Block keywords
capture copies its settings from. Without it, the first one found is used.Arguments
Settings
At the top of the script.
AUTO_SETUP applies the profile to new BaR blocks.Sorting, autocrafting, refinery and assembler feeding, ice and uranium balancing. A drop-in replacement for Isy's Inventory Manager: its tags and keywords work unchanged.
Screens
No brackets. Cockpit screens: DUTC-main:0 is the first screen. Text size per screen: UIScale=0.8 in that block's Custom Data.
Component, Ingot, SteelPlate, regex). Long list? Add DUTC-inv 2, DUTC-inv 3 with empty Custom Data and it carries on.Autocrafting 1, Autocrafting 2.IIM-main, IIM-inventory (with @0 sections), IIM-warnings, IIM-actions.Container names
Put a type word in a cargo container's name and that type gets sorted into it. No container for a type? The biggest free cargo gets tagged by itself.
Ingots, Components, Tools, Ammo, Bottles, Food. Optional: Ice, Gravel.Block keywords
100, 100M (minimum), 100L (limit), All.[No IIM] does the same.Autocrafting lines
One line per item in the Autocrafting screen's Custom Data.
SteelPlate=15000Keep 15000 in stock.SteelPlate=15000PModifiers after the amount: P craft first, I ignore, D disassemble the excess, H hide from the screen.Item=100 BP:SubtypeForce a blueprint name for a stubborn modded item (or queue it once by hand and the script learns it).Ingot/Iron=50000Refinery quota: ore feeding stops at the target and starts again below it.Arguments
Nothing matches that. Try a shorter word.