Toy Car: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{Header|The Game World|Items|version=Version 40|incver=43}}
{{Page version|41.78.16}}
{{Reupload}} <!-- Needs model variants in a <gallery> section-->
{{Infobox item
{{Infobox item
| display_name = Toy Car
|name=Toy Car
| name_colour =
|model=ToyCar_Model.png
| name_text_colour =
|icon=ToyCar.png
| model = ToyCar_Model.png
|icon_name=Toy Car
| icon=ToyCar.png
|model_width=128px
| icon_name=Toy Car
|weight=0.1
| model_width = 128px
|function=''None''
| weight = 0.1
|item_id=Base.ToyCar
| function = ''None''
}}
| class_name = Base.ToyCar
'''Toy car''' is currently a useless item, and often considered as ''junk''.
}}'''Toy cars''' are currently a useless {{T|item}}, and often considered as ''junk''.


==Usage==
==Usage==
Toy cars have no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
Toy car have no use, being added purely for the purpose of clutter, creating more realism for the player when looting.


==Distribution==
==Distribution==
Toy cars can be found in wardrobes, toy stores and [[vehicles]].
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|bedroom
|[[wardrobe]]
|4
|6
|-
|rowspan="3"|closet
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|rowspan="3"|daycare
|[[counter]]
|4
|6
|-
|[[desk]]
|4
|6
|-
|[[metal_shelves]]
|4
|6
|-
|garagestorage
|[[crate]]
|4
|1
|-
|rowspan="2"|generalstore
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|}


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


==See also==
==See also==
*[[Doll]]
*[[Doll]]
*[[Toy Bear]]
*[[Toy Bear]]
{{Navbox items|junk}}

Revision as of 12:57, 14 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]
Toy Car
ToyCar Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.ToyCar

Toy car is currently a useless item, and often considered as junk.

Usage

Toy car have 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.

Containers
Building/Room Container Rolls Chance
bedroom wardrobe 4 6
closet crate 4 1
crate 4 1
crate 4 1
daycare counter 4 6
desk 4 6
metal_shelves 4 6
garagestorage crate 4 1
generalstore shelves 4 1
shelves 4 2

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 ToyCar
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Toy Car,
        Icon	=	ToyCar,
        WorldStaticModel = ToyCar,
    }

See also