Thread

From PZwiki
Thread
Thread
General
Category Item
Encumbrance
Heavy Load
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

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
Mattress
Mattress x1
none Needle.png
Needle
or
Suture Needle
Thread
Thread (5 units)
(consumed)
Pillow
Pillow x5
(consumed)
Sheet
Sheet x5
(consumed)


Distribution

Thread can be found in sheds, stores and some vehicles. It can also be gathered when tearing rags.

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

See also

General First Aid

Template:Navbox/Consumables