Thread
Thread | |
---|---|
General | |
Category | Item |
Encumbrance | 0.1 |
Function |
Craft mattress Stitch deep wounds |
Technical details | |
Base ID | Base.Thread |
Thread is an item used intailoring, carpentry and first aid.
Usage
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