Empty Tin Can: Difference between revisions

From PZwiki
(→‎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

Project ZomboidItemsEmpty Tin Can
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 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

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.68
item TinCanEmpty
{
  DisplayCategory     = Material,
  Weight              = 0.2,
  Type                = Normal,
  DisplayName         = Empty Tin Can,
  Icon                = TinCanEmpty,
  MetalValue          = 20,
  StaticModel         = CanOpen,
  WorldStaticModel    = TinCanEmpty_Ground,
}

See also