Pizza Slice: Difference between revisions

From PZwiki
m (Automated CodeBox update)
m (Distribution table update)
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Prepared food}}
{{header/sandbox2|Project Zomboid|Items|Food|Prepared food}}
{{Page version|41.78.16}}
{{page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Pizza Slice
|name=Pizza Slice
Line 7: Line 6:
|icon=Pizza.png
|icon=Pizza.png
|icon_name=Pizza Slice
|icon_name=Pizza Slice
|model2=PizzaSliceRotten_Model.png
|icon2=Pizza.png
|icon_name2=Pizza Slice (rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 23: Line 25:
|item_id=Base.Pizza
|item_id=Base.Pizza
}}
}}
A '''pizza slice''' is a [[Food#Perishable|perishable]] food [[item]].  
A '''pizza slice''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 45: Line 47:


===Obtaining===
===Obtaining===
Pizza slice is made by cutting [[pizza]]
Pizza slice is made by cutting [[pizza]].
{{Crafting header|type=food|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|413|ing=2}}
|pizza_slice
|}
}}


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


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|Pizza|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>Pizza distribution
!Container
        <span class="mw-customtoggle-togglebox-Pizza" 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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Pizza">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="4"|cafeteria
    |+ {{ll|Containers}}
| [[restaurantdisplay]]
    ! Building / Room
| 4
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[restaurantdisplay]]
    |-
|4
    | Not referenced
|1
    | {{ll|FridgeOffice}}
|-
    | 4
|[[restaurantdisplay]]
    | 4.0
|4
    |-
|2
    | cafeteria
|-
    | {{ll|restaurantdisplay}}
|[[restaurantdisplay]]
    | 4
|4
    | 10.0
|2
    |-
|-
    | cafeteria
| motelroomoccupied  
    | {{ll|restaurantdisplay}}
| [[fridge]]
    | 4
| 1  
    | 20.0
| 6
    |-
|}
    | motelroomoccupied
    | {{ll|fridge}}
    | 1
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Pizza" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Pizza|41.78.16-->
Pizza slice can often found inside [[Containers#Displays|displays]] in restaurant.
Pizza slice can often found inside [[Containers#Displays|displays]] in restaurant.
==Gallery==
<gallery>
PizzaSlice Model.png|Model for: [[File:Pizza.png]]
PizzaSliceRotten Model.png|Model for: [[File:Pizza.png]] (Rotten)
</gallery>


==Code==
==Code==
Line 96: Line 99:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 5591
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
Line 102: Line 106:
   | code =
   | code =
item Pizza
item Pizza
{
{
    DisplayName           = Pizza Slice,
DisplayName = Pizza Slice,
    DisplayCategory       = Food,
DisplayCategory = Food,
    Type                 = Food,
Type = Food,
    Weight               = 0.3,
Weight = 0.3,
    Icon                 = Pizza,
Icon = Pizza,
    DaysFresh             = 3,
DaysFresh = 3,
    DaysTotallyRotten     = 5,
DaysTotallyRotten = 5,
    HungerChange         = -25,
HungerChange = -25,
    UnhappyChange         = -10,
UnhappyChange = -10,
    Calories             = 990,
Calories = 990,
    Carbohydrates         = 120,
Carbohydrates = 120,
    Lipids               = 39,
Lipids = 39,
    Proteins             = 42,
Proteins = 42,
    WorldStaticModel     = PizzaSlice_Ground,
WorldStaticModel = PizzaSlice_Ground,
}
}
  }}
}}
}}  
}}
 
==See also==
*[[Pizza]]
 
{{Navbox items|prepared_food}}


{{Navbox food}}


[[Category:Perishable food]]
[[Category:Perishable food]]

Revision as of 16:19, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Pizza Slice
PizzaSlice Model.png
PizzaSliceRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-25
CaloriesCalories
990
CarbohydratesCarbohydrates
120
ProteinsProteins
42
FatFat
39
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.Pizza

A pizza slice is a perishable food item.

Usage

Consumable properties

Pizza slice can be eaten, providing the player with some positive and negative effects, however these will become more negative the longer it's left to perish.

Fresh Stale Rotten

Pizza.png
Hunger: -25


Pizza.png
Hunger: -19
Boredom: +10

Pizza.png
Hunger: -11
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Obtaining

Pizza slice is made by cutting pizza.

Product Ingredients Tools Requirements Workstation XP
Pizza.png
Pizza Slice ×6
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
Each of:
PizzaWhole.png Pizza (Cooked) ×1
none none none 0.75 Cooking

Distribution

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

Pizza distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced FridgeOffice 4 4.0
cafeteria restaurantdisplay 4 10.0
cafeteria restaurantdisplay 4 20.0
motelroomoccupied fridge 1 6.0

Pizza slice can often found inside displays in restaurant.

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 Pizza
	{
		DisplayName = Pizza Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Pizza,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -25,
		UnhappyChange = -10,
		Calories = 990,
		Carbohydrates = 120,
		Lipids = 39,
		Proteins = 42,
		WorldStaticModel = PizzaSlice_Ground,
	}

See also