Comic Book: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table fix)
 
(33 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Comic Book}}
{{Header|Project Zomboid|Items|Literature}}
{{header|The Game World|Items|Literature|type=Literature|version=Version 39|incver=67.2}}{{infobox literature
{{Page version|41.78.16}}
|display_name=Comic Book
{{Reupload|Missing 3D model}}
|name_colour=Literature
{{Infobox item
|name_text_colour=Literature
|name=Comic Book
|image=ComicBook_120px.png
|icon=ComicBook.png
|category=Literature
|category=Literature
|weight=0.5
|weight=0.1
|unhappy_change=-20
|unhappy_change=-20
|boredom_change=-30
|boredom_change=-30
|stress_change=-20
|stress_change=-20
|consumed=True
|consumed=True
|class_name=Base.ComicBook
|item_id=Base.ComicBook
}}A '''comic book''' is a literature [[items|item]].
}}
A '''comic book''' is a literature [[Items|item]].


==Usage==
==Usage==
A comic book reduces the player's level of [[Moodles#Unhappiness|unhappiness]], [[Moodles#Stress|stress]] and [[Moodles#Boredom|boredom]]. Once used it is effectively 'consumed' and removed from the player's inventory.  
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===
===Fuel===
A comic book can be used as a fuel for a [[heat source]], and lasts for 15 mins if done so.
A comic book can be used as a fuel for a [[heat source]], and lasts for 10 minutes.


==Distribution==
==Distribution==
It can be found in [[Containers#Lockers|lockers]], library [[Containers#Counters|counters]], and [[Containers#Bedroom Storage|small tables]].
The loot distributions can be found in the table(s) below.
===Buildings===
 
{| class="wikitable mw-collapsible" style="text-align:center; width:400px;"
<!--BOT FLAG|ComicBook|41.78.16-->
! colspan=4 |  
{{Clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>ComicBook distribution
!Container
        <span class="mw-customtoggle-togglebox-ComicBook" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
!Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-ComicBook">
!Chance
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.   <div class="toggle-content">
|-
<div class="pz-container">
|rowspan="5"|All
<div id="containers" style="flex-basis:30%">
|[[Containers#Lockers|Locker]]
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
|2
    |+ {{ll|Containers}}
|3
    ! Building/Room
|-
    ! Container
<!--|All-->
    ! Effective chance
|[[Containers#Desks|Desk]]
    |-
|1
    | Bag_Satchel
|1
    | {{ll|Bag_Satchel}}
|-
    | 6.41%
<!--|All-->
    |-
|[[Containers#Cabinets|Filing Cabinet]]
    | Bag_Schoolbag
|1
    | {{ll|Bag_Schoolbag}}
|2
    | 6.41%
|-
    |-
<!--|All-->
    | all
|[[Containers#Bedroom Storage|Small Table]]
    | {{ll|Outfit_Student}}
|1
    | 2.81%
|2
    |-
|-
    | all
<!--|All-->
    | {{ll|Outfit_Varsity}}
|[[Containers#Desks|Office Drawers]]
    | 2.81%
|1
    |-
|1 (+2)
    | all
|-
    | {{ll|shelves}}
|Library
    | 10.78%
|[[Containers#Counters|Counter]]
    |-
|4
    | all
|2
    | {{ll|shelvesmag}}
|-
    | 19.27%
|Motel Room
    |-
|[[Containers|Other]]
    | all
|2
    | {{ll|sidetable}}
|2
    | 10.78%
|-
    |-
|Plaza Store
    | bedroom
|[[Containers#Counters|Counter]]
    | {{ll|crate}}
|1
    | 1.01%
|2
    |-
|-
    | bedroom
|Post Storage
    | {{ll|crate}}
|[[Containers|All]]
    | 23.28%
|3
    |-
|10
    | bedroom
|-
    | {{ll|crate}}
|}
    | 41.14%
    |-
    | bedroom
    | {{ll|crate}}
    | 76.55%
    |-
    | bookstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | bookstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | cafe
    | {{ll|shelves}}
    | 23.28%
    |-
    | cafe
    | {{ll|shelves}}
    | 41.14%
    |-
    | classroom
    | {{ll|desk}}
    | 6.29%
    |-
    | closet
    | {{ll|crate}}
    | 1.01%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | closet
    | {{ll|crate}}
    | 41.14%
    |-
    | closet
    | {{ll|crate}}
    | 76.55%
    |-
    | daycare
    | {{ll|desk}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|crate}}
    | 1.01%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | garagestorage
    | {{ll|crate}}
    | 76.55%
    |-
    | gasstorage
    | {{ll|counter}}
    | 10.78%
    |-
    | hall
    | {{ll|locker}}
    | 6.29%
    |-
    | hall
    | {{ll|shelvesmag}}
    | 19.27%
    |-
    | janitor
    | {{ll|counter}}
    | 10.78%
    |-
    | kitchen
    | {{ll|shelves}}
    | 10.78%
    |-
    | livingroom
    | {{ll|crate}}
    | 23.28%
    |-
    | livingroom
    | {{ll|crate}}
    | 41.14%
    |-
    | livingroom
    | {{ll|crate}}
    | 76.55%
    |-
    | livingroom
    | {{ll|overhead}}
    | 10.78%
    |-
    | livingroom
    | {{ll|shelves}}
    | 10.78%
    |-
    | livingroom
    | {{ll|sidetable}}
    | 10.78%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 41.14%
    |-
    | motelroomoccupied
    | {{ll|sidetable}}
    | 1.61%
    |-
    | office
    | {{ll|shelves}}
    | 10.78%
    |-
    | schoolstorage
    | {{ll|counter}}
    | 10.78%
    |-
    | storageunit
    | {{ll|crate}}
    | 1.01%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|crate}}
    | 41.14%
    |-
    | storageunit
    | {{ll|crate}}
    | 76.55%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 1.01%
    |-
    | zippeestorage
    | {{ll|counter}}
    | 10.78%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Postal
    | {{ll|Truck Bed}}
    | 19.27%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-ComicBook" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|ComicBook|41.78.16-->


===Vehicles===
===Vehicles===
{| class="wikitable mw-collapsible" style="text-align:center; width:400px;"
{| class="wikitable theme-red mw-collapsible" style="text-align:center; width:400px;"
! colspan=4 |  
! colspan=4 |
|-
|-
!Profession
!Profession
Line 91: Line 257:
|4
|4
|10
|10
|-
|}
|}


== Code ==
==Trivia==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
*Comic Book and [[HottieZ]] currently share the same model when placed on the ground.
{{Retrieved|version=39|incver=67.5}}
 
<nowiki>
==Code==
item ComicBook
{{CodeBox
Weight = 0.1,
| {{CodeSnip
Type = Literature,
  | lang = java
UnhappyChange = -20,
  | line = true
DisplayName = Comic Book,
  | start = 1379
StressChange = -20,
  | source = items_literature.txt
Icon = ComicBook,
  | retrieved = true
BoredomChange = -30,</nowiki>
  | version = 41.78.16
  | code =
item ComicBook
    {
        DisplayCategory = Literature,
        Weight = 0.1,
        Type = Literature,
        DisplayName = Comic Book,
        Icon = ComicBook,
        UnhappyChange = -20,
        StressChange = -20,
        BoredomChange = -30,
        StaticModel = Magazine,
        WorldStaticModel = MagazineOpenGround,
    }
}}
}}


==See also==
==See also==
Line 112: Line 293:
*[[Newspaper]]
*[[Newspaper]]


{{Navbox/Consumables}}
{{Navbox items|literature}}

Latest revision as of 19:05, 30 April 2024

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
Moodle Icon HeavyLoad.png
0.1
Properties
Consumed
True
Effect
UnhappinessMoodle Icon Unhappy.png
-20
BoredomMoodle Icon Bored.png
-30
StressMoodle Icon Stressed.png
-20
Technical
Item 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

The loot distributions can be found in the table(s) below.

ComicBook distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_Satchel Bag_Satchel 6.41%
Bag_Schoolbag Bag_Schoolbag 6.41%
all Outfit_Student 2.81%
all Outfit_Varsity 2.81%
all shelves 10.78%
all shelvesmag 19.27%
all sidetable 10.78%
bedroom crate 1.01%
bedroom crate 23.28%
bedroom crate 41.14%
bedroom crate 76.55%
bookstore shelves 23.28%
bookstore shelves 41.14%
cafe shelves 23.28%
cafe shelves 41.14%
classroom desk 6.29%
closet crate 1.01%
closet crate 23.28%
closet crate 41.14%
closet crate 76.55%
daycare desk 6.29%
garagestorage crate 1.01%
garagestorage crate 23.28%
garagestorage crate 41.14%
garagestorage crate 76.55%
gasstorage counter 10.78%
hall locker 6.29%
hall shelvesmag 19.27%
janitor counter 10.78%
kitchen shelves 10.78%
livingroom crate 23.28%
livingroom crate 41.14%
livingroom crate 76.55%
livingroom overhead 10.78%
livingroom shelves 10.78%
livingroom sidetable 10.78%
livingroom wardrobe 23.28%
livingroom wardrobe 41.14%
motelroomoccupied sidetable 1.61%
office shelves 10.78%
schoolstorage counter 10.78%
storageunit crate 1.01%
storageunit crate 23.28%
storageunit crate 41.14%
storageunit crate 76.55%
storageunit metal_shelves 1.01%
zippeestorage counter 10.78%
Vehicles
Type Container Effective chance
Postal Trunk 19.27%

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.78.16
item ComicBook
    {
        DisplayCategory = Literature,
        Weight	=	0.1,
        Type	=	Literature,
        DisplayName	=	Comic Book,
        Icon	=	ComicBook,
        UnhappyChange	=	-20,
        StressChange	=	-20,
        BoredomChange	=	-30,
        StaticModel = Magazine,
        WorldStaticModel = MagazineOpenGround,
    }

See also