Spring Roll: Difference between revisions

From PZwiki
(Created page with "{{languages|{{PAGENAME}}}} <!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template...")
 
m (Insert empty line above each {{Navbox}})
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise -->
{{Page version|41.78.16}}
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}<!--
{{Infobox item
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_food. Image.png is the default question mark image-->
|name=Spring Roll
{{Infobox food
|model=Springroll_Model.png
|display_name=Spring Roll
|icon=Springroll.png
|name_colour=Food
|name_text_colour=Food
|image=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=-8
|hunger_change=-20
|calories=180
|calories=180
|lipids=17
|lipids=17
Line 20: Line 17:
|carbohydrates=22
|carbohydrates=22
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Springroll
|item_id=Base.Springroll
}}<!--COMMENT: General introductory for the item-->
}}
A '''Spring Roll''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''spring roll ''' is a perishable [[food]] [[Items|item]]
 
__TOC__
 
== Usage ==


=== Consumable properties ===
==Usage==
Spring Rolls can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
===Consumable properties===
{{Consumables2
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.
{{Consumables
|image = Springroll.png
|image = Springroll.png
|hunger = -20
|hunger = -20
Line 43: Line 37:
}}
}}


== Distribution ==
==Distribution==
Spring Rolls can be found inside [[refrigerator]]s in restaurants.
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.


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>    item Springroll
  | lang = java
    {
  | line = true
        HungerChange = -20,
  | start = 6960
        Weight = 0.1,
  | source = items_food.txt
        AlwaysWelcomeGift = true,
  | retrieved = true
        Type = Food,
  | version = 41.78.16
        DisplayName = Spring roll,
  | code =
        Icon = Springroll,
item Springroll
        DaysFresh = 2,
{
        DaysTotallyRotten = 4,
DisplayName = Spring roll,
        Carbohydrates = 22,
DisplayCategory = Food,
        Proteins = 9,
Type = Food,
        Lipids = 17,
Weight = 0.1,
        Calories = 180,
Icon = Springroll,
        WorldStaticModel = Springroll_Ground,</pre>
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -20,
Calories = 180,
Carbohydrates = 22,
Lipids = 17,
Proteins = 9,
WorldStaticModel = Springroll_Ground,
}
}}
}}


==See also==
==See also==
{{Navbox/Consumables}}
 
{{Navbox items|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