Speaker: Difference between revisions

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


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


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

Revision as of 04:28, 8 January 2024

Speaker
Speaker Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Function
Technical
Item ID
Base.Speaker
Used in improvised defensive devices. Requires known recipe or Engineer profession.
— In-game tooltip

A speaker is an electrical item used in crafting.

Usage

A speaker can only be dismantled, producing an amplifier.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Amplifier.png
Amplifier
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)
Speaker.png
Speaker
(consumed)

Distribution

Can be found in electronics store counters and shelves.

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