Comic Book: Difference between revisions
m (→Code) |
m (Distribution table update) |
||
(26 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Literature}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Reupload|Missing 3D model}} | ||
| | {{Infobox item | ||
|name=Comic Book | |||
|icon=ComicBook.png | |||
|category=Literature | |category=Literature | ||
|weight=0.1 | |weight=0.1 | ||
Line 11: | Line 11: | ||
|stress_change=-20 | |stress_change=-20 | ||
|consumed=True | |consumed=True | ||
| | |item_id=Base.ComicBook | ||
}}A '''comic book''' is a | }} | ||
A '''comic book''' is a literature [[Items|item]]. | |||
==Usage== | ==Usage== | ||
A comic book reduces the player's level of [[ | 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 21: | Line 22: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
=== | |||
{| class=" | <!--BOT FLAG|ComicBook|41.78.16--> | ||
{{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 | <div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | ||
|- | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
| | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
| | ! Container | ||
| | ! Rolls | ||
|- | ! Chance | ||
|- | |||
| | | all | ||
|1 | | {{ll|Bag_Schoolbag}} | ||
|1 | | 1 | ||
|- | | 10.0 | ||
|- | |||
| | | all | ||
| | | {{ll|shelves}} | ||
|2 | | 4 | ||
|- | | 4.0 | ||
|- | |||
| | | all | ||
| | | {{ll|shelvesmag}} | ||
|2 | | 4 | ||
|- | | 8.0 | ||
|- | |||
| | | all | ||
| | | {{ll|sidetable}} | ||
| | | 4 | ||
|- | | 4.0 | ||
| | |- | ||
| | | all | ||
|4 | | {{ll|sidetable}} | ||
| | | 1 | ||
|- | | 2.0 | ||
| | |- | ||
| | | bedroom | ||
| | | {{ll|crate}} | ||
| | | 4 | ||
|- | | 50.0 | ||
| | |- | ||
| | | bedroom | ||
| | | {{ll|crate}} | ||
| | | 4 | ||
|- | | 20.0 | ||
| | |- | ||
| | | bedroom | ||
| | | {{ll|crate}} | ||
| | | 1 | ||
|- | | 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=" | {| class="wikitable theme-red mw-collapsible" style="text-align:center; width:400px;" | ||
! colspan=4 | | ! colspan=4 | | ||
|- | |- | ||
!Profession | !Profession | ||
Line 91: | Line 178: | ||
|4 | |4 | ||
|10 | |10 | ||
|} | |} | ||
== Code == | ==Trivia== | ||
*Comic Book and [[HottieZ]] currently share the same model when placed on the ground. | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1379 | |||
| source = items_literature.txt | |||
| retrieved = true | |||
| 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 113: | Line 214: | ||
*[[Newspaper]] | *[[Newspaper]] | ||
{{Navbox | {{Navbox items|literature}} |
Revision as of 15:15, 24 April 2024
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.
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 |
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
Source: ProjectZomboid\media\scripts\items_literature.txt
item ComicBook
{
DisplayCategory = Literature,
Weight = 0.1,
Type = Literature,
DisplayName = Comic Book,
Icon = ComicBook,
UnhappyChange = -20,
StressChange = -20,
BoredomChange = -30,
StaticModel = Magazine,
WorldStaticModel = MagazineOpenGround,
}