Cat Toy: Difference between revisions

From PZwiki
(Created page)
 
(Update distribution file)
 
(29 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Cat Toy}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Cat Toy
{{Infobox item
| name_colour =  
|name=Cat Toy
| name_text_colour =  
|model=CatToy_Model.png
| image = CatToy.png
|model_width=200px
| image_width = 120px
|icon=CatToy.png
| weight = 0.1
|icon_name=Cat Toy
| function = ''None''
|category=Junk
| class_name = Base.CatToy
|weight=0.1
}}A '''cat toy''' is currently a useless {{T|item}}, and often considered as ''junk''.
|function=''None''
|item_id=Base.CatToy
}}
A '''cat toy''' is currently a useless item, and often considered as ''junk''.


==Usage==
==Usage==
A cat toy has no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
A cat toy has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.


==Distribution==
==Distribution==
Cat toys can be found in wardrobes and in gift stores. They can also be found in glove boxes and on seats in [[vehicles]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|CatToy|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>CatToy distribution
        <span class="mw-customtoggle-togglebox-CatToy" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CatToy">
    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.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | bedroom
    | {{ll|crate}}
    | 0.77%
    |-
    | closet
    | {{ll|crate}}
    | 0.77%
    |-
    | closet
    | {{ll|crate}}
    | 15.1%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.77%
    |-
    | garagestorage
    | {{ll|crate}}
    | 15.1%
    |-
    | kennels
    | {{ll|counter}}
    | 15.1%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.77%
    |-
    | storageunit
    | {{ll|crate}}
    | 15.1%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.77%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 15.1%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CatToy" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CatToy|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item CatToy
  | lang = java
Weight = 0.1,
  | line = true
Type = Normal,
  | start = 306
DisplayName = Cat Toy,
  | source = newitems.txt
Icon = CatToy,
  | retrieved = true
</pre>
  | version = 41.78.16
  | code =
item CatToy
    {
        DisplayCategory = Junk,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Cat Toy,
        Icon = CatToy,
        WorldStaticModel = CatToy,
    }
}}
}}


==See also==
==See also==
* [[Dog Chew Toy]]
*[[Dog Chew Toy]]
* [[Socks]]
*[[Socks]]
 
{{Navbox items|junk}}

Latest revision as of 12:19, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cat Toy
CatToy Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.CatToy

A cat toy is currently a useless item, and often considered as junk.

Usage

A cat toy has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.

Distribution

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

CatToy 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
bedroom crate 0.77%
closet crate 0.77%
closet crate 15.1%
garagestorage crate 0.77%
garagestorage crate 15.1%
kennels counter 15.1%
storageunit crate 0.77%
storageunit crate 15.1%
storageunit metal_shelves 0.77%
storageunit metal_shelves 15.1%

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item CatToy
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Cat Toy,
        Icon	=	CatToy,
        WorldStaticModel = CatToy,
    }

See also