Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Add 5 and Divide
   
Award
Favorite
Favorited
Unfavorite
Microcontrollers: Calculation, Microcontroller
Tags: v1.0.33
File Size
Posted
20.728 KB
5 Feb, 2021 @ 7:54pm
1 Change Note ( view )

Subscribe to download
Add 5 and Divide

In 1 collection by Brygun
BBW Microcontrollers
45 items
Description
MC 2 x 3

Useful math for things like averaging battery power to the total comes out as a range from 0 to 1 to put into standard gauges.

This is a slightly smaller MC from other ones like this I've written.

In this case it adds 5 numbers
There is property easy to set to the number of things going in (This is up to you to do)
It divides the total of the 5 inputs by that property

If you set the divider to 1 then it just outputting the total, which can also be handy like when summing the capacity of fuel tanks.

>>

A slightly larger MC 3x3 takes in 8 inputs with the same property divide or total if property = 1 is at:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2378383529