Needle: Difference between revisions

From PZwiki
(changes to infobox and code)
m (Simplified redundant links)
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 41|incver=78.16}}{{Infobox item
{{Header|Project Zomboid|Items|Equipment|Tools|Tailoring tools}}
|display_name=Needle
{{Page version|41.78.16}}
{{Infobox item
|name=Needle
|model=Needle_Model.png
|model=Needle_Model.png
|icon=Needle.png
|icon=Needle.png
Line 11: 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]] 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.
 
<!--BOT FLAG|Needle|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Needle distribution
        <span class="mw-customtoggle-togglebox-Needle" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Needle">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|SewingKit}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|SewingKit}}
    | 1
    | 200.0
    |-
    | bedroom
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | morgue
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | sewingstorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | sewingstorage
    | {{ll|metal_shelves}}
    | 4
    | 20.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Needle" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Needle|41.78.16-->


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
    item Needle
  | line = true
  | start = 18
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Needle
{
{
    DisplayCategory = Tool,
    DisplayCategory = Tool,
Line 45: Line 113:
Tags = SewingNeedle,
Tags = SewingNeedle,
}
}
</pre>
}}
}}


==See also==
==See also==
*[[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 11:45, 25 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.

Needle distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all SewingKit 1 10.0
all SewingKit 1 200.0
bedroom crate 4 20.0
bedroom crate 1 1.0
kitchen counter 4 4.0
morgue counter 4 20.0
sewingstorage metal_shelves 4 10.0
sewingstorage metal_shelves 4 20.0

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