Editing Rooms
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {| align=center | {{ | + | <!--Top Nav Box--> |
+ | {| align=center | ||
+ | | {{Gameplay_Nav}} | ||
+ | |} | ||
---- | ---- | ||
− | + | <!-- End of Nav --> | |
{{TOCright}} | {{TOCright}} | ||
− | + | '''Room stats''' are automatically calculated values of a room that passively affects thoughts about and events in the room. Room stats can be inspected with the [[Room inspection tool]]. | |
− | + | [[Room roles]], which also can be inspected with the same tool, may be affected by all, some or none of the room stats. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | '''Room stats''' are values of a room that passively | ||
− | |||
− | Room roles, which also can be inspected with the same tool, | ||
Room stats are: | Room stats are: | ||
− | * Impressiveness ( | + | * Impressiveness (an aggregate of other stats) |
* Wealth | * Wealth | ||
* Space | * Space | ||
Line 33: | Line 20: | ||
* Research speed (from ''cleanliness'') | * Research speed (from ''cleanliness'') | ||
* Mood of the people residing in them, resulting in thoughts like | * Mood of the people residing in them, resulting in thoughts like | ||
− | ** " | + | ** "Ate in impressive dining room" |
− | ** | + | ** Owning impressive bedroom |
− | ** | + | ** Owning bed in impressive barracks |
− | ** " | + | ** "Did joy activity in impressive rec room" |
+ | |||
+ | Related [[traits]]: | ||
+ | * Greedy: Unhappy without sufficiently impressive room. | ||
+ | * Jealous: Unhappy if anyone has a noticeably better room. | ||
+ | * Ascetic: Unhappy if room is too impressive. Happy if room is dull or worse. | ||
+ | |||
+ | ==Room roles== | ||
+ | {{:Room roles}} | ||
+ | |||
+ | == Impressiveness == | ||
+ | The value for impressiveness is based on the four other stats (wealth, beauty, spaciousness and cleanliness) with a heavy weighting towards the weakest of the four, as well as spaciousness being a limiting factor. | ||
− | + | Since the impressiveness calculation (explained below) is fairly involved, it is not practical to predict impressiveness levels in an actual game. However, the following rules of thumb can be applied: | |
− | + | # '''Keep all relevant factors in mind equally when designing an impressive room.''' If one stat is low compared to the others, that stat will overwhelmingly determine the overall ''impressiveness'' of the room. For example, having a masterpiece work of art in a large room (high ''wealth'', ''space'' and ''beauty'') is not effective if the floor is covered in vomit (low ''cleanliness''). It is very difficult to compensate for one low contributing factor by raising the others. | |
− | + | # '''Making a particularly small room ''impressive'' is very difficult.''' Impressiveness is limited by room size: if you want to make the room "very impressive", it should have a space of at least around 25 (which still counts as "rather tight" in the vanilla game). Eg. a furnished bedroom with a 4×6 footprint would be fine, and a little smaller would still be OK. | |
− | + | # '''Cleanliness matters'''. Since the level of impressiveness is what counts, and there are sharp thresholds separating the levels, even a minute change of any of the values can have a strong effect. This is usually due to ''cleanliness'' changing (because the other factors are pretty much fixed); even a single speck of dirt on the floor can result in major [[mood]] changes. Make sure that the room is not too close to a level threshold, and keep it clean. | |
− | == | + | === Formula === |
− | ''' | + | |
+ | The actual formula for calculating impressiveness involves multiple steps using a piecewise continuous function, so it's best to start with the basics. | ||
+ | |||
+ | ==== Base values ==== | ||
+ | First, each of the four stats has a corresponding divisor that is used to derive the ''base contribution'' for the stat: | ||
+ | |||
+ | : '''W'''<sub>b</sub> = ''wealth'' ÷ 1500 | ||
+ | : '''B'''<sub>b</sub> = ''beauty'' ÷ 3 | ||
+ | : '''S'''<sub>b</sub> = ''space'' ÷ 125 | ||
+ | : '''C'''<sub>b</sub> = 1 + (''cleanliness'' ÷ 2.5) | ||
− | + | ''Example:'' a room with a ''wealth'' stat of 3000 has a '''W'''<sub>b</sub> value of 2 and a room with a ''cleanliness'' of 0 has a '''C'''<sub>b</sub> value of 1. | |
− | |||
− | + | ==== Modified values ==== | |
+ | These base values are now modified if they lie outside the range (−1, 1), by applying the ''natural logarithm'' as follows: | ||
+ | m = 1 + ln(b) (if b > 1) | ||
+ | m = [1 + ln(−b)] × −1 (if b < −1) | ||
+ | (The negative case is actually completely analogous to the positive case, and just mirrored at the y-axis). | ||
− | + | Because the growth of the logarithm function (which is the inverse of the ''exponential function'') slows very rapidly, the "modified" base values will only meaningfully grow for a short time, and further returns are strongly diminished. | |
− | + | An example about room ''wealth'' explains it best: | |
− | + | Start with a room with a ''wealth'' of 3000: | |
+ | : '''W'''<sub>b</sub> = 3000 ÷ 1500 = 2 | ||
+ | : '''W'''<sub>m</sub> = 1 + ln('''W'''<sub>b</sub>) = 1 + ln(2) = 1.69 | ||
+ | Now lets ''triple'' the ''wealth'' to 9000: | ||
+ | : W<sub>b</sub> triples to 6, however | ||
+ | : W<sub>m</sub> only changes from 1 + ln(2) = 1.69 (as above) to 1 + ln(6) = 2.79 | ||
+ | So, while we have tripled the ''wealth'', the modified value only increased by about two thirds (ie. it has not even doubled). | ||
− | + | Now triple the wealth again to an absolutely ludicrous 27,000, and we still only end up at W<sub>m</sub> = 3.89, which is only a little more than twice the 1.69 rating that we started out with – the huge increase in wealth had no meaningful returns. | |
− | + | ==== Impressiveness score ==== | |
− | + | These modified values are then combined to give the ''impressiveness'' score as follows. | |
− | |||
− | |||
− | |||
− | + | Take a weighted sum of the average of the values and the smallest of the values: | |
− | + | I' = (65 × ('''W'''<sub>m</sub> + '''B'''<sub>m</sub> + '''S'''<sub>m</sub> + '''C'''<sub>m</sub>) ÷ 4) + (35 × min('''W'''<sub>m</sub>, '''B'''<sub>m</sub>, '''S'''<sub>m</sub>, '''C'''<sub>m</sub>)) | |
− | + | This will make the smallest of the values contribute 51.25%, while the other three values each contribute 16.25%. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | < | ||
− | + | As a final step we compare this impressiveness value to the ''spaciousness'' of the room: | |
− | < | + | S' = 500 × S<sub>m</sub> |
− | + | If I' > S', then | |
− | + | I = 0.25 × I' + 0.75 × S' | |
+ | else | ||
+ | I = I' | ||
+ | This means that a relatively small room cannot be very "impressive", because lack of spaciousness will heavily weigh down the overall impressiveness. | ||
− | Any | + | ''Example:'' an "rather right" room with a space of 25 would have S' = 25 ÷ 125 × 500 = 100. Any impressiveness up to 100 would thus not be influenced further by spaciousness. However, trying to add 1 more point to impressiveness (ie. going from 100 to 101) – without changing room ''space'' – would require 4 more points (assuming for simplicity that we are only working with integers). This is because the equation is |
+ | : 101 = 0.25 × (100 + i) + 0.75 × 100 = 25 + i × 0.25 + 75 = 100 + i × 0.25 = 101 | ||
+ | therefore i = 4 (''i'' is the required increment). | ||
− | + | === Levels of impressiveness === | |
− | The exact | + | The exact ''impressiveness'' value will then be rounded to the nearest integer, and a label (or "level") of impressiveness will be given to the room, according to the below table. |
− | + | Any mood effects from the room then depend on this impressiveness level, and not on the precise value. | |
+ | {| class="wikitable" | ||
+ | |- | ||
! Value | ! Value | ||
! Description | ! Description | ||
+ | |||
|- | |- | ||
| < 20 | | < 20 | ||
Line 222: | Line 136: | ||
| wondrously impressive | | wondrously impressive | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Wealth == | == Wealth == | ||
− | This is the sum of the market value of all items in the room and all walls | + | This is the sum of the market value of all items in the room and all walls (but not doors) surrounding the room. |
− | {| class="wikitable" | + | {| class="wikitable" |
+ | |- | ||
! Value | ! Value | ||
! Description | ! Description | ||
+ | |||
|- | |- | ||
| < 500 | | < 500 | ||
Line 341: | Line 172: | ||
| >= 1000000 | | >= 1000000 | ||
| unbelievably luxurious | | unbelievably luxurious | ||
+ | |||
|} | |} | ||
== Beauty == | == Beauty == | ||
− | + | Does not includes the beauty value of the floors underneath the room's walls. | |
− | + | {| class="wikitable" | |
− | + | |- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| class="wikitable" | ||
! Value | ! Value | ||
! Description | ! Description | ||
+ | |||
|- | |- | ||
| < -3.5 | | < -3.5 | ||
Line 368: | Line 193: | ||
|- | |- | ||
| >= 2.4 and < 5 | | >= 2.4 and < 5 | ||
− | | | + | | rather nice |
|- | |- | ||
| >= 5 and < 15 | | >= 5 and < 15 | ||
Line 387: | Line 212: | ||
Indicates how much free space is available in the room. A room's Space score is 1.4 times the number of tiles in the room. Objects that prevent a pawn from standing in a space will decrease the available space in the room by 0.9 per tile the object covers. Thus, an occupied tile contributes a total of 0.5 to space. Objects that reduce space include beds, tables, workbenches, lamps, and heaters. Stools and chairs do not reduce space. | Indicates how much free space is available in the room. A room's Space score is 1.4 times the number of tiles in the room. Objects that prevent a pawn from standing in a space will decrease the available space in the room by 0.9 per tile the object covers. Thus, an occupied tile contributes a total of 0.5 to space. Objects that reduce space include beds, tables, workbenches, lamps, and heaters. Stools and chairs do not reduce space. | ||
− | {| class="wikitable" | + | {| class="wikitable" |
+ | |- | ||
! Value | ! Value | ||
! Description | ! Description | ||
− | + | ||
|- | |- | ||
| < 12.5 | | < 12.5 | ||
| cramped | | cramped | ||
− | |||
|- | |- | ||
| >= 12.5 and < 29 | | >= 12.5 and < 29 | ||
| rather tight | | rather tight | ||
− | |||
|- | |- | ||
| >= 29 and < 55 | | >= 29 and < 55 | ||
| average-sized | | average-sized | ||
− | |||
|- | |- | ||
| >= 55 and < 70 | | >= 55 and < 70 | ||
− | | | + | | rather spacious |
|- | |- | ||
| >= 70 and < 130 | | >= 70 and < 130 | ||
− | | | + | | spacious |
|- | |- | ||
| >= 130 and < 349.5 | | >= 130 and < 349.5 | ||
Line 415: | Line 238: | ||
| >= 349.5 | | >= 349.5 | ||
| extremely spacious | | extremely spacious | ||
+ | |||
|} | |} | ||
− | |||
− | |||
− | |||
== Cleanliness == | == Cleanliness == | ||
− | This stat affects medical outcomes, research speed, and the chance that cooked meals will cause | + | This stat affects medical outcomes, research speed, and the chance that cooked meals will cause food poisoning. A room's cleanliness is the average cleanliness score of all tiles in the room. It is determined by the type of flooring, the presence of [[filth]], and the cleanliness value of some furniture such as the [[Butcher table]] and the [[Stonecutter's table]]. |
− | + | {| class="wikitable" | |
− | + | |- | |
! Room Cleanliness | ! Room Cleanliness | ||
! Description | ! Description | ||
Line 434: | Line 255: | ||
| dirty | | dirty | ||
|- | |- | ||
− | | >= -0.4 and < -0.05 | + | | >= -0.4 and < -0.05 |
− | | | + | | a little bit dirty |
|- | |- | ||
| >= -0.05 and < 0.4 | | >= -0.05 and < 0.4 | ||
Line 443: | Line 264: | ||
| sterile | | sterile | ||
|} | |} | ||
− | + | ||
− | + | ||
− | + | {| class="wikitable" | |
|- | |- | ||
− | ! | + | ! Object |
− | ! Cleanliness<br | + | ! Cleanliness<br>Value |
|- | |- | ||
− | | | + | | Sterile Tile floor || 0.6 |
|- | |- | ||
− | | | + | | Steel, Silver or Gold floor || 0.2 |
|- | |- | ||
− | | all other constructed | + | | Bridge and all other constructed flooring || 0 |
|- | |- | ||
− | | | + | | Smooth or Rough stone || 0 |
− | |||
− | |||
|- | |- | ||
− | | | + | | Dirt floor (soil, gravel, etc.) || -1 |
|- | |- | ||
| Marshy soil || -2 | | Marshy soil || -2 | ||
|- | |- | ||
− | | | + | | Blood || -10 |
− | |||
− | |||
|- | |- | ||
− | | | + | | Insect blood, vomit, fuel puddle || -15 |
|- | |- | ||
− | | | + | | Dirt, rubble, all other filth || -5 |
|- | |- | ||
− | | | + | | Chunks || -6 |
|} | |} | ||
− | + | ||
Using "Toggle the beauty display" the player can locate filth in a given room, which will be highlighted due to its negative "beauty value". | Using "Toggle the beauty display" the player can locate filth in a given room, which will be highlighted due to its negative "beauty value". | ||
− | The beauty value is | + | The beauty value is NOT equal to the cleanliness value but gives a very rough idea of the actual dirtiness. The Beauty value is heavily affected by other furniture in the room, especially [[sculptures]] or [[plant pot]]s; a room or tile can be hideously dirty but still have a positive beauty value. |
==== Test ==== | ==== Test ==== | ||
+ | |||
The following content is the result of a study on the ''Effect of filth over sterile rooms''. Results are raw observations, take with caution: | The following content is the result of a study on the ''Effect of filth over sterile rooms''. Results are raw observations, take with caution: | ||
− | + | {| class="wikitable" | |
|+ Effect of filth over sterile rooms | |+ Effect of filth over sterile rooms | ||
|- | |- | ||
! Size m^2 | ! Size m^2 | ||
− | ! Measurements | + | !Measurements |
− | ! Dirt beauty | + | !Dirt beauty |
− | ! Cleanliness<br | + | !Cleanliness<br>Value |
− | ! Cleanliness<br | + | !Cleanliness<br>Value Difference |
|- | |- | ||
| 1 || 1*1 || -15 || -4.40/0.60 || -5 | | 1 || 1*1 || -15 || -4.40/0.60 || -5 | ||
Line 502: | Line 320: | ||
'''Spilling behavior (observed in hospital):''' | '''Spilling behavior (observed in hospital):''' | ||
− | * When a tile has a -30 beauty value of blood on it, new blood will spill on another tile. It may be random or have something to do with a possible filth stacking limit. | + | *When a tile has a -30 beauty value of blood on it, new blood will spill on another tile. It may be random or have something to do with a possible filth stacking limit. |
'''Spilling test:''' | '''Spilling test:''' | ||
− | * Method: 20 alpacas in a 5*5 room. All killed and body deleted using "damage 10 tool". | + | *Method: 20 alpacas in a 5*5 room. All killed and body deleted using "damage 10 tool". |
− | * Result: Blood never stacks over 5, with -30 beauty. If no tile free to spill blood, nothing happens. | + | *Result: Blood never stacks over 5, with -30 beauty. If no tile free to spill blood, nothing happens. |
'''Observation:''' | '''Observation:''' | ||
− | * Blood stacking on the same tile will not further decrease the room cleanliness and beauty. Only blood stacking on previously non bloody tiles will. | + | *Blood stacking on the same tile will not further decrease the room cleanliness and beauty. Only blood stacking on previously non bloody tiles will. |
'''After further observations:''' | '''After further observations:''' | ||
− | * This mechanism works with any type of filth. Stacking them with the same ''type of filth'' does not increase their effect. Different types of filth stacking on the same tile will add the effects together. | + | *This mechanism works with any type of filth. Stacking them with the same ''type of filth'' does not increase their effect. Different types of filth stacking on the same tile will add the effects together. |
− | * Example : 2 x blood + 2 x firefoam on one tile will gives the same cleanliness | + | *Example : 2 x blood + 2 x firefoam on one tile will gives the same cleanliness than 1 x blood + 1 x firefoam on one tile. |
'''Stacking of dirt and filth test''' | '''Stacking of dirt and filth test''' | ||
− | * Method: 5*5 room, stacking as much filth as possible over all tiles. | + | *Method: 5*5 room, stacking as much filth as possible over all tiles. |
− | ** Adding blood (-30) from ''Spilling test''. | + | **Adding blood (-30) from ''Spilling test''. |
− | ** Adding fire foam (-25) using dev tools. | + | **Adding fire foam (-25) using dev tools. |
− | ** getting rid of the floor (-1). | + | **getting rid of the floor (-1). |
− | ** Adding vomit (-41). | + | **Adding vomit (-41). |
− | ** Adding dirt (-11, should be -15. Dirtiness values seems to be locked at -107 at most, to check). | + | **Adding dirt (-11, should be -15. Dirtiness values seems to be locked at -107 at most, to check). |
− | ** insect fluids have not been tested. | + | **insect fluids have not been tested. |
− | * Results: | + | *Results: |
− | ** From the given results it seems that the tiles can not have a beauty value past -107. | + | **From the given results it seems that the tiles can not have a beauty value past -107. |
− | ** It has been observed that the "beauty value" does not decrease when stacking the same type of filth together. Would lock at -30 with the blood. cleanliness locks as beauty does. | + | **It has been observed that the "beauty value" does not decrease when stacking the same type of filth together. Would lock at -30 with the blood. cleanliness locks as beauty does. |
− | ** Filth stack up to 5 time for a given type of filth. After that, if no space is available to spill filth, the action is cancelled. | + | **Filth stack up to 5 time for a given type of filth. After that, if no space is available to spill filth, the action is cancelled. |
Observation: | Observation: | ||
During this study it has been observed that beauty values from indoor filth and outdoor filth are very different. Being indoor/outdoor has an effect on the beauty values. | During this study it has been observed that beauty values from indoor filth and outdoor filth are very different. Being indoor/outdoor has an effect on the beauty values. | ||
− | + | {| class="wikitable" | |
|+ Beauty values by type of filth (sample) : | |+ Beauty values by type of filth (sample) : | ||
|- | |- | ||
! Filth | ! Filth | ||
− | ! Beauty (outdoor) | + | !Beauty (outdoor) |
− | ! Beauty (indoor) | + | !Beauty (indoor) |
|- | |- | ||
| blood || -8 to -10 || -15 to -30 | | blood || -8 to -10 || -15 to -30 | ||
Line 546: | Line 364: | ||
| fire foam || -8 || -25 | | fire foam || -8 || -25 | ||
|- | |- | ||
− | | item on floor || -6 to -7 || -6 to -7 | + | | item on floor || -6 to -7|| -6 to -7 |
|- | |- | ||
| meat on floor || -20 || -20 | | meat on floor || -20 || -20 | ||
Line 564: | Line 382: | ||
'''Conclusion''' | '''Conclusion''' | ||
− | * After a fight, colonists in need of treatment will often bleed huge amounts of blood. A proper hospital should be able to withstand up to -35 cleanliness (-105 beauty) per patients to keep cleanliness at 0. It counts as most patients will bleed up to 2-3 times (-10 cleanliness per bloody tiles and -30 beauty) and the doctor or the patient may add in -5 cleanliness (or -15 beauty) due to dirt. | + | *After a fight, colonists in need of treatment will often bleed huge amounts of blood. A proper hospital should be able to withstand up to -35 cleanliness (-105 beauty) per patients to keep cleanliness at 0. It counts as most patients will bleed up to 2-3 times (-10 cleanliness per bloody tiles and -30 beauty) and the doctor or the patient may add in -5 cleanliness (or -15 beauty) due to dirt. |
− | ** The cheapest design to keep at least [0 <= cleanliness] would be to opt for a 6 x 10 (for at least 59 tiles) hospital for one bed. | + | **The cheapest design to keep at least [0 <= cleanliness] would be to opt for a 6 x 10 (for at least 59 tiles) hospital for one bed. |
− | ** The most effective option to keep at least [0.40 < cleanliness] would be to use a 14 x 14 (for at least 195 tiles) hospital for one bed. | + | **The most effective option to keep at least [0.40 < cleanliness] would be to use a 14 x 14 (for at least 195 tiles) hospital for one bed. |
− | * Better to note, long term health care do not need such rooms. If you can afford to clean the hospital before healing/operating on a patient you might only need to worry about -20 debuff for cleanliness as you will only have to worry about the new blood spilling | + | *Better to note, long term health care do not need such rooms. If you can afford to clean the hospital before healing/operating on a patient you might only need to worry about -20 debuff for cleanliness as you will only have to worry about the new blood spilling form the patient in bed (bleeds slower). |
− | ** The cheapest design to keep at [0 <= cleanliness] would be 4x5 (for at least 17). | + | **The cheapest design to keep at [0 <= cleanliness] would be 4x5 (for at least 17). |
− | ** The most effective to keep at [0.40 < cleanliness] would be 6x5 (for at least 34). | + | **The most effective to keep at [0.40 < cleanliness] would be 6x5 (for at least 34). |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |