Book: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(39 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Literature}}
{{Consumables
{{Page version|41.50}}
|image = Book.png
{{Infobox item
|weight = 0.5
|name=Book
|boredom = -50
|model=Book_Model.png
|icon=Book.png
|icon_name=Book
|category=Literature
|weight=0.5
|consumed=True
|unhappy_change=-40
|boredom_change=-50
|stress_change=-40
|item_id=Base.Book
}}
}}
== Description ==
{{About|the consumable item affecting the player's mood|books that increase experience gain|Skill books}}
An entertaining novel that is used to reduce the stress and boredom caused by staying indoors for a long period of time. They are most commonly found on in homes on shelves and bookcases, though they can also be found in many shops.
A '''book''' is an [[Items|item]] designed to relieve [[Unhappiness|unhappiness]], [[Stress|stress]], and [[Boredom|boredom]] when the [[player]] character is seriously struggling with the [[Knox Event]]. Unlike [[skill books]], these books are ''consumed'' once they're read, and therefore are removed from the player's inventory. A book can also be used as a fuel for particular [[heat source]]s, and lasts for 15 minutes if done so.
== Effects ==
[[Boredom]] reduction: -50
[[Stress]] reduction: -40


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


== Code ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<nowiki>item Book
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|all
|[[locker]]
|4
|1
|-
|[[other]]
|1
|1
|-
|[[shelves]]
|4
|1
|-
|artstore
|[[counter]]
|4
|1
|-
|bathroom
|[[shelves]]
|4
|1
|-
|rowspan="5"|bedroom
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|-
|rowspan="2"|bookstore
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|rowspan="2"|camping
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|rowspan="2"|carsupply
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|rowspan="4"|classroom
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|2
|-
|[[desk]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|rowspan="3"|daycare
|[[desk]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|2
|-
|empty
|[[crate]]
|4
|1
|-
|rowspan="2"|hall
|[[locker]]
|4
|1
|-
|[[locker]]
|4
|2
|-
|kitchen
|[[shelves]]
|4
|1
|-
|rowspan="4"|library
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|[[shelves]]
|4
|2
|-
|rowspan="4"|livingroom
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|rowspan="4"|medical
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|[[shelves]]
|4
|2
|-
|office
|[[counter]]
|4
|1
|-
|rowspan="4"|poststorage
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|2
|-
|[[metal_shelves]]
|4
|2
|-
|rowspan="3"|toolstore
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|2
|}
 
===Vehicles===
{| class="wikitable theme-red mw-collapsible" style="text-align:center; width:400px;"
! colspan=4 |
|-
!Profession
!Container
!Rolls
!Chance
|-
|[[Chevalier Step Van|Post Van]]
|[[Trunk]]
|4
|10
|-
|}
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5
  | source = items_literature.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Book
{
{
    DisplayCategory = Literature,
Weight = 0.5,
Weight = 0.5,
Type = Literature,
Type = Literature,
Line 22: Line 271:
Icon = Book,
Icon = Book,
BoredomChange = -50,
BoredomChange = -50,
}</nowiki>
StaticModel = Book,
WorldStaticModel = BookClosedGround,
}
}}
}}
 
==See also==
*[[Comic Book]]
*[[Magazine]]
*[[Newspaper]]


{{Navbox/Consumables}}
{{Navbox items|literature}}
[[Category:Consumables]]
[[Category:Literature]]
[[Category:Version 0.2.0p]]

Revision as of 06:40, 14 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.50).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Book
Book Model.png
General
Category
Literature
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Properties
Consumed
True
Effect
UnhappinessMoodle Icon Unhappy.png
-40
BoredomMoodle Icon Bored.png
-50
StressMoodle Icon Stressed.png
-40
Technical
Item ID
Base.Book
PlushSpiffo.pngThis article is about the consumable item affecting the player's mood. For books that increase experience gain, see Skill books.

A book is an item designed to relieve unhappiness, stress, and boredom when the player character is seriously struggling with the Knox Event. Unlike skill books, these books are consumed once they're read, and therefore are removed from the player's inventory. A book can also be used as a fuel for particular heat sources, and lasts for 15 minutes if done so.

Distribution

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

Containers
Building/Room Container Rolls Chance
all locker 4 1
other 1 1
shelves 4 1
artstore counter 4 1
bathroom shelves 4 1
bedroom crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5
bookstore shelves 4 1
shelves 4 2
camping counter 4 1
counter 4 1
carsupply shelves 4 1
shelves 4 2
classroom counter 4 1
counter 4 2
desk 4 1
metal_shelves 4 1
daycare desk 4 1
metal_shelves 4 1
metal_shelves 4 2
empty crate 4 1
hall locker 4 1
locker 4 2
kitchen shelves 4 1
library shelves 4 1
shelves 4 1
shelves 4 2
shelves 4 2
livingroom shelves 4 1
shelves 4 2
shelves 4 1
shelves 4 2
medical shelves 4 1
shelves 4 1
shelves 4 2
shelves 4 2
office counter 4 1
poststorage metal_shelves 4 1
metal_shelves 4 1
metal_shelves 4 2
metal_shelves 4 2
toolstore counter 4 1
counter 4 1
counter 4 2

Vehicles

Profession Container Rolls Chance
Post Van Trunk 4 10

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 Book
	{
	    DisplayCategory = Literature,
		Weight	=	0.5,
		Type	=	Literature,
		UnhappyChange	=	-40,
		DisplayName	=	Book,
		StressChange	=	-40,
		Icon	=	Book,
		BoredomChange	=	-50,
		StaticModel = Book,
		WorldStaticModel = BookClosedGround,
	}

See also