Book: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Automated Formatting)
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Literature|type=Literature|version=Version 39|incver=67.5}}{{infobox literature
{{Header|Project Zomboid|Items|Literature}}
|display_name=Book
{{Page version|41.50}}
|name_colour=Literature
{{Infobox item
|name_text_colour=Literature
|name=Book
|image=Book_Model.png
|model=Book_Model.png
|alternate_image=Book.png
|icon=Book.png
|alternate_name=Book
|icon_name=Book
|category=Literature
|category=Literature
|weight=0.5
|weight=0.5
Line 12: Line 12:
|boredom_change=-50
|boredom_change=-50
|stress_change=-40
|stress_change=-40
|class_name=Base.Book
|item_id=Base.Book
}}{{About|the consumable item affecting the player's mood|books that increase experience gain|Skill Books}}
}}
A '''book''' is an [[item]] designed to relieve [[Moodles#Unhappiness|unhappiness]], [[Moodles#Stress|stress]] and [[Moodles#Boredom|boredom]] when the [[player]] character is seriously struggling with the [[Knox Event]]. Unlike [[Skill Books|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.
{{About|the consumable item affecting the player's mood|books that increase experience gain|Skill books}}
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.


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


===Buildings===
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
{| class="wikitable theme-red mw-collapsible" style="text-align:center; width:400px;"
! colspan="4" | Containers
! colspan=4 |  
|-
! 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
|-
|-
!Building/Room
|[[crate]]
!Container
|4
!Rolls
|2
!Chance
|-
|-
|rowspan="8"|All
|[[crate]]
|[[Containers#Lockers|Locker]]
|4
|2
|2
|7
|-
|-
<!--|All-->
|[[crate]]
|[[Containers#Desks|Desk]]
|4
|5
|-
|rowspan="2"|bookstore
|[[shelves]]
|4
|1
|1
|-
|[[shelves]]
|4
|2
|2
|-
|-
<!--|All-->
|rowspan="2"|camping
|[[Containers#Cabinets|Filing Cabinet]]
|[[counter]]
|4
|1
|1
|-
|[[counter]]
|4
|4
|1
|-
|-
<!--|All-->
|rowspan="2"|carsupply
|[[Containers#Bedroom Storage|Small Table]]
|[[shelves]]
|4
|1
|1
|-
|[[shelves]]
|4
|4
|2
|-
|-
<!--|All-->
|rowspan="4"|classroom
|[[Containers#Desks|Office Drawers]]
|[[counter]]
|4
|1
|1
|3 (+2)
|-
|-
<!--|All-->
|[[counter]]
|[[Containers#Shelves|Shelves]]
|4
|3
|2
|20
|-
|-
|[[desk]]
|4
|1
|-
|-
<!--|All-->
|[[metal_shelves]]
|[[Containers|Other]]
|4
|1
|-
|rowspan="3"|daycare
|[[desk]]
|4
|1
|1
|-
|[[metal_shelves]]
|4
|1
|1
|-
|-
<!--|All-->
|[[metal_shelves]]
|[[School Bag]]
|4
|2
|2
|3
|-
|-
|Kitchen
|empty
|[[Containers#Shelves|Shelves]]
|[[crate]]
|2
|4
|10
|1
|-
|-
|Plaza Store
|rowspan="2"|hall
|[[Containers#Counters|Counter]]
|[[locker]]
|4
|1
|1
|-
|[[locker]]
|4
|2
|2
|-
|-
|Motel Room
|kitchen
|[[Containers#Bedroom Storage|Wardrobe]]
|[[shelves]]
|4
|1
|1
|3
|-
|-
|Lobby
|rowspan="4"|library
|[[Containers#Counters|Counter]]
|[[shelves]]
|4
|1
|1
|3
|-
|-
|rowspan="2"|Book Store
|[[shelves]]
|rowspan="2"|[[Containers|All]]
|4
|1
|1
|3
|-
|-
<!--|Book Store-->
|[[shelves]]
<!--|[[Containers|All]]-->
|4
|5
|2
|100 (x9)
|-
|-
|Library
|[[shelves]]
|[[Containers#Counters|Counter]]
|4
|4
|2
|2
|-
|-
|Clothes Store
|rowspan="4"|livingroom
|[[Containers#Counters|Counter]]
|[[shelves]]
|3
|4
|5
|1
|-
|-
|Restaurant
|[[shelves]]
|[[Containers#Counters|Counter]]
|4
|2
|2
|4 (x2)
|-
|-
|Post Office
|[[shelves]]
|[[Containers#Counters|Counter]]
|4
|1
|-
|[[shelves]]
|4
|2
|2
|4 (x2)
|-
|-
|Plaza Storage
|rowspan="4"|medical
|[[Containers|All]]
|[[shelves]]
|3
|4
|10
|1
|-
|[[shelves]]
|4
|1
|-
|-
|Furniture Store
|[[shelves]]
|[[Containers#Counters|Counter]]
|4
|3
|2
|5
|-
|-
|Corner Store
|[[shelves]]
|[[Containers#Shelves|Magazine Shelf]]
|4
|2
|2
|3
|-
|-
|Houseware Store
|office
|[[Containers#Shelves|Shelves]]
|[[counter]]
|3
|4
|7
|1
|-
|-
|Shoe Store
|rowspan="4"|poststorage
|[[Containers#Counters|Counter]]
|[[metal_shelves]]
|3
|4
|5
|1
|-
|-
|Sports Store
|[[metal_shelves]]
|[[Containers#Counters|Counter]]
|4
|3
|1
|5
|-
|-
|Gift Storage
|[[metal_shelves]]
|[[Containers#Crates|Crate]]
|4
|3
|2
|7
|-
|-
|rowspan="3"|Gift Store
|[[metal_shelves]]
|[[Containers#Shelves|Shelves]]
|4
|3
|2
|7
|-
|-
<!--|Gift Store-->
|rowspan="3"|toolstore
|[[Containers#Displays|Display Case]]
|[[counter]]
|3
|4
|7
|1
|-
|-
<!--|Gift Store-->
|[[counter]]
|[[Containers#Counters|Counter]]
|4
|3
|1
|5
|-
|-
|[[counter]]
|4
|2
|}
|}


===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 187: Line 252:


==Code==
==Code==
'''From items_literature.txt (Project Zomboid directory/media/scripts/)'''
{{CodeBox
{{Retrieved|version=41|incver=50}}
| {{CodeSnip
<pre>
  | lang = java
item Book
  | line = true
Weight = 0.5,
  | start = 5
Type = Literature,
  | source = items_literature.txt
UnhappyChange = -40,
  | retrieved = true
DisplayName = Book,
  | version = 41.78.16
StressChange = -40,
  | code =
Icon = Book,
item Book
BoredomChange = -50,
{
StaticModel = Book,
    DisplayCategory = Literature,
</pre>
Weight = 0.5,
Type = Literature,
UnhappyChange = -40,
DisplayName = Book,
StressChange = -40,
Icon = Book,
BoredomChange = -50,
StaticModel = Book,
WorldStaticModel = BookClosedGround,
}
}}
}}


==See also==
==See also==
Line 206: Line 282:
*[[Newspaper]]
*[[Newspaper]]


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

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