Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Be crafty.png

Build 42 unstable is out now!

The wiki has already begun updating. Please be patient during the transition.
Help us by contributing to the build 42 update project.
The Project Zomboid Map Project will not be updated until at least January, in the meantime use B42 Map.

404SpiffoMascotMap.png

Yarn

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Parts of this page may have been automatically updated to the latest build (42.0.2).
Yarn
Yarn Model.png
General
Category
Material
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Technical
Item ID
Base.Yarn

A yarn is an item that can be found in the world.

Usage

While technically a material, yarn is currently functionally a junk item and cannot be used as a replacement for things like thread, twine, sheet rope etc. As such, its primary use is currently adding item diversity and realism for the player when looting, or for decoration.

Location

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

Yarn distributionShow / Hide

Effective chance calculations are based off of default 'apocalypse' loot settings, with no luck modifier, and average zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits. Duplicate entries do exist, but have been removed for clarity.

Containers
Building/Room Container Effective chance
closet cardboardbox 23.67%
closet smallbox 23.67%
garagestorage cardboardbox 23.67%
garagestorage smallbox 23.67%
kitchen cardboardbox 23.67%
kitchen counter 3.43%
kitchen crate 23.67%
kitchen smallbox 23.67%
livingroom cardboardbox 23.67%
livingroom counter 3.43%
livingroom crate 23.67%
livingroom smallbox 23.67%
sewingstorage cardboardbox 41.46%
sewingstorage cardboardbox 23.67%
sewingstorage crate 41.46%
sewingstorage crate 23.67%
sewingstorage metal_shelves 41.46%
sewingstorage metal_shelves 23.67%
sewingstorage smallbox 41.46%
sewingstorage smallbox 23.67%
sewingstore clothingrack 41.46%
sewingstore clothingrack 23.67%
sewingstore counter 41.46%
sewingstore counter 23.67%
sewingstore shelves 41.46%
sewingstore shelves 23.67%
shed smallbox 23.67%
storageunit cardboardbox 23.67%
storageunit crate 23.67%
storageunit metal_shelves 23.67%
storageunit smallbox 23.67%
SurvivorCacheBigBuilding counter 3.43%
ww_bedroom dresser 19.68%
ww_bedroom sidetable 19.68%
ww_bedroom wardrobe 19.68%
ww_livingroom locker 19.68%
Stories
Story ID Link
RBTSSewing Table stories
Foraging
Amount Skill level Biome: chance Weather modifiers % Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
1 0 DeepForest: 3
Farm: 3
FarmLand: 3
ForagingNav: 3
Forest: 3
TownZone: 3
TrailerPark: 3
Vegitation: 3
- - - - - - -

Yarn can be found in homesteading supplies, kitchen counters, tailoring stores, and sewing kits.

History

Base.Yarn

Version Description
Build 42.0.0 FireFuelRatio added with value 0.25.
Icon changed from Yarn to Yarn_Generic.
OnCreate added with value SpecialLootSpawns.OnCreateColorFromDefinition.
Item tag added with value ['IsFireFuel', 'IsFireTinder'].
Weight changed from 0.1 to 0.3.
Build 41.65 DisplayCategory added with value Material.
Build 41.50 WorldStaticModel added with value Yarn.
Build 32.14 Released on this version.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_tailoring.txt

Retrieved: Build 42.0.2
item Yarn
	{
		DisplayName = Yarn,
		DisplayCategory = Material,
		Type = Normal,
		Weight = 0.3,
		Icon = Yarn_Generic,
		WorldStaticModel = Yarn,
		OnCreate = SpecialLootSpawns.OnCreateColorFromDefinition,
		Tags = IsFireFuel;IsFireTinder,
        	FireFuelRatio = 0.25,
	}

See also