Sitting: Difference between revisions

100 bytes added ,  13:46, 6 October 2021
m
no edit summary
(add chair list!)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{tocright}}{{Effect
{{tocright}}{{Effect
|&Csitting
|title={{qud text|&Csitting}}
|Improves natural healing rate. (''chair level 5 or higher'')
|desc=Improves natural healing rate. (''chair level 5 or higher'')
Slightly improves natural healing rate. (''chair level -9 to 4'')
Slightly improves natural healing rate. (''chair level -9 to 4'')
Inflicts ongoing damage. (''chair level -10 or lower'')
Inflicts ongoing damage. (''chair level -10 or lower'')
Line 11: Line 11:


Must spend a turn to stand up before moving.
Must spend a turn to stand up before moving.
|Sitting
|id=Sitting
|type=101000000000000000010000000
}}
}}
The {{name}} effect name will be based on the object sat upon. For example, '''{{Color|C|sitting on an [[armchair]].}}'''
The {{name}} effect name will be based on the object sat upon. For example, '''{{Color|C|sitting on an [[armchair]].}}'''
Line 24: Line 25:
! Tinker Bonus
! Tinker Bonus
! HP Per Turn
! HP Per Turn
{{#cargo_query:tables=ItemsTable
{{#cargo_query:tables=FurnitureData
|fields = _pageName=Chair,ChairLevel=ChairLevel
|fields = _pageName=Chair,ChairLevel=ChairLevel
|where = ChairLevel IS NOT NULL
|where = ChairLevel IS NOT NULL
Line 34: Line 35:
|}
|}


== Bonuses / Penalties ==
== Calculating Bonuses and Penalties ==
In general, chair bonuses and penalties are determined as listed below, based on chair level.
The following formulas are used to determine sitting bonuses or penalties that are described above.
 
{| class="wikitable"
! Chair Effect
! Requirement
! Formula
|-
| Bonus or penalty to inspect or [[disassemble]] artifacts
| None (all chair levels)
| {{Simple formula | Min(2 + ChairLevel, 4) }}
|-
| HP restored per turn
| Chair level -9 or higher
| {{Simple formula | 1 / (10 - Min(9, ChairLevel)) }}
|-
| Damage per turn
| Chair level -10 or lower
| {{Simple formula | -(ChairLevel) - 9}}
|}
 
Based on the formulas above, this means that chair bonuses and penalties are equal to the values listed below, based on chair level.
{| class="wikitable"
{| class="wikitable"
! Chair Level
! Chair Level
Line 92: Line 113:
| -8
| -8
| -1
| -1
|}
=== Formulas ===
The following formulas are used to determine sitting bonuses or penalties that are described above.
{| class="wikitable"
! Chair Effect
! Requirement
! Formula
|-
| Bonus or penalty to inspect or [[disassemble]] artifacts
| None (all chair levels)
| {{Simple formula | Min(2 + ChairLevel, 4) }}
|-
| HP restored per turn
| Chair level -9 or higher
| {{Simple formula | 1 / (10 - Min(9, ChairLevel)) }}
|-
| Damage per turn
| Chair level -10 or lower
| {{Simple formula | -(ChairLevel) - 9}}
|}
|}