Needle: Difference between revisions

From PZwiki
(→‎Code: CodeBox update)
m (Automated Formatting)
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Equipment|Tools|Tailoring tools}}
{{Header|Project Zomboid|Items|Tools|type=Tool|version=Version 41|incver=78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|display_name=Needle
|name=Needle
|model=Needle_Model.png
|model=Needle_Model.png
|icon=Needle.png
|icon=Needle.png
Line 13: Line 13:
|material_value=2
|material_value=2
|tags=SewingNeedle
|tags=SewingNeedle
|class_name=Base.Needle
|item_id=Base.Needle
}}{{About|the sewing needle|the medical needle|Suture Needle}}
}}
{{About|the sewing needle|the medical needle|Suture Needle}}
A '''needle''' is an item used in [[crafting]] and [[First Aid|first aid]].
A '''needle''' is an item used in [[crafting]] and [[First Aid|first aid]].


==Usage==
==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 [[Moodles#Pain|pain]] to its user. Unlike suture needles, a needle can be used multiple times.
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|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]]
A needle can also be used to craft a [[mattress]] and is used for [[Tailoring]]


==Crafting==
==Crafting==
{{Crafting header|ing=4}}
{{Crafting/sandbox2
{{Crafting carpentry|005|ing=4}}
|mattress
|}
}}


==Distribution==
==Distribution==
Needles can be found in [[Containers#Medicine Cabinet|medicine cabinets]] and [[Sewing Kit|sewing kits]] that occasionally spawn in counters within houses.
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|bedroom
|[[crate]]
|4
|2
|-
|kitchen
|[[counter]]
|4
|4
|-
|morgue
|[[counter]]
|4
|2
|-
|rowspan="2"|sewingstorage
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|2
|}


==Code==
==Code==
Line 34: Line 68:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 18
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 78.16
   | code =
   | code =
item Needle
item Needle
{
{
    DisplayCategory     = Tool,
    DisplayCategory = Tool,
    Weight             = 0.1,
Weight = 0.1,
    Type               = Normal,
Type = Normal,
    DisplayName         = Needle,
DisplayName =   Needle,
    Icon               = Needle,
Icon = Needle,
    MetalValue         = 2,
MetalValue = 2,
    SurvivalGear       = TRUE,
SurvivalGear = TRUE,
    Medical             = TRUE,
Medical = TRUE,
    WorldStaticModel   = Needle,
WorldStaticModel = Needle,
    Tags               = SewingNeedle,
Tags = SewingNeedle,
}
}
  }}
}}
}}
}}


Line 59: Line 93:
*[[First Aid]]
*[[First Aid]]


{{Navbox equipment}}
{{Navbox items|equipment}}
{{Navbox medical}}


[[Category:Medical Items]]
[[Category:Medical items]]
[[Category:First aid tools]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Tools]]

Revision as of 10:30, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
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 Ingredients Tools Requirements Workstation XP
Mattress.png
Mattress
Thread.png Thread ×2 unit(s)
Sheet.png Sheet ×5
Pillow.png Pillow ×5

Needle.png
Needle (tag)
none none none

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
bedroom crate 4 2
kitchen counter 4 4
morgue counter 4 2
sewingstorage metal_shelves 4 1
metal_shelves 4 2

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