Comic Book: Difference between revisions

From PZwiki
m (Bump version, add 3D model request, add trivia, minor)
(→‎Code: Codebox Update)
Line 102: Line 102:


==Code==
==Code==
'''''From items_literature.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.50}}
| {{CodeSnip
<pre>
  | lang = java
item ComicBook
  | line = true
Weight = 0.1,
  | start = 0
Type = Literature,
  | source = items_literature.txt
UnhappyChange = -20,
  | retrieved = true
DisplayName = Comic Book,
  | version = 41
StressChange = -20,
  | incver = 50
Icon = ComicBook,
  | code =
BoredomChange = -30,
item ComicBook
StaticModel = Magazine,
{
</pre>
  Weight         = 0.1,
  Type           = Literature,
  UnhappyChange = -20,
  DisplayName   = Comic Book,
  StressChange   = -20,
  Icon           = ComicBook,
  BoredomChange = -30,
  StaticModel   = Magazine,
}
  }}
}}


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

Revision as of 14:07, 31 January 2024

Template:Header/sandbox2

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Comic Book
Comic Book
General
Category Literature
Encumbrance
Heavy Load
0.1
Consumed True
Effect
Unhappiness
Unhappiness
-20
Boredom
Boredom
-30
Stress
Stress
-20
Technical details
Base ID Base.ComicBook

A comic book is a literature item.

Usage

A comic book reduces the player's level of unhappiness, stress, and boredom. Once used, it is effectively 'consumed' and removed from the player's inventory.

Fuel

A comic book can be used as a fuel for a heat source, and lasts for 10 minutes.

Distribution

It can be found in lockers, library counters, and small tables.

Buildings

Building/Room Container Rolls Chance
All Locker 2 3
Desk 1 1
Filing Cabinet 1 2
Small Table 1 2
Office Drawers 1 1 (+2)
Library Counter 4 2
Motel Room Other 2 2
Plaza Store Counter 1 2
Post Storage All 3 10

Vehicles

Profession Container Rolls Chance
Post Van Trunk 4 10

Trivia

  • Comic Book and Hottiez currently share the same model when placed on the ground.

Code

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

Source: ProjectZomboid\media\scripts\items_literature.txt

Retrieved: Build 41.50
item ComicBook
{
  Weight         = 0.1,
  Type           = Literature,
  UnhappyChange  = -20,
  DisplayName    = Comic Book,
  StressChange   = -20,
  Icon           = ComicBook,
  BoredomChange  = -30,
  StaticModel    = Magazine,
}

See also