Timer: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(→‎Code: Codebox Update)
Line 22: Line 22:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=5}}
| {{CodeSnip
<pre>
  | lang = java
item Timer
  | line = true
Weight = 0.3,
  | start = 0
Type = Normal,
  | source = newitems.txt
DisplayName = Timer,
  | retrieved = true
Icon = Timer,
  | version = 40
MetalValue = 7,
  | incver = 5
</pre>
  | code =
item Speaker
{
    Weight       = 1.5,
    Type         = Normal,
    DisplayName   = Speaker,
    Icon         = Speaker,
    MetalValue   = 20,
    Tooltip      = Tooltip_ItemTraps,
}
  }}
}}


==See also==
==See also==

Revision as of 04:29, 8 January 2024

Timer
Timer Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Function
Technical
Item ID
Base.Timer

A timer is an electrical item used in crafting.

Usage

The only current use for the timer is crafting a crafted timer.

Note that the timer cannot be used in a similar way to the alarm clock, in setting a time to emit a noise.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
TimerCrafted.png
Crafted Timer
0 XP Electrical 1 Electronics Magazine Vol.2 Screwdriver.png
Screwdriver
(keep)

(consumed)
ElectronicsScrap.png
Scrap Electronics x1
(consumed)
Glue.png
Glue
(1 unit)

(consumed)

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 40.5
item Speaker
{
    Weight        = 1.5,
    Type          = Normal,
    DisplayName   = Speaker,
    Icon          = Speaker,
    MetalValue    = 20,
    Tooltip       = Tooltip_ItemTraps,
}

See also