Empty Tin Can: Difference between revisions
(changed over infobox) |
m (Automatic formatting) |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Materials|Metal}} | |||
{{Page version|41.68}} | |||
{{Infobox item | {{Infobox item | ||
| | |name=Empty Tin Can | ||
|model=TinnedCanEmpty_Model.png.png | |model=TinnedCanEmpty_Model.png.png | ||
|model_width=200px | |model_width=200px | ||
Line 12: | Line 13: | ||
|material_value=20 | |material_value=20 | ||
|item_id=Base.TinCanEmpty | |item_id=Base.TinCanEmpty | ||
}}An '''empty tin can''' | }} | ||
An '''empty tin can''' is currently a useless [[Items|item]], categorized as ''junk''. | |||
==Usage== | ==Usage== | ||
Empty tin cans have no use, being added purely for the purpose of clutter, creating more realism for the | 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 [[Food#Canned food|canned food]] item. The weight of the can is not dependent on the type of canned food it came from. | 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. | ||
==Distribution== | ==Distribution== | ||
Empty tin cans are commonly found in [[Tiles#Bins|garbage bins]] or [[Tiles#Crates|crates]]. | 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 | |||
|- | |||
|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== | ==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== | ==See also== | ||
*[[Empty Pop Can]] | *[[Empty Pop Can]] | ||
[[Category:Materials]] |
Revision as of 16:09, 25 March 2024
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
Source: ProjectZomboid\media\scripts\newitems.txt
item TinCanEmpty
{
DisplayCategory = Material,
Weight = 0.2,
Type = Normal,
DisplayName = Empty Tin Can,
Icon = TinCanEmpty,
MetalValue = 20,
StaticModel = CanOpen,
WorldStaticModel = TinCanEmpty_Ground,
}