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

Mouse Trap

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).
Mouse Trap
MouseTrap.png
[[File:{{{icon2}}}|Mouse Trap||class=pixelart}}]]
[[File:{{{icon3}}}|Mouse Trap||class=pixelart}}]]
[[File:{{{icon4}}}|Mouse Trap||class=pixelart}}]]
[[File:{{{icon5}}}|Mouse Trap||class=pixelart}}]]
[[File:{{{icon6}}}|Mouse Trap||class=pixelart}}]]
[[File:{{{icon7}}}|Mouse Trap||class=pixelart}}]]
[[File:{{{icon8}}}|Mouse Trap||class=pixelart}}]]
[[File:{{{icon9}}}|Mouse Trap||class=pixelart}}]]
General
Category
Item
EncumbranceMoodle Icon HeavyLoad.png
0.3
Size
1 tile
Function
Catch animals
Properties
Health
50
Strength
50
Animals
Mouse.png Rat.png
Destroy
Products
Technical
Item ID(s)
Base.TrapMouse
Tile ID(s)
constructedobjects_01_18

A mouse trap is a small-sized trap used by beginner trappers.

Usage

A mouse trap is one of several traps used in trapping to catch a variety of wildlife. However, it is the only trap that cannot be crafted.

Trapping

Main article: Trapping

Cage traps can be used to catch mice and rats.

Catch chance:
Mouse 30%
Rat 25%

Location

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

TrapMouse 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 crate 23.28%
garagestorage crate 23.28%
gardenstore counter 19.27%
gardenstore metal_shelves 19.27%
gardenstore shelves 19.27%
gasstorage counter 23.28%
janitor counter 23.28%
janitor metal_shelves 23.28%
kitchen counter 19.27%
livingroom counter 19.27%
producestorage metal_shelves 19.27%
schoolstorage counter 23.28%
storageunit crate 23.28%
toolstore counter 10.78%
toolstore shelves 10.78%
zippeestorage counter 23.28%
Foraging
Amount Skill level Biome: chance Weather modifiers % Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
-- - DeepForest 1 - - - - - - -

History

Base.TrapMouse

Version Description
Build 41.65 DisplayCategory added with value Trapping.
Build 35.25b MetalValue added with value 2.
Build 27 Released on this version.

Code

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

Item

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item TrapMouse
    {
        DisplayCategory = Trapping,
        Weight	=	0.3,
        Type	=	Normal,
        DisplayName	=	Mouse Trap,
        Icon	=	Mousetrap,
        Trap    =   true,
        MetalValue = 2,
    }

Tile

Source: ProjectZomboid\media\lua\server\Traps\TrapDefinition.lua

Retrieved: Build 41.78.16
local mouseTrap = {};
mouseTrap.type = "Base.TrapMouse";
mouseTrap.sprite = "constructedobjects_01_18";
mouseTrap.closedSprite = "constructedobjects_01_19";
mouseTrap.trapStrength = 50;
mouseTrap.destroyItem = "Base.UnusableWood";
table.insert(Traps, mouseTrap);

See also