Difference between revisions of "Template:Medicine Experience Gain Table"

From RimWorld Wiki
Jump to navigation Jump to search
(Parameter 1 optionally sets attributes for the table)
(Undo revision 133815 by Harakoni (talk))
Tag: Undo
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>The amount of XP gained from tending depends on the type of medicine used, and what it is used on (human or animal). The equation for this is:
The amount of XP gained from tending depends on the type of medicine used, and what it is used on (human or animal). The equation for this is:
+
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| XP = Medicine XP Factor &times; Patient XP Factor &times; Doctor's Learning Rate
+
| XP = Patient XP Factor &times; Medicine XP Factor &times; Doctor's Learning Rate
 
|}
 
|}
 
Where:
 
Where:
 +
* Patient XP Factor is a multiplier from the patient type. ×175 for animal patients, and ×500 for human patients.
 
* Medicine XP Factor is the medicine's potency multiplied by 0.7, and clamped in the range of 0.5 and 1.
 
* Medicine XP Factor is the medicine's potency multiplied by 0.7, and clamped in the range of 0.5 and 1.
* Patient XP Factor is a multiplier from the patient type. 175x for animal patients, and 500x for human patients.
 
 
* Doctor's Learning Rate is the doctor's own multiplier on XP gained for the medicine skill. See "[[Skills#Improving_skills|Improving Skills]]" for more details.
 
* Doctor's Learning Rate is the doctor's own multiplier on XP gained for the medicine skill. See "[[Skills#Improving_skills|Improving Skills]]" for more details.
  
 
{| {{#if:{{{1|}}}|{{{1|}}}|class="wikitable"}}
 
{| {{#if:{{{1|}}}|{{{1|}}}|class="wikitable"}}
|-
+
! rowspan=2 | Medicine
! rowspan=2 | Medicine !! rowspan=2 | Potency !! rowspan=2 | <abbr title="Potency * 0.7, clamped at 0.5 and 1.0.">XP Factor</abbr> !!colspan=2 | Tend XP from patient
+
! rowspan=2 | Potency
 +
! rowspan=2 | <abbr title="Potency * 0.7, clamped at 0.5 and 1.0.">XP Factor</abbr>
 +
! colspan=2 | Tend XP from patient
 
|-
 
|-
 
! <abbr title="500 * XP Factor>Human</abbr> !! <abbr title="175 * XP Factor>Animal</abbr>
 
! <abbr title="500 * XP Factor>Human</abbr> !! <abbr title="175 * XP Factor>Animal</abbr>
 
|-
 
|-
| [[File:Doctor care but no medicine.png|16px]] None || 0.30 || 0.5 || 250 || 87.5
+
| [[File:Doctor care but no medicine.png|16px]] None
 +
| 0.30 || 0.5 || 250 || 87.5
 
|-
 
|-
| {{Icon small|Herbal medicine}} [[Herbal medicine]] || 0.60 || 0.5 || 250 || 87.5
+
| {{Icon Small|Herbal medicine}} [[Herbal medicine]]
 +
| 0.60 || 0.5 || 250 || 87.5
 
|-
 
|-
| {{Icon small|Medicine}} [[Medicine]] || 1.00 || 0.7 || 350 || 122.5
+
| {{Icon Small|Medicine}} [[Medicine]]
 +
| 1.00 || 0.7 || 350 || 122.5
 
|-
 
|-
| {{Icon small|Glitterworld medicine}} [[Glitterworld medicine]] || 1.60 || 1 || 500 || 175
+
| {{Icon Small|Glitterworld medicine}} [[Glitterworld medicine]]
|}
+
| 1.60 || 1 || 500 || 175
</includeonly>
+
|}</includeonly><noinclude>
<noinclude>
+
{{Documentation}}
{{documentation}}
 
[[Category: Customized table templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 13:04, 24 April 2023

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

It adds the following to a page, to allow several pages to be updated at once.


The amount of XP gained from tending depends on the type of medicine used, and what it is used on (human or animal). The equation for this is:

XP = Patient XP Factor × Medicine XP Factor × Doctor's Learning Rate

Where:

  • Patient XP Factor is a multiplier from the patient type. ×175 for animal patients, and ×500 for human patients.
  • Medicine XP Factor is the medicine's potency multiplied by 0.7, and clamped in the range of 0.5 and 1.
  • Doctor's Learning Rate is the doctor's own multiplier on XP gained for the medicine skill. See "Improving Skills" for more details.
Medicine Potency XP Factor Tend XP from patient
Human Animal
Doctor care but no medicine.png None 0.30 0.5 250 87.5
Herbal medicine Herbal medicine 0.60 0.5 250 87.5
Medicine Medicine 1.00 0.7 350 122.5
Glitterworld medicine Glitterworld medicine 1.60 1 500 175