Difference between revisions of "Template:Deathrest Building Note"

From RimWorld Wiki
Jump to navigation Jump to search
m (1st working iteration. Need to refine the "Deathrest accelerator" case)
(Answered the remaining questions. It may be possible to make it into paragraphs instead, but I was unable to write one that I was happy with. Unrelated, but today I realized "redact" is rarely used as "to put in writing", so no one understood what I meant last time.)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
+
<includeonly><!--
 
VARIABLES
 
VARIABLES
-->{{#vardefine:PUMPname | {{{ 1 | {{PAGENAME}} }}} }}{{#vardefine:PUMPfuel|{{Q|{{#var:PUMPname}}|Fuel Capacity}} }}<!--
+
-->{{#vardefine:PUMPname|{{lc:{{{ 1 | {{PAGENAME}} }}}}} }}<!--
  
-->Active {{#var:PUMPname}}s require a pawn capable of [[deathrest]] and must be connected to a [[deathrest casket]]. Each {{#var:PUMPname}} consumes {{#expr: -1 * {{Q|{{#var:PUMPname}}|Power Consumption}} }}W of power {{#if:{{PUMPfuel}}|and {{Icon Small|hemogen pack}} 0.5 [[hemogen pack]] per day as long a pawn is deathresting in an attached casket. It can hold up to {{#var:PUMPfuel}} packs at a time, for a maximum run time of {{#expr:{{Q|{{#var:PUMPname}}|Fuel Capacity}}/{{Q|{{#var:PUMPname}}|Fuel Consumption Rate}} }} days, and is constructed fully fueled. It will be automatically refueled by a [[Work#Haul|haulers]] so long as auto-refueling is enabled. It doesn't consume power or hemogen while idling and so can be left idle without consequence.|as long a pawn is deathresting in an attached casket. It doesn't consume power while idling and so can be left idle without consequence.}}
+
-->Active {{#var:PUMPname}}s require a pawn capable of [[deathrest]] and must be connected to a [[deathrest casket]]. Each {{#var:PUMPname}} consumes {{#expr: -1 * {{Q|{{#var:PUMPname}}|Power Consumption}} }}W of power {{#ifeq:{{Q|{{#var:PUMPname}}|Fuel Filter}}|Hemogen pack|and {{Icon Small|hemogen pack}} {{Q|{{#var:PUMPname}}|Fuel Consumption Rate}} [[hemogen pack]] per day as long a pawn is deathresting in an attached casket. It can hold up to {{Q|{{#var:PUMPname}}|Fuel Capacity}} packs at a time, for a maximum run time of {{#expr:{{Q|{{#var:PUMPname}}|Fuel Capacity}}/{{Q|{{#var:PUMPname}}|Fuel Consumption Rate}} }} days, and is constructed fully fueled. It will be automatically refueled by a [[Work#Haul|haulers]] so long as auto-refueling is enabled. It doesn't consume power or hemogen while idling and so can be left idle without consequence.|as long a pawn is deathresting in an attached casket. It doesn't consume power while idling and so can be left idle without consequence.}}
  
{{#ifeq:{{#var:PUMPname}}|Hemopump|If the deathrest is not interupted, the hemopump increases the amount of [[Hemogen]] the pawn can store by {{+|25}} until the next deathrest. A [[hemogenic]] pawn can store 100 hemogen before modifiers. The bonus will be lost if deathrest gene is removed from the pawn.}}<!--
+
Like other deathrest buildings, {{#var:PUMPname}} permanently bind to the first pawn that uses them, as long as the following is true:
-->{{#ifeq:{{#var:PUMPname}}|Hemogen amplifier|Assuming deathrest isn't interrupted, each hemogen amplifier applies one stack of the [[Hediffs#Hemogen amplified|Hemogen amplified]] hediff increasing [[Hemogen Gain Multiplier]] by {{+|25%}}, in turn increasing the [[Hemogen]] gained from any source by {{+|25%}}. The bonus will be lost if deathrest gene is removed from the pawn.
+
* The pawn has enough capacity and the building has not reached its maximum allowed.
}}<!--
+
** This capacity starts at 1 and can be increased ingesting [[deathrest capacity serum]]s.
-->{{#ifeq:{{#var:PUMPname}}|Glucosoid pump|A functional glucosoid pump grants 1 stack of Glucosoid Rush after a pawn wakes from a non-interrupted [[deathrest]]. Up to 4 glucosoid pumps can be connected at a time. The bonus will be lost if deathrest gene is removed from the pawn.
+
* There is clear line of sight between this building and the deathrest casket, with no distance limit.
 +
* This {{#var:PUMPname}} is powered and unbound.
 +
* Either:
 +
** This building was present when Deathrest started.
 +
** This building was constructed/installed while Deathrest is in progress.
  
'''Glucosoid Rush'''
+
As all other bound deathrest buildings, a minified {{#var:PUMPname}} will become unbound and lose any progress it may have. There is no penalty for deconstruction, beyond the lost resources. {{#ifeq:{{#var:PUMPname}}|deathrest accelerator||Additionally, it needs to reach at least 75% progress in order to apply its buff at the end of the deathrest.}}</includeonly><noinclude>{{documentation}}</noinclude>
<br>''"Move speed is increased because this person used a glucosoid pump while deathresting. This effect lasts until the next deathrest."'' 
 
* [[Move speed]] multiplied by 1.12.
 
* Multiplied by severity (e.g. 2 pumps = x1.24 movement) }}<!--
 
-->{{#ifeq:{{#var:PUMPname}}|Psychofluid pump|A functional pump grants 1 stack of Psychofluid Rush after a pawn wakes from a non-interrupted [[deathrest]]. Up to 4 psychofluid pumps can be connected at a time. The bonus will be lost if deathrest gene is removed from the pawn.
 
 
 
'''Psychofluid Rush'''
 
''"Psychic sensitivity is enhanced because this person used a psychofluid pump while deathresting. This effect lasts until the next deathrest."''
 
* {{+|25%}} [[Psychic Sensitivity]]
 
* {{+|5%}} / day [[meditation]] [[psyfocus]] gain {{RoyaltyIcon}}
 
* {{+|0.05}} [[neural heat recovery rate]] {{RoyaltyIcon}} }}<!--
 
-->{{#ifeq:{{#var:PUMPname}}|Deathrest accelerator|Each accelerator multiplies the rate at which [[deathrest]] progresses by {{Good|×1.2}}, reducing the minimum time to avoid ''Deathrest Interrupted''.  Up to 2 accelerators can be connected at a time. The bonuses from the two accelerators and from the casket itself stacking multiplicatively.}}
 
 
 
Like other deathrest buildings, {{#var:PUMPname}} permanently bind to a pawn once used, with no penalty for deconstruction. Deathresting pawns have their own separate limit to the buildings they can connect to, which can be increased with a [[deathrest capacity serum]]. {{#ifeq:{{#var:PUMPname}}|Deathrest accelerator|Unlike other deathrest buildings, accelerators do not require [[hemogen pack]]s as fuel.}}
 
<noinclude>
 
-----
 
{{Deathrest Building Note|Hemopump}}
 
-----
 
{{Deathrest Building Note|Deathrest accelerator}}
 
</noinclude>
 

Latest revision as of 20:33, 13 March 2025

Documentation icon Template documentation[view] [edit] [history] [purge]

Just standardizes the spiel about the mechanics of deathrest buildings.

First variable is optional and allows a name to be specified, otherwise uses the page name.

Examples[edit]

Active hemopumps require a pawn capable of deathrest and must be connected to a deathrest casket. Each hemopump consumes 100W of power and Hemogen pack 0.5 hemogen pack per day as long a pawn is deathresting in an attached casket. It can hold up to 5 packs at a time, for a maximum run time of 10 days, and is constructed fully fueled. It will be automatically refueled by a haulers so long as auto-refueling is enabled. It doesn't consume power or hemogen while idling and so can be left idle without consequence.

Like other deathrest buildings, hemopump permanently bind to the first pawn that uses them, as long as the following is true:

  • The pawn has enough capacity and the building has not reached its maximum allowed.
  • There is clear line of sight between this building and the deathrest casket, with no distance limit.
  • This hemopump is powered and unbound.
  • Either:
    • This building was present when Deathrest started.
    • This building was constructed/installed while Deathrest is in progress.

As all other bound deathrest buildings, a minified hemopump will become unbound and lose any progress it may have. There is no penalty for deconstruction, beyond the lost resources. Additionally, it needs to reach at least 75% progress in order to apply its buff at the end of the deathrest.