Spring Roll: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
m (Insert empty line above each {{Navbox}})
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header/sandbox2|Project Zomboid|Items|Food|Miscellaneous food}}
{{Page version|41.78.16}}
{{page version|41.73}}
{{Infobox item
{{Infobox item
|name=Spring Roll
|name=Spring Roll
|model=Springroll Model.png
|model=Springroll_Model.png
|icon=Springroll.png
|icon=Springroll.png
<!--GENERAL-->
<!--GENERAL-->
Line 20: Line 19:
|item_id=Base.Springroll
|item_id=Base.Springroll
}}
}}
A '''spring roll ''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''spring roll ''' is a perishable [[food]] [[Items|item]]


==Usage==
==Usage==
Line 39: Line 38:


==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.


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.73}}
| {{CodeSnip
<pre>
  | lang = java
    item Springroll
  | line = true
  | start = 6960
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Springroll
{
{
DisplayName = Spring roll,
DisplayName = Spring roll,
Line 61: Line 96:
WorldStaticModel = Springroll_Ground,
WorldStaticModel = Springroll_Ground,
}
}
</pre>
}}
}}
 
==See also==
 
{{Navbox items|food}}


{{Navbox food}}
[[Category:Perishable 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