Skip to content

This code is destined to Dual Universe game. This is a Container monitor for pure and ore materials. It can be used to monitor container percentages and it readouts. It was design to have a Container Hub element side each item name.

License

Notifications You must be signed in to change notification settings

Virtualburn/DU-Container-Monitor

 
 

Repository files navigation

# DU-CONTAINER_MONITOR v2.3 #

:: OVERVIEW

Dual Universe container monitor script for Ores and Pures using various sized containers (from Basic to Advanced Optimized) using singulat container or multiple via hub with no need to link as it uses naming system via Core.

This HUD is designed to be used on 2 x Transparent L Screens

This code is destined to Dual Universe game.
This is a Container monitor for pure and ore materials. It can be used to monitor container percentages and it readouts. It was design to have a Container Hub element side each item.

This HUD was designed for a Large Transparent Screen(or two). Each screen can gather 20 materials. It uses a Zone detector to turn up every board for optimal CPU usage.

:: INSTRUCTIONS

  • Connect a Core to the PB (any core).
  • Connect SCREEN_A (required) and optionally SCREEN_B.
  • (Optional) Connect a Databank (for storing user vars between sessions).
  • (Optional) Connect DOOR1/DOOR2 if you want the auto-door bit.
  • Name the hub/containers as before (e.g., CH_XXL_BAUXITE, C_XLu_COAL, etc.).

NOTE: When you have pasted the code it will rename the Slots automatically - if you are using a second screen rename the last slot to SCREEN_B.

  • Check parameters 'Advanced > Edit Lua parameters'

 

  • Label Containers and/or hubs - see below

:: EXTRA

  • Link a relay to the board and the screens and detector zone to the relay to activate when you are present.


:: LABELLING INSTRUCTIONS (example)

CH stands for ContainerHub
C stands for Container
2 for quantity of containers
L for size of the container
ACANTHITE for material type

CH_2L_ACANTHITE

:: EXTRA MATERIALS

"OXYGEN", "HYDROGEN", "WARPCELL"

:: DOORS

Link them to the board. Name the slots DOOR1 and DOOR2 (optional).
Activate at parameters (UseDoors)
Edit the caracter names that will trigger the doors (final function at System/start)

:: Uncheck 'UseContainerHubs' single screen monitor

CHANGE LOG: DU-CONTAINER-MONITOR

v2.3 — 2025-09-08

Add Exotic tier

  • -- Added e tier suffix (Exotic), mapped to 4 tier steps.
  • -- Updated parsers to accept [UARE] suffix.
  • -- Simplified empty-mass lookup by base size to auto-cover all tiers.

Naming examples (now including Exotic)

  • C_XSe_COAL → XS Exotic container with Coal
  • CH_Le_BAUXITE → L Exotic on a hub
  • CH_2XXLe_HEMATITE → two XXL Exotic on a hub

v2.2 — 2025-09-07

  • -- Added capacity talents (0–5, +10% each) with per-size base capacities; removed per-tier hardcoding.
  • -- Implemented tier step multiplier (+30% per step: c→u→a→r).
  • -- Added mass-reduction talents (0–5, −5% each) correction when converting mass→volume.
  • -- Hardened size/tier parser to avoid XL/XXL collapsing to L.
  • -- Reworked Databank schema to store only talents, tier step %, and base capacities.
  • -- Fixed DoorUsers variable case; minor CSS typo.

v2.1

  • -- Initial integration of XL/XXL sizes and uncommon/advanced/rare tiers.
  • -- First pass of mass→volume and capacity display updates.

v2.0

  • -- Parse tokens like "10XLu", "2XXLa", "5L", "xxl", "XL-", "XXL " etc. For new container sizes and tiers
  • -- CH_XXL_BAUXITE (count defaults to 1)
  • -- Name check for invalid characters and/or spaces
  • -- Improved container size parsing to incorporate new sizes
  • -- Corrected: liters = (container mass of contents) / (material density)
  • -- Added USER VAR to accomodate talents 1 - 5 (5% to 25% Mass reduction)
  • -- Added USER VAR to accomodate talents 1 - 5 (10% - 50% Capacity Increase)
  • -- Replaced placeholders with standard set USER VAR forbase capacity (to support MyDU server changes)

Future updates:

  • -- Add option to easily add different variants of containers
  • -- Add Exotic Containers and others as this focuses on 'Advanced Optimized' for static cores

~

v1.4 11 Nov 2020 - v1.9 01 Dec 2020 ~ Please see original repo: /carmopereira/DU-Container-Monitor

~

Bonus Screen

30_HUB_SCREEN_L_HTML

Simple HTML paste direct to Screen L and will host 30 x Container hubs.


This is a HTML only board.

About

This code is destined to Dual Universe game. This is a Container monitor for pure and ore materials. It can be used to monitor container percentages and it readouts. It was design to have a Container Hub element side each item name.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published