Spring Roll: Difference between revisions

From PZwiki
m (Category Project: Miscellaneous food)
(→‎top: New infobox upgrade - Food)
Line 2: Line 2:
{{header/sandbox2|Project Zomboid|Items|Food|Miscellaneous food}}
{{header/sandbox2|Project Zomboid|Items|Food|Miscellaneous food}}
{{page version|41.73}}
{{page version|41.73}}
{{Infobox food
{{Infobox item
|display_name=Spring Roll
|name=Spring Roll
|name_colour=Food
|model=Springroll Model.png
|name_text_colour=Food
|icon=Springroll.png
|image=Springroll Model.png
|image_width=200px
|alternate_image=Springroll.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 18:
|carbohydrates=22
|carbohydrates=22
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Springroll
|item_id=Base.Springroll
}}
}}
A '''spring roll ''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''spring roll ''' is a [[Food#Perishable|perishable]] food [[items|item]]

Revision as of 11:22, 29 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
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.
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

Spring roll can often found inside displays in restaurant.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

    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,
	}