Goggles: Difference between revisions
(→Code: code box update) |
m (Automated Formatting) |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Clothing|Accessories}} | ||
{{Page version|41.65}} | |||
{{Infobox | {{Reupload|Missing Variant Models}} | ||
| | {{Infobox item | ||
| | |name=Goggles | ||
|model=SkiGogglesWhite_Model.png | |||
| | |icon=SafetyGoggles.png | ||
| | |icon_name=Safety Goggles | ||
| | |icon2=SkiGogglesBlack.png | ||
| | |icon_name2=Ski Goggles (Black) | ||
| | |icon3=SkiGogglesWhite.png | ||
| | |icon_name3=Ski Goggles (White) | ||
| | |icon4=SwimmingGoggles.png | ||
| | |icon_name4=Swimming Goggles | ||
<!-- General --> | <!-- General --> | ||
| category = Clothing | |category=Clothing | ||
| weight = 0.1 | |weight=0.1 | ||
| | |equipped=Eyes | ||
<!-- Technical details --> | <!-- Technical details --> | ||
| | |item_id=See ''[[#Variants|Variants]]'' | ||
}} | }} | ||
'''Goggles''' are a cosmetic item of eyewear. | '''Goggles''' are a cosmetic item of eyewear. | ||
==Distribution== | |||
===Buildings=== | ===Buildings=== | ||
Goggles are common around [[Knox Country]], often found in clothing stores. | Goggles are common around [[Knox Country]], often found in clothing stores. | ||
Line 33: | Line 31: | ||
==Variants== | ==Variants== | ||
{| class="wikitable theme-red" style="text-align:center;" | {| class="wikitable theme-red" style="text-align: center;" | ||
! Icon | ! Icon | ||
! Name | ! Name | ||
! | ! Item ID | ||
|- | |- | ||
| [[File:SafetyGoggles.png|Safety Goggles]] | | [[File:SafetyGoggles.png|Safety Goggles]] | ||
Line 49: | Line 47: | ||
| Swimming Goggles | | Swimming Goggles | ||
| {{ID|Base.Glasses_SwimmingGoggles}} | | {{ID|Base.Glasses_SwimmingGoggles}} | ||
|} | |} | ||
== Code == | ==Code== | ||
[[File:SafetyGoggles.png | {{CodeBox|[[File:SafetyGoggles.png]] {{ID|Base.Glasses_SafetyGoggles}}<br> | ||
{{ | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 148 | ||
| source = | | source = clothing_others.txt | ||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | | code = | ||
item Glasses_SafetyGoggles | item Glasses_SafetyGoggles | ||
{ | { | ||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Safety Goggles, | |||
ClothingItem = Glasses_SafetyGoggles, | |||
BodyLocation = Eyes, | |||
Icon = SafetyGoggles, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 20, | |||
} | |||
}} | }} | ||
[[File:SkiGogglesBlack.png | [[File:SkiGogglesBlack.png]] {{ID|Base.Glasses_SkiGoggles}}<br> | ||
{{ | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 173 | ||
| source = | | source = clothing_others.txt | ||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | | code = | ||
item Glasses_SkiGoggles | item Glasses_SkiGoggles | ||
{ | { | ||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Ski Goggles, | |||
ClothingItem = Glasses_SkiGoggles, | |||
BodyLocation = Eyes, | |||
IconsForTexture = SkiGogglesBlack;SkiGogglesWhite, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 20, | |||
} | |||
}} | }} | ||
[[File:SwimmingGoggles.png | [[File:SwimmingGoggles.png]] {{ID|Base.Glasses_SwimmingGoggles}}<br> | ||
{{ | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 197 | ||
| source = | | source = clothing_others.txt | ||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | | code = | ||
item Glasses_SwimmingGoggles | item Glasses_SwimmingGoggles | ||
{ | { | ||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Swimming Goggles, | |||
ClothingItem = Glasses_SwimmingGoggles, | |||
BodyLocation = Eyes, | |||
Icon = SwimmingGoggles, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 30, | |||
} | } | ||
}} | |||
}} | }} | ||
==See also== | ==See also== | ||
* [[Glasses]] | *[[Glasses]] | ||
{{Navbox | {{Navbox items|accessories}} |
Revision as of 08:53, 14 April 2024
Goggles are a cosmetic item of eyewear.
Distribution
Buildings
Goggles are common around Knox Country, often found in clothing stores.
NPCs
Glasses are frequently found on zombie civilians.
Variants
Icon | Name | Item ID |
---|---|---|
Safety Goggles | Base.Glasses_SafetyGoggles | |
Ski Goggles | Base.Glasses_SkiGoggles | |
Swimming Goggles | Base.Glasses_SwimmingGoggles |
Code
Base.Glasses_SafetyGoggles
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_SafetyGoggles
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Safety Goggles,
ClothingItem = Glasses_SafetyGoggles,
BodyLocation = Eyes,
Icon = SafetyGoggles,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 20,
}
Base.Glasses_SkiGoggles
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_SkiGoggles
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Ski Goggles,
ClothingItem = Glasses_SkiGoggles,
BodyLocation = Eyes,
IconsForTexture = SkiGogglesBlack;SkiGogglesWhite,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 20,
}
Base.Glasses_SwimmingGoggles
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_SwimmingGoggles
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Swimming Goggles,
ClothingItem = Glasses_SwimmingGoggles,
BodyLocation = Eyes,
Icon = SwimmingGoggles,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 30,
}