Mortar and Pestle: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
(→‎Code: CodeBox update)
Line 36: Line 36:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item MortarPestle
  | line = false
{
  | source = newitems.txt
DisplayCategory = FirstAid,
  | retrieved = true
Weight = 0.3,
  | version = 41
Type = Normal,
  | incver = 78.16
DisplayName = Mortar and Pestle,
  | code =
Icon = MortarPestle,
item MortarPestle
StaticModel = Mortar,
{
WorldStaticModel = Mortar_Ground,
    DisplayCategory     = FirstAid,
Tags = MortarPestle,
    Weight             = 0.3,
}
    Type               = Normal,
</pre>
    DisplayName         = Mortar and Pestle,
    Icon               = MortarPestle,
    StaticModel         = Mortar,
    WorldStaticModel   = Mortar_Ground,
    Tags               = MortarPestle,
}
  }}
}}


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

Revision as of 10:21, 31 January 2024

Project ZomboidItemsToolsMortar and Pestle
Mortar and Pestle
MortarPestle Model.png
General
Category
First Aid
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Function
Creating poultices
Technical
Item ID
Base.MortarPestle

A mortar and pestle is a tool used in creating poultices.

Usage

A mortar and pestle is used to create poultices which can be used in first aid.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
MortarPestle.png
Mortar and Pestle
0.25 Carpentry Carpentry 2 Handsaw.png
Saw (tag)
(keep)
Plank.png
Plank
(consumed)

Medical

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)
MashedHerbs.png
Comfrey Poultice
0 XP none Mortar and Pestle
Mortar and Pestle
(keep)
Comfrey.png
Comfrey x5
(consumed)
MashedHerbs.png
Wild Garlic Poultice
0 XP none Mortar and Pestle
Mortar and Pestle
(keep)
WildGarlic.png
Wild Garlic x5
(consumed)

Distribution

Mortar and pestles can be found in kitchens, otherwise than can be crafted using a saw and a plank.

Trivia

  • There is an unused mortar and pestle icon resembling a wooden plank MortarPestleWood.png. This hints that at some point the crafting recipe for a mortar and pestle was intended to result in this wooden variant, making the recipe more sensible.

Code

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 MortarPestle
{
    DisplayCategory     = FirstAid,
    Weight              = 0.3,
    Type                = Normal,
    DisplayName         = Mortar and Pestle,
    Icon                = MortarPestle,
    StaticModel         = Mortar,
    WorldStaticModel    = Mortar_Ground,
    Tags                = MortarPestle,
}

See also