Ceil Component: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Made Ceil Component it's own page.)
Tag: Removed redirect
m (Changed it's ID)
 
(3 intermediate revisions by the same user not shown)
Line 28: Line 28:


<!-- Technical -->
<!-- Technical -->
| identifier = abscomponent
| identifier = ceilcomponent
| category = Electrical
| category = Electrical
| 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.


Here's a simple equation using a ceiling: X=2.04 ⌈X⌉=3
{{Electrical Nav}}
{{Electrical Nav}}

Latest revision as of 14:54, 18 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 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