Thread: Difference between revisions
Actuallyamod (talk | contribs) m (syntax edit, intailoring to in tailoring) |
Actuallyamod (talk | contribs) (→Usage: Added "Tailoring" subsection.) |
||
Line 13: | Line 13: | ||
==Usage== | ==Usage== | ||
===Tailoring=== | |||
Thread is needed to repair and fortify clothes with the [[Tailoring|tailoring]] skill. | |||
===Crafting=== | |||
Thread is required in crafting a [[mattress]]. | Thread is required in crafting a [[mattress]]. | ||
Revision as of 03:03, 13 January 2022
Thread | |
---|---|
General | |
Category | Item |
Encumbrance | 0.1 |
Function |
Craft mattress Stitch deep wounds |
Technical details | |
Base ID | Base.Thread |
Thread is an item used in tailoring, carpentry and first aid.
Usage
Tailoring
Thread is needed to repair and fortify clothes with the tailoring skill.
Crafting
Thread is required in crafting a mattress.
Medical
Thread can be used with a needle to stitch deep wounds, however causing more pain than using a suture needle.
Crafting
Template:Crafting table header
|-
|
|
|
| ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer
Distribution
Thread can be found in sheds, stores and some vehicles.
Code
Item
From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43
item Thread Weight = 0.1, Type = Drainable, UseWhileEquipped = FALSE, UseDelta = 0.1, DisplayName = Thread, Icon = Thread, cantBeConsolided = TRUE,
Obtaining from ripping clothing
From recipecode.txt (Project Zomboid directory/media/lua/server/) Retrieved: Build 41.50
-- add thread sometimes, depending on tailoring level if ZombRand(7) < player:getPerkLevel(Perks.Tailoring) + 1 then local max = 2; if nbrOfCoveredParts then max = nbrOfCoveredParts; if max > 6 then max = 6; end end max = ZombRand(2, max); local thread = InventoryItemFactory.CreateItem("Base.Thread"); for i=1,10-max do thread:Use(); end player:getInventory():AddItem(thread); end