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)
m (Fully working now. Documentation pending.)
Line 1: Line 1:
 
<!--
 
<!--
 
VARIABLES
 
VARIABLES
-->{{#vardefine:PUMPname | {{{ 1 | {{PAGENAME}} }}} }}{{#vardefine:PUMPfuel|{{Q|{{#var:PUMPname}}|Fuel Capacity}} }}<!--
+
-->{{#vardefine:PUMPname | {{{ 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 {{#if:{{Q|{{#var:PUMPname}}|Fuel Consumption Rate}}|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 {{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.}}<!--
 
{{#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.}}<!--

Revision as of 19:36, 19 February 2025

Active Deathrest Building Notes require a pawn capable of deathrest and must be connected to a deathrest casket. Each Deathrest Building Note consumes Expression error: Missing operand for *.W of power 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.


Like other deathrest buildings, Deathrest Building Note 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.


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.

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, Hemopump 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.


Active Deathrest accelerators require a pawn capable of deathrest and must be connected to a deathrest casket. Each Deathrest accelerator consumes 800W of power 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.

Each accelerator multiplies the rate at which deathrest progresses by ×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, Deathrest accelerator 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. Unlike other deathrest buildings, accelerators do not require hemogen packs as fuel.