Book: Difference between revisions

From PZwiki
(cleanup +links +see also)
(Added new infobox +item distribution)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{languages|Book}}
{{languages|Book}}
{{header|The Game World|Items|Consumables|Literature|version=Version 39|incver=58}}
{{header|The Game World|Items|Literature|version=Version 39|incver=67.2}}{{infobox literature
{{Consumables
|display_name=Book
| image = Book_120px.png
|image=Book_120px.png
| weight = 0.5
|weight=0.5
| boredom = -50
|weight_bkg=1
| unhappiness = -40
|unhappy_change=-40
| stress= -40
|boredom_change=-50
}}
|boredom_change_bkg=1
A '''Book''' is an [[item]] designed to relieve immense [[Moodles#Unhappiness|unhappiness]], [[Moodles#Stress|stress]] and [[Moodles#Boredom|boredom]] when the [[player]] character is seriously struggling with the zombie apocalypse. They are common throughout the [[Knox County|map]]: being found in [[Containers#Bookshelf|bookshelves]], bedroom [[Containers#Bedroom Storage|wardrobes and drawers]], shop [[Containers#Counter|counters]], restaurant [[Containers#Shelves|shelves]], [[Containers#Desks|desks]] and many more locations.
|stress_change=-40
<br><br>
|consumed=True
Unlike [[Skill Books|skill books]], these books are 'consumed' once they're read, and therefore are removed from the player's inventory.  
|consumed_bkg=1
<br><br>
|class_name=Base.Book
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]]}}
<br><br><br><br><br>
A '''Book''' is an [[item]] designed to relieve immense [[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.
 
==Item Distribution==
===Buildings===
{| class="wikitable" style="text-align:center;"
|-
!Building/Room
!Container
!Rolls
!Chance
|-
|rowspan="9"|All
|[[Containers#Lockers|Locker]]
|2
|7
|-
<!--|All-->
|[[Containers#Desks|Desk]]
|1
|2
|-
<!--|All-->
|[[Containers#Cabinets|Filing Cabinet]]
|1
|4
|-
<!--|All-->
|[[Containers#Bedroom Storage|Small Table]]
|1
|4
|-
<!--|All-->
|rowspan="2"|[[Containers#Desks|Office Drawers]]
|1
|3
|-
<!--|All-->
<!--|[[Containers#Desks|Office Drawers]]-->
|1
|2
|-
<!--|All-->
|[[Containers#Shelves|Shelves]]
|3
|20
|-
|-
<!--|All-->
|[[Containers|Other]]
|1
|1
|-
<!--|All-->
|[[Schoolbag|Schoolbag]]
|2
|3
|-
|Kitchen
|[[Containers#Shelves|Shelves]]
|2
|10
|-
|Plaza Store
|[[Containers#Counters|Counter]]
|1
|2
|-
|Motel Room
|[[Containers#Bedroom Storage|Wardrobe]]
|1
|3
|-
|Lobby
|[[Containers#Counters|Counter]]
|1
|3
|-
|rowspan="10"|Book Store
|rowspan="10"|[[Containers|All]]
|1
|3
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
<!--|Book Store-->
<!--|[[Containers|All]]-->
|5
|100
|-
|Library
|[[Containers#Counters|Counter]]
|4
|2
|-
|Clothes Store
|[[Containers#Counters|Counter]]
|3
|5
|-
|rowspan="2"|Restaurant
|rowspan="2"|[[Containers#Counters|Counter]]
|2
|4
|-
<!--|Restaurant-->
<!--|[[Containers#Counters|Counter]]-->
|2
|4
|-
|rowspan="2"|Post Office
|rowspan="2"|[[Containers#Counters|Counter]]
|2
|4
|-
<!--|Post Office-->
<!--|[[Containers#Counters|Counter]]-->
|2
|4
|-
|Plaza Storage
|[[Containers|All]]
|3
|10
|-
|Furniture Store
|[[Containers#Counters|Counter]]
|3
|5
|-
|Corner Store
|[[Containers#Shelves|Magazine Shelf]]
|2
|3
|-
|Houseware Store
|[[Containers#Shelves|Shelves]]
|3
|7
|-
|Shoe Store
|[[Containers#Counters|Counter]]
|3
|5
|-
|Sports Store
|[[Containers#Counters|Counter]]
|3
|5
|-
|Gift Storage
|[[Containers#Crates|Crate]]
|3
|7
|-
|rowspan="3"|Gift Store
|[[Containers#Shelves|Shelves]]
|3
|7
|-
<!--|Gift Store-->
|[[Containers#Displays|Display Case]]
|3
|7
|-
<!--|Gift Store-->
|[[Containers#Counters|Counter]]
|3
|5
|-
|}
 
===Vehicles===
{| class="wikitable" style="text-align:center;"
|-
!Profession
!Container
!Rolls
!Chance
|-
|[[Chevalier Step Van|Post Van]]
|[[Trunk]]
|4
|10
|-
|}
 
== Code ==
== Code ==
  <nowiki>
'''From items.txt (Project Zomboid directory/media/scripts/)'''
item Book
  <nowiki> item Book
Weight = 0.5,
Weight = 0.5,
Type = Literature,
Type = Literature,

Revision as of 03:47, 11 June 2018


Book
Book
General
Encumbrance
Heavy Load
0.5
Consumed True
Effect
Unhappiness
Unhappiness
-40
Boredom
Boredom
-50
Stress
Stress
-40
Technical details
Base 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 immense 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.

Item Distribution

Buildings

Building/Room Container Rolls Chance
All Locker 2 7
Desk 1 2
Filing Cabinet 1 4
Small Table 1 4
Office Drawers 1 3
1 2
Shelves 3 20
Other 1 1
School Bag 2 3
Kitchen Shelves 2 10
Plaza Store Counter 1 2
Motel Room Wardrobe 1 3
Lobby Counter 1 3
Book Store All 1 3
5 100
5 100
5 100
5 100
5 100
5 100
5 100
5 100
5 100
Library Counter 4 2
Clothes Store Counter 3 5
Restaurant Counter 2 4
2 4
Post Office Counter 2 4
2 4
Plaza Storage All 3 10
Furniture Store Counter 3 5
Corner Store Magazine Shelf 2 3
Houseware Store Shelves 3 7
Shoe Store Counter 3 5
Sports Store Counter 3 5
Gift Storage Crate 3 7
Gift Store Shelves 3 7
Display Case 3 7
Counter 3 5

Vehicles

Profession Container Rolls Chance
Post Van Trunk 4 10

Code

From items.txt (Project Zomboid directory/media/scripts/)

	item Book
		Weight		= 0.5,
		Type		= Literature,
		UnhappyChange	= -40,
		DisplayName	= Book,
		StressChange	= -40,
		Icon		= Book,
		BoredomChange	= -50,

See Also

Template:Navbox/Consumables