Ceil Component

From Official Barotrauma Wiki
Jump to: navigation, search
Data is up-to-date
Last updated for version 1.3.0.2
Last mentioned in changelog 0.15.20.0
The current game version is 1.7.7.0

Main article: Wiring Components


Ceil Component

Transforms a given float input into the closest integer, rounding up.
Crafting
Fabricator
Requirements
Deconstructor Yield
Store
Minimum Difficulty 15%
Base Price 100 mk
Outposts
OutpostOutpost Buy Sell
Habitation OutpostHabitation 100 mk 30 mk
ColonyColony N/A 30 mk
Research OutpostResearch 125 mk 37 mk
Military OutpostMilitary 100 mk 30 mk
Mining OutpostMining 100 mk 30 mk
Medical MerchantMedical Merchant N/A 30 mk
Engineer MerchantEngineer Merchant 90 mk 27 mk
Armory MerchantArmory Merchant N/A 30 mk
Children of The HonkmotherClown Merchant N/A 30 mk
The Church of HuskHusk Merchant N/A 30 mk
Technical
Identifier ceilcomponent
Categories Electrical

A ceiling function is a function that takes a non-whole number (decimals, and fractions) and rounds up a whole number. So, in Barotrauma terms; say an input is 2.25, if you put it through the ceiling component, it runs the equation: X = 2.25, ⌈X⌉ = 3, so the output is 3.

v · d · e · h

Electrical Components

Alarms
Detectors
Interactable
Wiring Components
Misc