Raspberry Shortbread: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Raspberry Shortbread}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Notice|Future}}{{Infobox food
{{Page version|41.68}}
|display_name=Raspberry Shortbread
{{Infobox item
|name_colour=Food
|name=Raspberry Shortbread
|name_text_colour=Food
|model=CookieJelly_Model.png
|image=CookieJelly_120px.png
|icon=CookieJelly.png
|icon_name=Raspberry Shortbread
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 17: Line 18:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CookieJelly
|item_id=Base.CookieJelly
}}A '''raspberry shortbread''', also called '''cookie jelly''', is a [[Food#Non-Perishable|non-perishable]] food [[items|item]] expected to be added in [[build 40]].
}}
A '''raspberry shortbread''', previously called '''cookie jelly''', is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Raspberry shortbread can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
Raspberry shortbread can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|CookieJelly|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>CookieJelly distribution
        <span class="mw-customtoggle-togglebox-CookieJelly" 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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CookieJelly">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Lunchbag
    | {{ll|Lunchbag}}
    | 6.41%
    |-
    | Lunchbox
    | {{ll|Lunchbox}}
    | 6.41%
    |-
    | Lunchbox2
    | {{ll|Lunchbox2}}
    | 6.41%
    |-
    | all
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycase}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycase}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cafe
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | cafe
    | {{ll|shelves}}
    | 23.28%
    |-
    | cafekitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 10.78%
    |-
    | cornerstore
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | gigamart
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | grocery
    | {{ll|displaycasebakery}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CookieJelly" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CookieJelly|41.78.16-->
Cookies can often be found in kitchen [[Containers#Counter|counters]], bakeries, motel room [[Containers#Refrigerators|fridges]] and candy stores.
Cookies can often be found in kitchen [[Containers#Counter|counters]], bakeries, motel room [[Containers#Refrigerators|fridges]] and candy stores.


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=5}}
| {{CodeSnip
<pre>    item CookieJelly
  | lang = java
Type = Food,
  | line = true
DisplayName = Raspberry Shortbread,
  | start = 3887
Icon = CookieJelly,
  | source = items_food.txt
Weight = 0.1,
  | retrieved = true
HungerChange = -7,
  | version = 41.78.16
UnhappyChange = -10,
  | code =
Carbohydrates = 22,
item CookieJelly
Proteins = 1,
{
Lipids = 8,
DisplayName = Raspberry Shortbread,
Calories = 160,</pre>
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = CookieJelly,
DaysFresh = 7,
DaysTotallyRotten = 30,
HungerChange = -5,
UnhappyChange = -10,
Calories = 160,
Carbohydrates = 22,
Lipids = 8,
Proteins = 1,
WorldStaticModel = CookieJelly,
Tags = FitsToaster,
}
}}
}}


==See also==
==See also==
*[[Biscuit]]
*[[Cookie]]
*[[Cookie]]
*[[Chocolate Cookie]]
*[[Oatmeal Cookie]]
*[[Shortbread Cookie]]
{{Navbox items|food}}


{{Navbox/Consumables}}
[[Category:Non-perishable food]]

Latest revision as of 13:41, 30 April 2024

Project ZomboidItemsFoodSweetsRaspberry Shortbread
Spiffo controlyourself.png
This page was last updated for an older version (41.68).
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.
Raspberry Shortbread
CookieJelly Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
160
CarbohydratesCarbohydrates
22
ProteinsProteins
1
FatFat
8
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.CookieJelly

A raspberry shortbread, previously called cookie jelly, is a non-perishable food item.

Usage

Raspberry shortbread can be eaten, providing the player with some positive effects, including reducing unhappiness.

Distribution

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

CookieJelly distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Lunchbag Lunchbag 6.41%
Lunchbox Lunchbox 6.41%
Lunchbox2 Lunchbox2 6.41%
all displaycasebakery 23.28%
bakery displaycase 23.28%
bakery displaycasebakery 23.28%
bakery grocerstand 23.28%
bakery restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 23.28%
cafe displaycase 23.28%
cafe displaycasebakery 23.28%
cafe grocerstand 23.28%
cafe shelves 23.28%
cafekitchen restaurantdisplay 23.28%
cafeteria displaycasebakery 10.78%
cornerstore displaycasebakery 23.28%
gigamart displaycasebakery 23.28%
grocery displaycasebakery 23.28%

Cookies can often be found in kitchen counters, bakeries, motel room fridges and candy stores.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CookieJelly
	{
		DisplayName = Raspberry Shortbread,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = CookieJelly,
		DaysFresh = 7,
		DaysTotallyRotten = 30,
		HungerChange = -5,
		UnhappyChange = -10,
		Calories = 160,
		Carbohydrates = 22,
		Lipids = 8,
		Proteins = 1,
		WorldStaticModel = CookieJelly,
		Tags = FitsToaster,
	}

See also