Empty Tin Can: Difference between revisions

From PZwiki
(Added image)
m (Automatic formatting)
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Empty Tin Can}}
{{Header|Project Zomboid|Items|Materials|Metal}}
{{header|The Game World|Items|version=Version 41|incver=50}}
{{Page version|41.68}}
{{Infobox normal
{{Infobox item
|display_name=Empty Tin Can
|name=Empty Tin Can
|name_colour=Normal
|model=TinnedCanEmpty_Model.png.png
|name_text_colour=Normal
|model_width=200px
|image=Emptycan.png
|icon=TinCanEmpty.png
|image_width=120px
|icon_name=Empty Tin Can
|category=Material
|weight=0.2
|weight=0.2
|primary_use=''None''
|function=''None''
|class_name=TinCanEmpty
|material=Metal
|material_value=20
|item_id=Base.TinCanEmpty
}}
}}
'''Empty tin cans''' are currently a useless {{T|item}}, and often considered as ''junk''.


== Usage ==
An '''empty tin can''' is currently a useless [[Items|item]], categorized as ''junk''.
Empty tin cans have no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}}.
It can be obtained through fully eating a canned food item. The weight of the can is not dependent on the type of canned food it came from.


== Distribution ==
==Usage==
Empty tin cans cannot be found through looting and can only be created by completely consuming a canned food item.
Empty tin cans currently have no use, being added purely for the purpose of clutter, creating more realism for the [[player]].


== Code ==
It can be obtained through fully eating a [[Food#Canned food|canned food]] item. The weight of the can is not dependent on the type of canned food it came from.
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=41|incver=50}}
==Distribution==
<pre> item TinCanEmpty
The loot distributions can be found in the table(s) below.
Weight = 0.2,
 
Type = Normal,
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
DisplayName = Empty Tin Can,
! colspan="4" | Containers
Icon = TinCanEmpty,
|-
MetalValue = 20,
! Building/Room
StaticModel = CanOpen,
! Container
</pre>
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="9"|garagestorage
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|-
|motelroomoccupied
|[[bin]]
|4
|4
|}Empty tin cans are commonly found in [[Tiles#Bins|garbage bins]] or [[Tiles#Crates|crates]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3908
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item TinCanEmpty
    {
        DisplayCategory = Material,
        Weight = 0.2,
        Type = Normal,
        DisplayName = Empty Tin Can,
        Icon = TinCanEmpty,
        MetalValue = 20,
        StaticModel = CanOpen,
        WorldStaticModel = TinCanEmpty_Ground,
    }
}}
}}
 
==See also==
*[[Empty Pop Can]]
 
[[Category:Materials]]

Revision as of 16:09, 25 March 2024

Project ZomboidItemsMaterialsMetalEmpty Tin Can
Spiffo controlyourself.png
This page was last updated for an older version (41.68).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Empty Tin Can
TinnedCanEmpty Model.png.png
General
Category
Material
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
None
Properties
Material
Metal
Metal quantity
20
Technical
Item ID
Base.TinCanEmpty

An empty tin can is currently a useless item, categorized as junk.

Usage

Empty tin cans currently have no use, being added purely for the purpose of clutter, creating more realism for the player.

It can be obtained through fully eating a canned food item. The weight of the can is not dependent on the type of canned food it came from.

Distribution

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

Containers
Building/Room Container Rolls Chance
garagestorage crate 4 1
crate 4 1
crate 4 1
crate 4 1
crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5
motelroomoccupied bin 4 4

Empty tin cans are commonly found in garbage bins or crates.

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 TinCanEmpty
    {
        DisplayCategory = Material,
        Weight = 0.2,
        Type = Normal,
        DisplayName	= Empty Tin Can,
        Icon = TinCanEmpty,
        MetalValue = 20,
        StaticModel = CanOpen,
        WorldStaticModel = TinCanEmpty_Ground,
    }

See also