Ceil Component: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Made Ceil Component it's own page.)
Tag: Removed redirect
(Added a little definition of ceiling.)
Line 32: Line 32:
| tags''Italic text'' = smallitem, logic
| tags''Italic text'' = smallitem, logic
}}
}}
<!-- Definition -->
A ceiling function is a function that takes a non-whole number (decimals, and fractions) and rounds '''up''' a whole number.


Think of it as this simple equation: X=2.04 ⌈X⌉=3
{{Electrical Nav}}
{{Electrical Nav}}

Revision as of 18:01, 12 April 2024

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.4.5.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 abscomponent
Categories Electrical

A ceiling function is a function that takes a non-whole number (decimals, and fractions) and rounds up a whole number.

Think of it as this simple equation: X=2.04 ⌈X⌉=3

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