Swim Trunks

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]
Swim Trunks
SwimTrunks Blue model.png
SwimTrunks Green model.png
SwimTrunks Red model.png
SwimTrunks Yellow model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Equipped
Underwear
Technical
Item ID
Base.SwimTrunks_Blue
Base.SwimTrunks_Green
Base.SwimTrunks_Red
Base.SwimTrunks_Yellow

The swim trunks are a clothing item that can be worn under pants. It comes in four colors, blue, green, red, and yellow.

Usage

The swim trunks are purely an aesthetic item and provides no protection from scratches, bites, or weather.

Distribution

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

SwimTrunks_Blue distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median 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.
Containers
Building/Room Container Effective chance
all dresser 1.87%
all wardrobe 1.87%
bathroom locker 1.87%
bedroom dresser 1.87%
bedroom wardrobe 1.87%
changeroom locker 1.87%
closet crate 1.87%
closet crate 19.27%
clothingstore clothingrack 19.27%
daycare wardrobe 1.87%
garagestorage crate 1.87%
garagestorage crate 19.27%
pool locker 19.27%
shoestore clothingrack 19.27%
storageunit crate 1.87%
storageunit crate 19.27%

Buildings

Swim trunks can be found in houses, clothing stores, and gym lockers.

Body location

Protection Underwear.png
  • Groin

Code

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

Swimtrunks Blue.png Base.SwimTrunks_Blue
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
item SwimTrunks_Blue
	{
	    DisplayCategory = Clothing,
		Type = Clothing,
		DisplayName = Swim Trunks,
		ClothingItem = SwimTrunks_Blue,
		BodyLocation = Underwear,
		Icon = Swimtrunks_Blue,
		Weight = 0.1,
		WorldStaticModel = SwimTrunks_Ground,
	}

Swimtrunks Green.png Base.SwimTrunks_Green
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
item SwimTrunks_Green
	{
	    DisplayCategory = Clothing,
		Type = Clothing,
		DisplayName = Swim Trunks,
		ClothingItem = SwimTrunks_Green,
		BodyLocation = Underwear,
		Icon = Swimtrunks_Green,
		Weight = 0.1,
		WorldStaticModel = SwimTrunks_Ground,
	}

Swimtrunks Red.png Base.SwimTrunks_Red
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
item SwimTrunks_Red
	{
	    DisplayCategory = Clothing,
		Type = Clothing,
		DisplayName = Swim Trunks,
		ClothingItem = SwimTrunks_Red,
		BodyLocation = Underwear,
		Icon = Swimtrunks_Red,
		Weight = 0.1,
		WorldStaticModel = SwimTrunks_Ground,
	}

Swimtrunks Yellow.png Base.SwimTrunks_Yellow
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
item SwimTrunks_Yellow
	{
	    DisplayCategory = Clothing,
		Type = Clothing,
		DisplayName = Swim Trunks,
		ClothingItem = SwimTrunks_Yellow,
		BodyLocation = Underwear,
		Icon = Swimtrunks_Yellow,
		Weight = 0.1,
		WorldStaticModel = SwimTrunks_Ground,
	}

See also