#Total Supply Display

4 messages · Page 1 of 1 (latest)

compact nova
#

Ok, so maybe this is already possible and I don't know how, but I wonder if we could get a code node that would display the total value of either what's stored locally or in the whole network.

Right now for the heat network, we just have to look at how brightly its glowing and kind of guestimate how full the network is. And if we are in Dev mode, we could look at it that way.
However, if we were to change the chaingun into a network, create a network for a different type of hyperdrive, or make a power network, we'd only see what's in the local storage as guestimated by sprites. Sure, some of these would show numbers when in ship resource view, but that's not always the best way to see the network as a whole.
So I propose something like:

ResourceDisplay
    {
    Type = ResourceTextDisplay
        Location = [2,2]
        ResourceStorage = BulletStorage
        Layer = "fire_indicator"
        TextSize = Medium
        DisplayValueAdjustment = [/10]        
    }

This would use the same layer as fire indicator to display what's in that storage, and would take 1 decimal point off of it for if you wanted to show how many shots are left for a weapon that uses 10 bullets per shot. If you were to use this for a weapon that uses say 3 ammo per shot, you might want to change that [/10] to a [/3]

For a network, I would guess we could take the existing NetworkAverageThermalDissipationLoadValue and create a new node to use in ResourceStorage

NetworkTotalValue
{
  Type = NetworkValueReceiver
  Mode = Total
}

At the moment, Mode = Total is not a proper mode, but I'd like to be able to keep it simple with something like this.

compact nova
#

To add, could we also get a line to make this only display when we mouse over the part?

hazy basin
#

Mode = Add

#

I'm not sure why this is something unique to Part Networks - all storages with visual representations are done via sprites.

It's not completely what you're looking for, but there is BlueprintNetworkValueOverlay