Video Game: Difference between revisions

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


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


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

Revision as of 04:31, 8 January 2024

Video Game
VideoGame Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Function
Technical
Item ID
Base.VideoGame

A video game is an electrical item used in crafting.

Usage

A video game can only be dismantled, producing an scrap electronics.

Note that the video game cannot be used to reduce player boredom, or other statuses.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
ElectronicsScrap.png
Scrap Electronics
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)

(consumed)

Distribution

Can be found in:

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 VideoGame
{
    Weight      = 0.3,
    Type        = Normal,
    DisplayName = Video Game,
    Icon        = VideoGame,
    MetalValue  = 7,
}

See also