Empty Tin Can: Difference between revisions
(→Code: CodeBox update) |
m (Fix) |
||
Line 21: | Line 21: | ||
Empty tin cans are commonly found in [[Tiles#Bins|garbage bins]] or [[Tiles#Crates|crates]]. | Empty tin cans are commonly found in [[Tiles#Bins|garbage bins]] or [[Tiles#Crates|crates]]. | ||
==Code== | |||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip |
Revision as of 09:48, 31 January 2024
An empty tin can are currently a useless item, and often considered as junk.
Usage
Empty tin cans 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
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,
}