Comic Book: Difference between revisions

From PZwiki
(→‎Code: Codebox Update)
m (Distribution table update)
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Literature}}
{{Header/sandbox2|Project Zomboid|Items|Literature}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Reupload|Missing 3D model}}
{{Reupload|Missing 3D model}}
{{Infobox literature
{{Infobox item
|display_name=Comic Book
|name=Comic Book
|name_colour=Literature
|icon=ComicBook.png
|name_text_colour=Literature
|image=ComicBook.png
|category=Literature
|category=Literature
|weight=0.1
|weight=0.1
Line 14: Line 11:
|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|unhappiness]], [[Stress|stress]], and [[Boredom|boredom]]. Once used, it is effectively 'consumed' and removed from the player's inventory.


===Fuel===
===Fuel===
Line 25: Line 22:


==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===
<!--BOT FLAG|ComicBook|41.78.16-->
{| class="wikitable theme-red mw-collapsible" style="text-align:center; width:400px;"
{{clear}}
! colspan=4 |  
<div class="togglebox theme-red">
|-
    <div>ComicBook distribution
!Building/Room
        <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>
!Container
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-ComicBook">
!Rolls
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
!Chance
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|-
    |+ {{ll|Containers}}
|rowspan="5"|All
    ! Building / Room
|[[Containers#Lockers|Locker]]
    ! Container
|2
    ! Rolls
|3
    ! Chance
|-
    |-
<!--|All-->
    | all
|[[Containers#Desks|Desk]]
    | {{ll|Bag_Schoolbag}}
|1
    | 1
|1
    | 10.0
|-
    |-
<!--|All-->
    | all
|[[Containers#Cabinets|Filing Cabinet]]
    | {{ll|shelves}}
|1
    | 4
|2
    | 4.0
|-
    |-
<!--|All-->
    | all
|[[Containers#Bedroom Storage|Small Table]]
    | {{ll|shelvesmag}}
|1
    | 4
|2
    | 8.0
|-
    |-
<!--|All-->
    | all
|[[Containers#Desks|Office Drawers]]
    | {{ll|sidetable}}
|1
    | 4
|1 (+2)
    | 4.0
|-
    |-
|Library
    | all
|[[Containers#Counters|Counter]]
    | {{ll|sidetable}}
|4
    | 1
|2
    | 2.0
|-
    |-
|Motel Room
    | bedroom
|[[Containers|Other]]
    | {{ll|crate}}
|2
    | 4
|2
    | 50.0
|-
    |-
|Plaza Store
    | bedroom
|[[Containers#Counters|Counter]]
    | {{ll|crate}}
|1
    | 4
|2
    | 20.0
|-
    |-
|Post Storage
    | bedroom
|[[Containers|All]]
    | {{ll|crate}}
|3
    | 1
|10
    | 1.0
|-
    |-
|}
    | bedroom
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | bookstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | bookstore
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | cafe
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | cafe
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | classroom
    | {{ll|desk}}
    | 4
    | 2.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | daycare
    | {{ll|desk}}
    | 4
    | 2.0
    |-
    | gasstorage
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | hall
    | {{ll|locker}}
    | 4
    | 2.0
    |-
    | kitchen
    | {{ll|shelves}}
    | 4
    | 4.0
    |-
    | livingroom
    | {{ll|shelves}}
    | 4
    | 4.0
    |-
    | livingroom
    | {{ll|sidetable}}
    | 4
    | 4.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | PostalTruckBed
    | 4
    | 8
    |}
</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 theme-red 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 99: Line 181:


==Trivia==
==Trivia==
*Comic Book and [[Hottiez]] currently share the same model when placed on the ground.
*Comic Book and [[HottieZ]] currently share the same model when placed on the ground.


==Code==
==Code==
Line 106: Line 188:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 1379
   | source = items_literature.txt
   | source = items_literature.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 50
   | code =
   | code =
item ComicBook
item ComicBook
{
    {
  Weight         = 0.1,
        DisplayCategory = Literature,
  Type           = Literature,
        Weight = 0.1,
  UnhappyChange  = -20,
        Type = Literature,
  DisplayName    = Comic Book,
        DisplayName = Comic Book,
  StressChange  = -20,
        Icon = ComicBook,
  Icon          = ComicBook,
        UnhappyChange = -20,
  BoredomChange = -30,
        StressChange = -20,
  StaticModel   = Magazine,
        BoredomChange = -30,
}
        StaticModel = Magazine,
  }}
        WorldStaticModel = MagazineOpenGround,
    }
}}
}}
}}


Line 131: Line 214:
*[[Newspaper]]
*[[Newspaper]]


{{Navbox literature}}
{{Navbox items|literature}}

Revision as of 15:15, 24 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
Containers
Building / Room Container Rolls Chance
all Bag_Schoolbag 1 10.0
all shelves 4 4.0
all shelvesmag 4 8.0
all sidetable 4 4.0
all sidetable 1 2.0
bedroom crate 4 50.0
bedroom crate 4 20.0
bedroom crate 1 1.0
bedroom crate 4 10.0
bookstore shelves 4 10.0
bookstore shelves 4 20.0
cafe shelves 4 10.0
cafe shelves 4 20.0
classroom desk 4 2.0
closet crate 4 10.0
closet crate 4 20.0
daycare desk 4 2.0
gasstorage counter 4 4.0
hall locker 4 2.0
kitchen shelves 4 4.0
livingroom shelves 4 4.0
livingroom sidetable 4 4.0
Vehicles
Vehicle Type/Location Rolls Chance
PostalTruckBed 4 8

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