Wiki menu
Casual Sunglasses
Made from plastic with a fashionable wrap-around design. Protects the eyes from the sun.
Classname
DesignerGlasses
- Section
- Eyewear
- Weight
- 40 g
- Inventory size
- 2×1 2 slots
- Worn or carried in
- Eyes
- Durability
- 50
- Spawns on
- Chernarus, Livonia, Sakhal
Characteristics
- Protects against
- dust in the eyes 70%
Compared with similar
Eyewear with insulation close to this one.
| Item | Weight | Insulation |
|---|---|---|
| 25 g | 0.1 | |
| 20 g | · | |
| 36 g | · | |
| 40 g | · | |
| 50 g | · | |
| 20 g | · | |
| 150 g | · | |
| 90 g | · | |
| 30 g | · | |
| 100 g | · |
Where it spawns
Spawns as loot on Chernarus, Livonia, Sakhal: Town, Village.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 20 | 10 | 10 |
| Minimum | 14 | 5 | 5 |
| Lifetime | 4 h | 4 h | 4 h |
| Restock | 0 | 0 | 0 |
| Quantity | · | · | · |
| Loot category | Clothes | Clothes | Clothes |
| Places | Town | Village | Village |
| Tiers | · | · | · |
Nominal is how many the economy keeps on the map, minimum is where restocking starts. Lifetime is how long an untouched item lies before cleanup.
types.xml
Vanilla entries from the mission files of each map. Paste one into db/types.xml of your mission to bring back the default.
types.xml · Chernarus
<type name="DesignerGlasses">
<nominal>20</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>14</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
<usage name="Town"/>
</type>
types.xml · Livonia, Sakhal
<type name="DesignerGlasses">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>5</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
<usage name="Village"/>
</type>
Config
- Classname
DesignerGlasses- Config class
CfgVehicles- Inherits from
Clothing›Clothing_Base›Inventory_Base›Static›All- Model
\DZ\characters\glasses\sunglasses_designer_g.p3d- Defined in
Addons/characters_glasses.pbo::config.bin- Inventory slots
Eyewear

