Spring Roll: Difference between revisions

From PZwiki
mNo edit summary
m (Insert empty line above each {{Navbox}})
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Spring Roll}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Spring Roll
{{Infobox item
|name_colour=Food
|name=Spring Roll
|name_text_colour=Food
|model=Springroll_Model.png
|image=Springroll 120px.png
|icon=Springroll.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.1
|weight=0.1
|days_fresh=2
|days_fresh=2
|days_rotten=2
|days_rotten=4
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-20
|hunger_change=-20
Line 17: Line 17:
|carbohydrates=22
|carbohydrates=22
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Springroll
|item_id=Base.Springroll
}}'''Spring roll ''' is a [[Food#Perishable|perishable]] food [[items|item]]
}}
A '''spring roll ''' is a perishable [[food]] [[Items|item]]


== Usage ==
==Usage==
=== Consumable properties ===
===Consumable properties===
Spring roll can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
A spring roll can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Springroll.png
|image = Springroll.png
|hunger = -20
|hunger = -20
Line 36: Line 37:
}}
}}


== Distribution ==
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Springroll|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Springroll distribution
        <span class="mw-customtoggle-togglebox-Springroll" 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-Springroll">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | sushidining
    | {{ll|displaycase}}
    | 4
    | 20.0
    |-
    | sushidining
    | {{ll|displaycase}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Springroll" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Springroll|41.78.16-->
Spring roll can often found inside [[Containers#Displays|displays]] in restaurant.
Spring roll can often found inside [[Containers#Displays|displays]] in restaurant.


==Gallery==
==Code==
<gallery>
{{CodeBox
File:Springroll Model.png|Model for: [[File:Springroll.png]]
| {{CodeSnip
</gallery>
  | lang = java
 
  | line = true
== Code ==
  | start = 6960
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
  | source = items_food.txt
{{Retrieved|version=41|incver=73}}
  | retrieved = true
<pre>    item Springroll
  | version = 41.78.16
  | code =
item Springroll
{
{
DisplayName = Spring roll,
DisplayName = Spring roll,
Line 62: Line 95:
Proteins = 9,
Proteins = 9,
WorldStaticModel = Springroll_Ground,
WorldStaticModel = Springroll_Ground,
}</pre>
}
}}
}}
 
==See also==
 
{{Navbox items|food}}


{{Navbox food}}
[[Category:Perishable food]]

Revision as of 15:51, 25 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]
Spring Roll
Springroll Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-20
CaloriesCalories
180
CarbohydratesCarbohydrates
22
ProteinsProteins
9
FatFat
17
Technical
Item ID
Base.Springroll

A spring roll is a perishable food item

Usage

Consumable properties

A spring roll can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

Springroll.png
Hunger: -20


Springroll.png
Hunger: -14
Boredom: +10
Unhappiness: +10

Springroll.png
Hunger: -8
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Distribution

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

Springroll distribution Show / Hide
Containers
Building / Room Container Rolls Chance
sushidining displaycase 4 20.0
sushidining displaycase 4 10.0

Spring roll 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 Springroll
	{
		DisplayName = Spring roll,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = Springroll,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -20,
		Calories = 180,
		Carbohydrates = 22,
		Lipids = 17,
		Proteins = 9,
		WorldStaticModel = Springroll_Ground,
	}

See also