Doodle: Difference between revisions

From PZwiki
m (→‎Usage: move verify)
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Literature}}
{{languages|Doodle}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Obsolete Items|Removed Items|type=Notice|version=Version 39|incver=67.5}}{{Notice|Obsolete}}{{Consumables
{{Infobox item
|image = Paper.png
|name=Doodle
|weight = 0.3
|model=Empty_Notebook_Model.png
|boredom = -10
|icon=Paper.png
|stress = -20
|icon_name=Doodle
|unhappiness = -20
|category=Literature
}}Doodles were removed in Build 28 following the change to the Journal system. The Code is still within the item system but there is no longer a recipe to make a doodle.
|weight=0.3
|writable=True
|page_number=1
|item_id=Base.Doodle
}}
'''Doodles''' are writable [[literature]] items. They were used to be craftable and reduce boredom in the past.


== Former Description ==
==Usage==
A quick drawing/message you made with a pencil and a piece of paper, it will take out a medium amount of boredom, stress, and unhappiness. It is crafted by putting a pencil and a sheet of paper in the crafting area. UPDATE: Following patch B27, Doodle can no longer be used to reduce boredom.
A doodle can be used to write notes, using [[pen]] or [[pencil]]. Common uses are writing down important reminders, or leave messages in [[multiplayer]] servers. A doodle can be renamed{{Verify}} and has a 1 writable page.


== Former Effects ==
In [[build 27]] it used to reduce [[Bored|boredom]] by 10, [[stress]] by 20 and [[Unhappy|unhapiness]] by 20. Following [[build 27]], doodle could no longer be used to reduce boredom.
[[Moodles#Bored|Boredom]]: -10<br>
[[Moodles#Stress|Stress]]: -20<br>
[[Moodles#Unhappy|Unhappy]]: -20


== Crafting ==
===Fuel===
{| class="pztable sortable" style="text-align:center;"
It can also be used as a fuel for a [[Heat Source|fire]], and lasts for 10 minutes.{{Verify}}
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
{{RecipeLookup|4003}}
|}


== Code ==
==Crafting==
''Code before Removal''
Formerly, a [[pencil]] or [[pen]] could be used with a [[Sheet of Paper|sheet of paper]], which were then consumed to create a doodle, but this has been removed in [[build 28]].
<pre> item Doodle
 
==Distribution==
They spawn on desks as a part of table stories.
 
==Trivia==
*This item shares a model with the [[Empty Notebook]].
 
==Code==
{{CodeBox|''Code before removal'' {{ID|Base.Doodle}}<br>
{{CodeSnip
  | lang = java
  | line = false
  | source = items_literature.txt
  | retrieved = false
  | code =
item Doodle
Weight = 0.3,
Weight = 0.3,
Type = Literature,
Type = Literature,
Line 36: Line 47:
Icon = Paper,
Icon = Paper,
BoredomChange = -10,
BoredomChange = -10,
</pre>
}}
 
''Code after removal'' {{ID|Base.Doodle}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1289
  | source = items_literature.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Doodle
    {
        DisplayCategory = Literature,
        Weight = 0.3,
        Type = Literature,
        DisplayName = Doodle,
        Icon = Paper,
        CanBeWrite  =  true,
        PageToWrite =  1,
        WorldStaticModel = EmptyNotebook,
    }
}}
}}


''Current code''<br>
==See also==
'''''From items_literature.txt (Project Zomboid directory/media/scripts/)'''''
*[[Empty Notebook]]
{{Retrieved|version=41|incver=50}}
*[[Sheet of Paper]]
<pre> item Doodle
Weight = 0.3,
Type = Literature,
DisplayName = Doodle,
Icon = Paper,
CanBeWrite  = true,
PageToWrite = 1,
</pre>


{{Navbox/Consumables}}
{{Navbox items|literature}}

Latest revision as of 10:22, 1 May 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Doodle
Empty Notebook Model.png
General
Category
Literature
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Writable
True
Total pages
1 page
Technical
Item ID
Base.Doodle

Doodles are writable literature items. They were used to be craftable and reduce boredom in the past.

Usage

A doodle can be used to write notes, using pen or pencil. Common uses are writing down important reminders, or leave messages in multiplayer servers. A doodle can be renamed[verify] and has a 1 writable page.

In build 27 it used to reduce boredom by 10, stress by 20 and unhapiness by 20. Following build 27, doodle could no longer be used to reduce boredom.

Fuel

It can also be used as a fuel for a fire, and lasts for 10 minutes.[verify]

Crafting

Formerly, a pencil or pen could be used with a sheet of paper, which were then consumed to create a doodle, but this has been removed in build 28.

Distribution

They spawn on desks as a part of table stories.

Trivia

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Code before removal Base.Doodle
Source: ProjectZomboid\media\scripts\items_literature.txt

item Doodle
		Weight		= 0.3,
		Type		= Literature,
		UnhappyChange	= -10,
		DisplayName	= Doodle,
		StressChange	= -15,
		Icon		= Paper,
		BoredomChange	= -10,

Code after removal Base.Doodle
Source: ProjectZomboid\media\scripts\items_literature.txt

Retrieved: Build 41.78.16
item Doodle
    {
        DisplayCategory = Literature,
        Weight	=	0.3,
        Type	=	Literature,
        DisplayName	=	Doodle,
        Icon	=	Paper,
        CanBeWrite  =   true,
        PageToWrite =   1,
        WorldStaticModel = EmptyNotebook,
    }

See also