Plantain: Difference between revisions

From PZwiki
(WIP: combining plantain poultice)
m (Automated CodeBox update)
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|version=Version 41|incver=78.16}}{{Underconstruction}}{{Infobox normal
{{Header|Project Zomboid|Items|Medical items|Medicinal plants}}
|display_name=Plantain
{{Page version|41.78.16}}
|image=MedicinalHerbsLeafBundle Model.png
{{Infobox item
|image_width=200px
|name=Plantain
|alternate_image=PlantainPlantago.png
|model=MedicinalHerbsLeafBundle_Model.png
|alternate_name=Plantain
|model_width=200px
|alternate_link=
|icon=PlantainPlantago.png
|alternate_image2=MashedHerbs.png
|icon_name=Plantain
|alternate_name2=Plantain Poultice
|model2=Poultice_Model.png
|alternate_link2=
|icon2=MashedHerbs.png
|icon_name2=Plantain Poultice
|name_colour=Medical
|name_colour=Medical
|name_text_colour=Medical
|name_text_colour=Medical
Line 15: Line 16:
|function=[[Health#Types of injuries|Heals wounds]]
|function=[[Health#Types of injuries|Heals wounds]]
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Plantain<br>Base.PlantainCataplasm
|item_id=Base.Plantain<br>Base.PlantainCataplasm
}}{{Quote|text=Aids recovery from wounds when applied as a poultice.|author=Plantain in-game tooltip}}'''Plantain''' is a [[foraging|forageable]] herb used in [[First Aid|first aid]].
}}
 
{{Quote|text=Aids recovery from wounds when applied as a poultice.|author=Plantain in-game tooltip}}'''Plantain''' is a [[foraging|forageable]] herb used in [[First Aid|first aid]].


==Usage==
==Usage==
Plantain, when [[#Crafting|crafted]] into a poultice, can be used on [[Health#Types of injuries|wounds]], increasing the healing rate. The rate in which it increases is dependent on a factor calculated relevant to the level of the [[First Aid|first aid]] [[Skills|skill]]. This factor is a random number between <code>(first aid level + 1) * 0.5</code> and <code>(first aid level + 1) * 1.0</code> + 10. So, a first aid skill of 0 will result in a factor between 10.5 and 11, whereas a first aid skill of 10 will be between 15.5 and 21.  
Plantain, when [[#Crafting|crafted]] into a poultice, can be used in conjunction with a [[Medical#Bandages|bandage]] to increase the [[#Recovery rate|recovery rate]] of a [[Health#Types of injuries|wound]]. The poultice must be applied to the wound first, followed by the bandage. Once applied, the poultice cannot be removed, and will be consumed when completely healed or over time based on the [[#Plantain factor|plantain factor]]. Only one [[Medical#Poultices|poultice]] can be applied to a wound at a time.
 
===Recovery rate===
Plantain poultice will increase the healing rate of a wound by approximately 40%, when compared to using a bandage on its own. It will have no effect on the wound recovery rate unless a bandage is applied.


===Healing rate===
===Plantain factor===
It is uncertain how effective plantain poultice is at assisting wound recovery, if at all. During testing in [[Build 41|build 41.78.16]] there was no difference in wound recovery rate when using plantain poultice, compared to without, for both a [[Health#Scratched|scratch]] and [[Health#Deep wound|deep wound]] (without stitches). It was found that a scratch will heal approximately 0.6 units every minute (approx. 10-12 total units), whereas a deep wound will heal approximately {{Tooltip|0.02|Rounded up from 0.0175}} units every minute (approx. 15-20 total units). Results were the same with and without the poultice applied, level 0 and 10 first aid skill, no assisted recovery (i.e. [[bandage]]s), on the left forearm, default time settings, and maximum [[Moodles|player stats]]. However, further testing needs to be completed to determine the effect of the poultice.
The life of the poultice is determined by a value referred to as the ''<nowiki>'plantain factor'</nowiki>'', which scales with the [[player|player's]] [[First Aid|first aid]] [[Skills|skill]]. This is calculated by getting a random number between <code>(first aid level + 1) * 0.5 + 10</code> and <code>(first aid level + 1) * 1.0 + 10</code>. While healing the wound, the poultice will deteriorate at a rate of 1 unit every 26 seconds, meaning 13—26 seconds is added to the life of the poultice per first aid level. The poultice will not be consumed or heal the wound unless a bandage is also applied. It's important to note that the effects of the first aid skill is only relevant to the individual applying the poultice, and not the individual with the wound.
<!-- calculations in code tag from ISPlantainCataplasm.lua -->
{| class="wikitable theme-red sortable" style="text-align:center;"
|+ Poultice life in seconds depending on first aid level
! First Aid level !! Time low (seconds) !! Time high (seconds)
|-
| 0 || {{Tooltip|273|Plantain factor of 10.5}} || {{Tooltip|286|Plantain factor of 11}}
|-
| 1 || {{Tooltip|286|Plantain factor of 11}} || {{Tooltip|312|Plantain factor of 12}}
|-
| 2 || {{Tooltip|299|Plantain factor of 11.5}} || {{Tooltip|338|Plantain factor of 13}}
|-
| 3 || {{Tooltip|312|Plantain factor of 12}} || {{Tooltip|364|Plantain factor of 14}}
|-
| 4 || {{Tooltip|325|Plantain factor of 12.5}} || {{Tooltip|390|Plantain factor of 15}}
|-
| 5 || {{Tooltip|338|Plantain factor of 13}} || {{Tooltip|416|Plantain factor of 16}}
|-
| 6 || {{Tooltip|351|Plantain factor of 13.5}} || {{Tooltip|442|Plantain factor of 17}}
|-
| 7 || {{Tooltip|364|Plantain factor of 14}} || {{Tooltip|468|Plantain factor of 18}}
|-
| 8 || {{Tooltip|377|Plantain factor of 14.5}} || {{Tooltip|494|Plantain factor of 19}}
|-
| 9 || {{Tooltip|390|Plantain factor of 15}} || {{Tooltip|520|Plantain factor of 20}}
|-
| 10 || {{Tooltip|403|Plantain factor of 15.5}} || {{Tooltip|546|Plantain factor of 21}}
|}


==Crafting==
==Crafting==
Line 31: Line 64:
==Distribution==
==Distribution==
{{Main|Foraging}}
{{Main|Foraging}}
{{stub}}
Plantain can only be found via foraging, finding 2-8 at a time. The chances of finding plantain is extremely low, unless the player has the [[Traits#Hobbies|herbalist]] [[File:trait_herbalist.png|link=Traits#Hobbies|Herbalist]] trait or has read ''[[The Herbalist|The Herbalist]]'' [[File:MagazineFood.png|link=The Herbalist|The Herbalist]] magazine.
 
Like other plants, plantain cannot be found during [[Weather#Seasons|winter]]. It is most common in deep forest, however can also be found in forest, vegetation, farmland and farm zones.
 
[[Park Ranger|Park rangers]] will have a massive chance increase in finding plantain, whilst [[Veteran|veterans]], [[Farmer|farmers]], [[Chef|chefs]], [[Burger Flipper|burger flippers]], [[Doctor|doctors]], [[Nurse|nurses]], [[Fitness Instructor|fitness instructors]] and being [[Unemployed|unemployed]] will have a small chance increase.
 
Having the [[Traits#Hobbies|herbalist]] [[Traits|trait]] will further increase the chance of finding plantain, whilst having the [[Traits#Hobbies|former scout]], [[Traits#Hobbies|hiker]], [[Traits#Hobbies|hunter]], [[Traits#Hobbies|gardener]], [[Traits#Hobbies|outdoorsman]], [[Traits#Hobbies|cook]] or [[Traits#Hobbies|nutritionist]] traits will provide a minor increase.
 
== Trivia ==
* The word "poultice" comes from the Latin puls, pultes, meaning "porridge".


==Gallery==
==Gallery==
<gallery>
<gallery>
File:MedicinalHerbsLeafBundle Model.png|Model used for plantain
File:MedicinalHerbsLeafBundle Model.png|Model used for plantain [[File:PlantainPlantago.png]]
File:Poultice Model.png|Model used for plantain poultice
File:Poultice Model.png|Model used for plantain poultice [[File:MashedHerbs.png]]
</gallery>
</gallery>


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''


''Plantain'' [[File:PlantainPlantago.png]]
''Plantain'' [[File:PlantainPlantago.png]]
{{Retrieved|version=41|incver=78.16}}
{{CodeBox
<pre>
| {{CodeSnip
    item Plantain
  | lang = java
  | line = true
  | start = 2027
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Plantain
     {
     {
         DisplayCategory = FirstAid,
         DisplayCategory = FirstAid,
Line 54: Line 102:
         Tooltip = Tooltip_Plantain,
         Tooltip = Tooltip_Plantain,
         WorldStaticModel = MedicinalHerbsLeafBundle,
         WorldStaticModel = MedicinalHerbsLeafBundle,
     }
     }  
</pre>
}}
}}


''Plantain Poultice'' [[File:MashedHerbs.png]]
''Plantain Poultice'' [[File:MashedHerbs.png]]
{{Retrieved|version=41|incver=78.16}}
{{CodeBox
<pre>
| {{CodeSnip
    item PlantainCataplasm
  | lang = java
  | line = true
  | start = 2038
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PlantainCataplasm
     {
     {
         DisplayCategory = FirstAid,
         DisplayCategory = FirstAid,
Line 69: Line 125:
         Tooltip = Tooltip_Plantain,
         Tooltip = Tooltip_Plantain,
         WorldStaticModel = Poultice,
         WorldStaticModel = Poultice,
     }
     }  
</pre>
}}
}}


==See also==
==See also==

Revision as of 11:17, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Plantain
MedicinalHerbsLeafBundle Model.png
Poultice Model.png
General
Category
First Aid
Encumbrance
Moodle Icon HeavyLoad.png
0.1 (Plantain)
0.2 (Poultice)
Function
Technical
Item ID
Base.Plantain
Base.PlantainCataplasm
Aids recovery from wounds when applied as a poultice.
— Plantain in-game tooltip

Plantain is a forageable herb used in first aid.

Usage

Plantain, when crafted into a poultice, can be used in conjunction with a bandage to increase the recovery rate of a wound. The poultice must be applied to the wound first, followed by the bandage. Once applied, the poultice cannot be removed, and will be consumed when completely healed or over time based on the plantain factor. Only one poultice can be applied to a wound at a time.

Recovery rate

Plantain poultice will increase the healing rate of a wound by approximately 40%, when compared to using a bandage on its own. It will have no effect on the wound recovery rate unless a bandage is applied.

Plantain factor

The life of the poultice is determined by a value referred to as the 'plantain factor', which scales with the player's first aid skill. This is calculated by getting a random number between (first aid level + 1) * 0.5 + 10 and (first aid level + 1) * 1.0 + 10. While healing the wound, the poultice will deteriorate at a rate of 1 unit every 26 seconds, meaning 13—26 seconds is added to the life of the poultice per first aid level. The poultice will not be consumed or heal the wound unless a bandage is also applied. It's important to note that the effects of the first aid skill is only relevant to the individual applying the poultice, and not the individual with the wound.

Poultice life in seconds depending on first aid level
First Aid level Time low (seconds) Time high (seconds)
0 273 286
1 286 312
2 299 338
3 312 364
4 325 390
5 338 416
6 351 442
7 364 468
8 377 494
9 390 520
10 403 546

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
MashedHerbs.png
Plantain Poultice
0 XP none Mortar and Pestle
Mortar and Pestle
(keep)
PlantainPlantago.png
Plantain x5
(consumed)

Distribution

Main article: Foraging

Plantain can only be found via foraging, finding 2-8 at a time. The chances of finding plantain is extremely low, unless the player has the herbalist Herbalist trait or has read The Herbalist The Herbalist magazine.

Like other plants, plantain cannot be found during winter. It is most common in deep forest, however can also be found in forest, vegetation, farmland and farm zones.

Park rangers will have a massive chance increase in finding plantain, whilst veterans, farmers, chefs, burger flippers, doctors, nurses, fitness instructors and being unemployed will have a small chance increase.

Having the herbalist trait will further increase the chance of finding plantain, whilst having the former scout, hiker, hunter, gardener, outdoorsman, cook or nutritionist traits will provide a minor increase.

Trivia

  • The word "poultice" comes from the Latin puls, pultes, meaning "porridge".

Gallery

Code

Plantain PlantainPlantago.png

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Plantain
    {
        DisplayCategory = FirstAid,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Plantain,
        Icon	=	PlantainPlantago,
        Tooltip = Tooltip_Plantain,
        WorldStaticModel = MedicinalHerbsLeafBundle,
    }

Plantain Poultice MashedHerbs.png

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item PlantainCataplasm
    {
        DisplayCategory = FirstAid,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Plantain Poultice,
        Icon	=	MashedHerbs,
        Tooltip = Tooltip_Plantain,
        WorldStaticModel = Poultice,
    }

See also

Template:Navbox medical