Taco: Difference between revisions

From PZwiki
(updated header)
m (Distribution table update)
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header/sandbox2|Project Zomboid|Items|Food|Cooking|Evolved recipes}}
{{Page version|41.78.16}}
{{page version|41.78.16}}
{{Infobox item
{{Infobox food
|name=Taco
|display_name=Taco
|model=Taco_Model.png
|name_colour=Food
|icon=Taco.png
|name_text_colour=Food
|icon_name=Taco
|image=Taco_Model.png
|alternate_image=Taco.png
|alternate_name=Taco
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 24: Line 21:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Taco
|item_id=Base.Taco
}}
}}
{{About|tacos that spawn naturally|tacos made by the player|recipe ingredients#Taco & Burrito Ingredients}}
{{About|tacos that spawn naturally|tacos made by the player|recipe ingredients#Taco & Burrito Ingredients}}
A '''Taco''' is a [[Food#Perishable|perishable]] food [[item]].  
A '''Taco''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 35: Line 32:
|image = Taco.png
|image = Taco.png
|hunger = -25
|hunger = -25
|unhappiness = -10  
|unhappiness = -10
|unrotten hunger = -19
|unrotten hunger = -19
|unrotten boredom = +10
|unrotten boredom = +10
Line 47: Line 44:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Taco|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Taco distribution
        <span class="mw-customtoggle-togglebox-Taco" 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-Taco">
    <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
    |-
    | Not referenced
    | {{ll|ServingTrayTaco}}
    | 4
    | 10.0
    |-
    | Not referenced
    | {{ll|ServingTrayTaco}}
    | 4
    | 20.0
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 4
    | 4.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Taco" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Taco|41.78.16-->
Tacos are primarily found in taco restaurants, though they will occasionally also spawn in "band practice fridges".
Tacos are primarily found in taco restaurants, though they will occasionally also spawn in "band practice fridges".


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item Taco
  | line = true
  | start = 7032
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Taco
{
{
DisplayName = Taco,
DisplayName = Taco,
Line 70: Line 108:
WorldStaticModel = Taco_Ground,
WorldStaticModel = Taco_Ground,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 77: Line 116:
*[[Burrito]]
*[[Burrito]]


{{Navbox food}}
{{Navbox items|food}}


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

Revision as of 16:49, 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]
Taco
Taco 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
ThirstMoodle Icon Thirsty.png
0
CaloriesCalories
400
CarbohydratesCarbohydrates
80
ProteinsProteins
32
FatFat
28
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.Taco
PlushSpiffo.pngThis article is about tacos that spawn naturally. For tacos made by the player, see recipe ingredients.

A Taco is a perishable food item.

Usage

Consumable properties

Tacos 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

Taco.png
Hunger: -25

Unhappiness: -10

Taco.png
Hunger: -19
Boredom: +10

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

Distribution

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

Taco distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced ServingTrayTaco 4 10.0
Not referenced ServingTrayTaco 4 20.0
bandkitchen fridge 4 4.0

Tacos are primarily found in taco restaurants, though they will occasionally also spawn in "band practice fridges".

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 Taco
	{
		DisplayName = Taco,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Taco,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -25,
		UnhappyChange = -10,
		Calories = 400,
		Carbohydrates = 80,
		Lipids = 28,
		Proteins = 32,
		WorldStaticModel = Taco_Ground,
	}

See also