-
Notifications
You must be signed in to change notification settings - Fork 14
StressProcessor
The Stress processor is designed to work with the Stress roster resource. Essentially, Stress is an abstracted habitation mechanic that takes into account a variety of different events. The main thing that causes Stress is being aboard a vessel; you don't want to send kerbals to Jool in a Mk1 command pod! NASA allocates 25 m^3 of space per astronaut per year aboard the ISS, and Stress is based off that number. The larger the habitable volume, the greater a kerbal's maximum Stress becomes, and it's dynamically updated whenever a kerbal changes craft. Assuming no other events, a kerbal will accumulate 1 point of Stress per day, and when the kerbal reaches it's maximum Stress, bad things happen.
The first N seats use the multiplier instead of the N^3 formula.
How much Space a single seat provides, assuming that the vessel's number of seats is less than or equal to MaxSeatsForMultiplier.
Calculates how much Space a vessel has. It is a function of crew capacity and is influenced by the number of crew currently aboard.
vessel: The Vessel to query.
The amount of Space aboard the vessel.
Calculates how much Space a vessel has. It is a function of crew capacity and is influenced by the number of crew currently aboard.
crewCount: Current crew count aboard the vessel
crewCapacity: Current crew capacity of the vessel
The amount of Space aboard the vessel.