Digital Watch: Difference between revisions
(→Code) |
m (Add distribution tables) |
||
(45 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 | ||
}}A '''digital watch''' is an [[electrical]] [[item]]. | |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== | |||
===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 31: | ||
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 worn on both wrists. | |||
==Crafting== | |||
===Dismantling=== | ===Dismantling=== | ||
A digital watch can be dismantled if the player has a [[screwdriver]], which will result in one [[Electronics | A digital watch can be dismantled if the player has a [[screwdriver]], which will result in one [[Scrap Electronics|scrap electronics]]. | ||
{{Crafting/sandbox2 | |||
|scrap_electronics | |||
}} | |||
== | ==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}} | |||
|} | |||
==Distribution== | ==Distribution== | ||
The digital watch can be found on [[zombie]]s | The digital watch can be found on [[zombie]]s, [[Containers#Corpses|corpse]]s, and in containers. | ||
<!--BOT FLAG|WristWatch_Right_DigitalBlack|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>WristWatch_Right_DigitalBlack distribution | |||
<span class="mw-customtoggle-togglebox-WristWatch_Right_DigitalBlack" 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-WristWatch_Right_DigitalBlack"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis: 30%;"> | |||
{| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| clothingstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| departmentstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| electronicsstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| giftstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| jewelrystore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| leatherclothesstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| pawnshop | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-WristWatch_Right_DigitalBlack" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|WristWatch_Right_DigitalBlack|41.78.16--> | |||
<!--BOT FLAG|WristWatch_Right_DigitalRed|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>WristWatch_Right_DigitalRed distribution | |||
<span class="mw-customtoggle-togglebox-WristWatch_Right_DigitalRed" 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-WristWatch_Right_DigitalRed"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis: 30%;"> | |||
{| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| clothingstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| departmentstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| electronicsstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| giftstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| jewelrystore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| leatherclothesstore | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| pawnshop | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-WristWatch_Right_DigitalRed" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|WristWatch_Right_DigitalRed|41.78.16--> | |||
<!--BOT FLAG|WristWatch_Right_DigitalDress|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>WristWatch_Right_DigitalDress distribution | |||
<span class="mw-customtoggle-togglebox-WristWatch_Right_DigitalDress" 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-WristWatch_Right_DigitalDress"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis: 30%;"> | |||
{| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| clothingstore | |||
| {{ll|displaycase}} | |||
| 15.1% | |||
|- | |||
| departmentstore | |||
| {{ll|displaycase}} | |||
| 15.1% | |||
|- | |||
| electronicsstore | |||
| {{ll|displaycase}} | |||
| 15.1% | |||
|- | |||
| giftstore | |||
| {{ll|displaycase}} | |||
| 15.1% | |||
|- | |||
| jewelrystore | |||
| {{ll|displaycase}} | |||
| 15.1% | |||
|- | |||
| leatherclothesstore | |||
| {{ll|displaycase}} | |||
| 15.1% | |||
|- | |||
| pawnshop | |||
| {{ll|displaycase}} | |||
| 15.1% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-WristWatch_Right_DigitalDress" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|WristWatch_Right_DigitalDress|41.78.16--> | |||
==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 75: | Line 238: | ||
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 116: | Line 267: | ||
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 = | ClothingItemExtra = WristWatch_Left_DigitalDress, | ||
ClothingItemExtraOption = | ClothingItemExtraOption = LeftWrist, | ||
clothingExtraSubmenu = | clothingExtraSubmenu = RightWrist, | ||
Cosmetic = TRUE, | Cosmetic = TRUE, | ||
AlarmSound = WatchAlarmLoop, | AlarmSound = WatchAlarmLoop, | ||
Line 133: | Line 294: | ||
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 items|electronics}} | ||
[[Category:Electrical]] | |||
[[Category:Jewelry]] | |||
[[Category:Electricals and Transmission (Project)]] | [[Category:Electricals and Transmission (Project)]] |
Latest revision as of 14:43, 4 May 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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Scrap Electronics |
One of: Cordless Phone ×1 Digital Watch ×1 Earbuds ×1 Flashlight ×1 Hand Torch ×1 Headphones ×1 Video Game ×1 |
Screwdriver |
none | none | 0.5 Electrical |
Item IDs
Distribution
The digital watch can be found on zombies, corpses, and in containers.
Building/Room | Container | Effective chance |
---|---|---|
clothingstore | displaycase | 23.28% |
departmentstore | displaycase | 23.28% |
electronicsstore | displaycase | 23.28% |
giftstore | displaycase | 23.28% |
jewelrystore | displaycase | 23.28% |
leatherclothesstore | displaycase | 23.28% |
pawnshop | displaycase | 23.28% |
Building/Room | Container | Effective chance |
---|---|---|
clothingstore | displaycase | 23.28% |
departmentstore | displaycase | 23.28% |
electronicsstore | displaycase | 23.28% |
giftstore | displaycase | 23.28% |
jewelrystore | displaycase | 23.28% |
leatherclothesstore | displaycase | 23.28% |
pawnshop | displaycase | 23.28% |
Building/Room | Container | Effective chance |
---|---|---|
clothingstore | displaycase | 15.1% |
departmentstore | displaycase | 15.1% |
electronicsstore | displaycase | 15.1% |
giftstore | displaycase | 15.1% |
jewelrystore | displaycase | 15.1% |
leatherclothesstore | displaycase | 15.1% |
pawnshop | displaycase | 15.1% |
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,
}