Digital Watch: Difference between revisions
(→Code) |
m (Version bump) |
||
(39 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Electronics}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Digital Watch | ||
| | |model=DigitalWatch_Black_Model.png | ||
| | |icon=DigitalWatch_Black.png | ||
|weight = 0. | |icon_name=Black Digital Watch | ||
| | |model2=DigitalWatch_Model.png | ||
|icon2=DigitalWatch_Red.png | |||
| | |icon_name2=Red Digital Watch | ||
|model3=DigitalWatch_Gold_Model.png | |||
|icon3=DigitalWatch_Fancy.png | |||
|icon_name3=Metallic Dress Style Digital Watch | |||
|category=Accessory | |||
|weight=0.1 | |||
|equipped=RightWrist<br>LeftWrist | |||
|material=Electronics | |||
|function=Display [[Controls#Time Controls|time]]<br>Dismantle for [[Scrap Electronics|scrap electronics]] | |||
|metal_value=3 | |||
|item_id=''See [[#Item IDs|Item IDs]] | |||
}} | |||
A '''digital watch''' is an [[electrical]] [[clothing]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
===Clock and alarm=== | ===Clock and alarm=== | ||
Having a digital watch in the player's main inventory, or wearing one, enables the in-game [[clock]] being displayed on the [[Controls#HUD|HUD]]. | Having a digital watch in the player's main inventory, or wearing one, enables the in-game [[clock]] being displayed on the [[Controls#HUD|HUD]]. | ||
Line 21: | Line 32: | ||
Unlike with classic watches, digital watches display the date and weather on the HUD. This also means that, in the info tab, the player can see how long their character has been alive for. The temperature reading will change dependent on the environment. This can allow the player to assess the indoor temperature when entering a building. | Unlike with classic watches, digital watches display the date and weather on the HUD. This also means that, in the info tab, the player can see how long their character has been alive for. The temperature reading will change dependent on the environment. This can allow the player to assess the indoor temperature when entering a building. | ||
=== | ===Clothing=== | ||
A digital watch can be | A digital watch can be worn on both wrists. | ||
==Crafting== | ==Crafting== | ||
===Dismantling=== | |||
A digital watch can be dismantled if the player has a [[screwdriver]], which will result in one [[Scrap Electronics|scrap electronics]]. | |||
{{Crafting header|ing=2}} | {{Crafting header|ing=2}} | ||
{{Crafting electrical|001|ing=2}} | {{Crafting electrical|001|ing=2}} | ||
|} | |||
==Distribution== | ==Distribution== | ||
The digital watch can be found on [[zombie]]s and [[Containers#Corpses|corpse]]s. | The digital watch can be found on [[zombie]]s and [[Containers#Corpses|corpse]]s. | ||
==Item IDs== | |||
{| class="wikitable theme-red" style="text-align:center;" | |||
! Icon | |||
! Name | |||
! Item ID | |||
|- | |||
| [[File:DigitalWatch_Black.png]] | |||
| Black Digital Watch | |||
| {{ID|Base.WristWatch_Right_DigitalBlack}}<br>{{ID|Base.WristWatch_Left_DigitalBlack}} | |||
|- | |||
| [[File:DigitalWatch_Red.png]] | |||
| Red Digital Watch | |||
| {{ID|Base.WristWatch_Right_DigitalRed}}<br>{{ID|Base.WristWatch_Left_DigitalRed}} | |||
|- | |||
| [[File:DigitalWatch_Fancy.png]] | |||
| Metallic Dress Style Digital Watch | |||
| {{ID|Base.WristWatch_Right_DigitalDress}}<br>{{ID|Base.WristWatch_Left_DigitalDress}} | |||
|} | |||
==Trivia== | ==Trivia== | ||
*Digital watches in the mid-1990s were incredibly popular, with cutting-edge technology and functions, such as an LED display, calculator, data bank, games and more. | *Digital watches in the mid-1990s were incredibly popular, with cutting-edge technology and functions, such as an LED display, calculator, data bank, games and more. | ||
==Code== | ==Code== | ||
''''' | {{CodeBox| | ||
{{ | '''Black Digital Watch'''<br>{{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 996 | |||
| source = clothing_jewellery.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item WristWatch_Right_DigitalBlack | |||
{ | { | ||
DisplayCategory = Accessory, | DisplayCategory = Accessory, | ||
Line 65: | Line 86: | ||
Icon = DigitalWatch_Black, | Icon = DigitalWatch_Black, | ||
Weight = 0.1, | Weight = 0.1, | ||
ClothingItemExtra = WristWatch_Left_DigitalBlack, | |||
ClothingItemExtraOption = LeftWrist, | |||
clothingExtraSubmenu = RightWrist, | |||
Cosmetic = TRUE, | Cosmetic = TRUE, | ||
AlarmSound = WatchAlarmLoop, | AlarmSound = WatchAlarmLoop, | ||
Line 93: | Line 95: | ||
Tags = Digital, | Tags = Digital, | ||
WorldStaticModel = DigitalWatchBlack, | WorldStaticModel = DigitalWatchBlack, | ||
} | } | ||
}} | |||
'''Red Digital Watch'''<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1034 | |||
| source = clothing_jewellery.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item WristWatch_Right_DigitalRed | |||
{ | { | ||
DisplayCategory = Accessory, | DisplayCategory = Accessory, | ||
Line 106: | Line 115: | ||
Icon = DigitalWatch_Red, | Icon = DigitalWatch_Red, | ||
Weight = 0.1, | Weight = 0.1, | ||
ClothingItemExtra = WristWatch_Left_DigitalRed, | |||
ClothingItemExtraOption = LeftWrist, | |||
clothingExtraSubmenu = RightWrist, | |||
Cosmetic = TRUE, | Cosmetic = TRUE, | ||
AlarmSound = WatchAlarmLoop, | AlarmSound = WatchAlarmLoop, | ||
Line 115: | Line 124: | ||
Tags = Digital, | Tags = Digital, | ||
WorldStaticModel = DigitalWatchRed, | WorldStaticModel = DigitalWatchRed, | ||
} | } | ||
}} | |||
'''Metallic Dress Style Digital Watch'''<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1072 | |||
| source = clothing_jewellery.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item WristWatch_Right_DigitalDress | |||
{ | { | ||
DisplayCategory = Accessory, | DisplayCategory = Accessory, | ||
Type = AlarmClockClothing, | Type = AlarmClockClothing, | ||
DisplayName = | DisplayName = Metallic Dress Style Digital Watch, | ||
ClothingItem = | ClothingItem = WristWatch_Right_DigitalDress, | ||
BodyLocation = | BodyLocation = RightWrist, | ||
Icon = | Icon = DigitalWatch_Fancy, | ||
Weight = 0.1, | Weight = 0.1, | ||
ClothingItemExtra = WristWatch_Left_DigitalDress, | |||
ClothingItemExtraOption = LeftWrist, | |||
clothingExtraSubmenu = RightWrist, | |||
Cosmetic = TRUE, | Cosmetic = TRUE, | ||
AlarmSound = WatchAlarmLoop, | AlarmSound = WatchAlarmLoop, | ||
Line 133: | Line 152: | ||
MetalValue = 3, | MetalValue = 3, | ||
Tags = Digital, | Tags = Digital, | ||
WorldStaticModel = | WorldStaticModel = DigitalWatchGold, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Alarm Clock]] | *[[Alarm Clock]] | ||
*[[Electrical | *[[Classic Wrist Watch]] | ||
*[[Electrical]] | |||
{{Navbox | {{Navbox equipment|electronics}} | ||
{{Navbox jewellery}} | |||
[[Category:Electrical]] | |||
[[Category:Jewelry]] | |||
[[Category:Electricals and Transmission (Project)]] | [[Category:Electricals and Transmission (Project)]] |
Revision as of 02:35, 28 March 2024
LeftWrist
A digital watch is an electrical clothing item.
Usage
Clock and alarm
Having a digital watch in the player's main inventory, or wearing one, enables the in-game clock being displayed on the HUD.
Digital watches have an alarm that can be set to go off at a specific time each day. When the alarm goes off, the player will wake up from sleep, preventing them from sleeping past a certain time of day. The chime from a digital watch's alarm can attract zombies. Some digital watches will be found with an alarm already set, and may go off without notice unless the alarm is turned off.
Unlike with classic watches, digital watches display the date and weather on the HUD. This also means that, in the info tab, the player can see how long their character has been alive for. The temperature reading will change dependent on the environment. This can allow the player to assess the indoor temperature when entering a building.
Clothing
A digital watch can be worn on both wrists.
Crafting
Dismantling
A digital watch can be dismantled if the player has a screwdriver, which will result in one scrap electronics.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
(consumed) |
Distribution
The digital watch can be found on zombies and corpses.
Item IDs
Trivia
- Digital watches in the mid-1990s were incredibly popular, with cutting-edge technology and functions, such as an LED display, calculator, data bank, games and more.
Code
Black Digital Watch
Source: ProjectZomboid\media\scripts\clothing\clothing_jewellery.txt
item WristWatch_Right_DigitalBlack
{
DisplayCategory = Accessory,
Type = AlarmClockClothing,
DisplayName = Black Digital Watch,
ClothingItem = WristWatch_Right_DigitalBlack,
BodyLocation = RightWrist,
Icon = DigitalWatch_Black,
Weight = 0.1,
ClothingItemExtra = WristWatch_Left_DigitalBlack,
ClothingItemExtraOption = LeftWrist,
clothingExtraSubmenu = RightWrist,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
SoundRadius = 7,
MetalValue = 3,
Tags = Digital,
WorldStaticModel = DigitalWatchBlack,
}
Red Digital Watch
Source: ProjectZomboid\media\scripts\clothing\clothing_jewellery.txt
item WristWatch_Right_DigitalRed
{
DisplayCategory = Accessory,
Type = AlarmClockClothing,
DisplayName = Red Digital Watch,
ClothingItem = WristWatch_Right_DigitalRed,
BodyLocation = RightWrist,
Icon = DigitalWatch_Red,
Weight = 0.1,
ClothingItemExtra = WristWatch_Left_DigitalRed,
ClothingItemExtraOption = LeftWrist,
clothingExtraSubmenu = RightWrist,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
SoundRadius = 7,
MetalValue = 3,
Tags = Digital,
WorldStaticModel = DigitalWatchRed,
}
Metallic Dress Style Digital Watch
Source: ProjectZomboid\media\scripts\clothing\clothing_jewellery.txt
item WristWatch_Right_DigitalDress
{
DisplayCategory = Accessory,
Type = AlarmClockClothing,
DisplayName = Metallic Dress Style Digital Watch,
ClothingItem = WristWatch_Right_DigitalDress,
BodyLocation = RightWrist,
Icon = DigitalWatch_Fancy,
Weight = 0.1,
ClothingItemExtra = WristWatch_Left_DigitalDress,
ClothingItemExtraOption = LeftWrist,
clothingExtraSubmenu = RightWrist,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
SoundRadius = 7,
MetalValue = 3,
Tags = Digital,
WorldStaticModel = DigitalWatchGold,
}