Needle: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(changes to infobox and code)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=40}}{{Infobox item
{{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 41|incver=78.16}}{{Infobox item
|display_name=Needle
|display_name=Needle
|name_colour=Tool
|name_text_colour=Tool
|model=Needle_Model.png
|model=Needle_Model.png
|icon=Needle.png
|icon=Needle.png
|icon_name=Needle
|icon_name=Needle
|category=Tool
|weight=0.1
|weight=0.1
|primary_use=[[Crafting|Craft]] [[mattress]]
|primary_use=[[Crafting|Craft]] [[mattress]]
|secondary_use=[[Health#Types of Injuries|Stitch deep wound]]
|secondary_use=[[Health#Types of Injuries|Stitch deep wound]]
|material=Metal
|material_value=2
|tags=SewingNeedle
|class_name=Base.Needle
|class_name=Base.Needle
}}{{About|the sewing needle|the medical needle|Suture Needle}}
}}{{About|the sewing needle|the medical needle|Suture Needle}}
Line 28: Line 30:
==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=40}}
{{Retrieved|version=41|incver=78.16}}
<pre>
<pre>
item Needle
    item Needle
Weight = 0.1,
{
Type = Normal,
    DisplayCategory = Tool,
DisplayName = Needle,
Weight = 0.1,
Icon = Needle,
Type = Normal,
MetalValue = 2,
DisplayName =   Needle,
Icon = Needle,
MetalValue = 2,
SurvivalGear = TRUE,
Medical = TRUE,
WorldStaticModel = Needle,
Tags = SewingNeedle,
}
</pre>
</pre>



Revision as of 08:19, 24 September 2023

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

From items.txt (Project Zomboid directory/media/scripts/) 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