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.5.8.0

Main article: Wiring Components


Ceil Component

Transforms a given float input into the closest integer, rounding up.
Crafting
Fabricator
Requirements
Skill: Electrical: 20
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.

Here's a simple equation using a ceiling: X=2.04 ⌈X⌉=3

v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc