Difference between revisions of "Template:Thought/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
Thoughts have the following parameters, and ideally all of them will be displayed, at least optionally:
 
Thoughts have the following parameters, and ideally all of them will be displayed, at least optionally:
* Label
+
* Label <code>label</code>
* Mood value
+
* Mood value <code>value, value2, value3, value4, value5, value6, value7, value8, value9</code>
* Description
+
* Description <code>desc</code>
* Duration
+
* Duration <code>duration</code>
* Stack limit
+
* Stack limit <code>stack</code>
* Stack multiplier
+
* Stack multiplier <code>multi</code>
 +
 
 +
Do note that a not defined Stack multiplier defaults to 1. Additionally, defining more than one mood value makes the template ignore both the '''Stack limit''' and the '''Stack multiplier'''.
  
 
== Examples ==
 
== Examples ==
Line 17: Line 19:
  
 
<pre>{{Thought|desc=Without a neural supercharge, I'm running below my true capacity. It's depressing.|label=want neural supercharge|value=-6|stack=1}} </pre>
 
<pre>{{Thought|desc=Without a neural supercharge, I'm running below my true capacity. It's depressing.|label=want neural supercharge|value=-6|stack=1}} </pre>
{{Thought|desc=Without a neural supercharge, I'm running below my true capacity. It's depressing.|label=want neural supercharge|value=-6|stack=1}}  
+
{{Thought|desc=Without a neural supercharge, I'm running below my true capacity. It's depressing.|label=want neural supercharge|value=-6|stack=1}}
  
 
<pre>{{Thought|desc=We've got slaves. It means we're on the right path.|label=slaves in colony|value=+1}} </pre>
 
<pre>{{Thought|desc=We've got slaves. It means we're on the right path.|label=slaves in colony|value=+1}} </pre>
{{Thought|desc=We've got slaves. It means we're on the right path.|label=slaves in colony|value=+1}}  
+
{{Thought|desc=We've got slaves. It means we're on the right path.|label=slaves in colony|value=+1}}
 +
 
 +
<pre>{{Thought|desc=I am happily connected to a Gauranlen tree.|label=Gauranlen connection|value=+3|value2=+0|value3=-1|value4=-2|value5=-4|value6=-6}}</pre>
 +
{{Thought|desc=I am happily connected to a Gauranlen tree.|label=Gauranlen connection|value=+3|value2=+0|value3=-1|value4=-2|value5=-4|value6=-6}}
 +
 
 +
<pre>{{Thought|desc=Two dread leather items. These make me uncomfortable.|label=dread leather <APPAREL NAME> (+1)|value=A|stack=1}}</pre>
 +
{{Thought|desc=Two dread leather items. These make me uncomfortable.|label=dread leather <APPAREL NAME> (+1)|value=A|stack=1}}
 +
 
 +
<pre>{{Thought|desc=What do i do now?|label=I'm a waffle.|value=0|value5=2|value9=-4|stack=1}}</pre>
 +
{{Thought|desc=What do i do now?|label=I'm a waffle.|value=0|value5=2|value9=-4|stack=1}}
  
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]<noinclude>
 
<noinclude>[[Category:Template documentation]]<noinclude>

Latest revision as of 03:29, 17 August 2024

A standardized way of formatting and displaying thoughts.

Thoughts have the following parameters, and ideally all of them will be displayed, at least optionally:

  • Label label
  • Mood value value, value2, value3, value4, value5, value6, value7, value8, value9
  • Description desc
  • Duration duration
  • Stack limit stack
  • Stack multiplier multi

Do note that a not defined Stack multiplier defaults to 1. Additionally, defining more than one mood value makes the template ignore both the Stack limit and the Stack multiplier.

Examples[edit]

{{Thought|desc=A cute animal nuzzled me|label=Nuzzled|value=+6|multi=0.75|stack=4|duration=1}}

+6 Nuzzled mood for 1 days

{{Thought|desc=Someone covered me with onions|label=Garnished with onions|value=-10|stack=10|duration=0.5}}

-10 Garnished with onions mood for 0.5 days

{{Thought|desc=Without a neural supercharge, I'm running below my true capacity. It's depressing.|label=want neural supercharge|value=-6|stack=1}} 

-6 Want neural supercharge mood

{{Thought|desc=We've got slaves. It means we're on the right path.|label=slaves in colony|value=+1}} 

+1 Slaves in colony mood

{{Thought|desc=I am happily connected to a Gauranlen tree.|label=Gauranlen connection|value=+3|value2=+0|value3=-1|value4=-2|value5=-4|value6=-6}}

+3/0/-1/-2/-4/-6 Gauranlen connection mood

{{Thought|desc=Two dread leather items. These make me uncomfortable.|label=dread leather <APPAREL NAME> (+1)|value=A|stack=1}}

Missing value. Please, define a numerical value to use.

{{Thought|desc=What do i do now?|label=I'm a waffle.|value=0|value5=2|value9=-4|stack=1}}

0/2/-4 I'm a waffle. mood