Needle: Difference between revisions

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


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
    item Needle
  | line = false
{
  | source = items.txt
    DisplayCategory = Tool,
  | retrieved = true
Weight = 0.1,
  | version = 41
Type = Normal,
  | incver = 78.16
DisplayName =   Needle,
  | code =
Icon = Needle,
item Needle
MetalValue = 2,
{
SurvivalGear = TRUE,
    DisplayCategory     = Tool,
Medical = TRUE,
    Weight             = 0.1,
WorldStaticModel = Needle,
    Type               = Normal,
Tags = SewingNeedle,
    DisplayName         = Needle,
}
    Icon               = Needle,
</pre>
    MetalValue         = 2,
    SurvivalGear       = TRUE,
    Medical             = TRUE,
    WorldStaticModel   = Needle,
    Tags               = SewingNeedle,
}
  }}
}}


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

Revision as of 10:12, 31 January 2024

Needle
Needle Model.png
General
Category
Tool
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Material
Metal
Metal quantity
2
Technical
Tags
SewingNeedle
Item ID
Base.Needle
PlushSpiffo.pngThis article is about the sewing needle. For the medical needle, see Suture Needle.

A needle is an item used in crafting and first aid.

Usage

Needles can be used with thread to stitch a deep wound. Alternatively, a suture needle can be used to the same effect while causing less pain to its user. Unlike suture needles, a needle can be used multiple times.

A needle can also be used to craft a mattress and is used for Tailoring

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
Mattress.png
Mattress
0 XP none
Needle.png Needle
(keep)
Thread.png
Thread
(5 units)

(consumed)
Sheet.png
Sheet x5
(consumed)
Pillow.png
Pillow x5
(consumed)

Distribution

Needles can be found in medicine cabinets and sewing kits that occasionally spawn in counters within houses.

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Needle
{
    DisplayCategory     = Tool,
    Weight              = 0.1,
    Type                = Normal,
    DisplayName         = Needle,
    Icon                = Needle,
    MetalValue          = 2,
    SurvivalGear        = TRUE,
    Medical             = TRUE,
    WorldStaticModel    = Needle,
    Tags                = SewingNeedle,
}

See also

Template:Navbox medical