Digital Watch: Difference between revisions

From PZwiki
m (Add distribution tables)
 
(45 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Digital Watch}}
{{Header|Project Zomboid|Items|Electronics}}
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 41|incver=50}}{{Infobox normal
{{Page version|41.78.16}}
|display_name = Digital Watch
{{Infobox item
|name_colour = Electric
|name=Digital Watch
|name_text_colour = Electric
|model=DigitalWatch_Black_Model.png
|image = DigitalWatch.png
|icon=DigitalWatch_Black.png
|weight = 0.3
|icon_name=Black Digital Watch
|primary_use = Display [[Controls#Time Controls|time]]
|model2=DigitalWatch_Model.png
|secondary_use = Dismantle for [[Electronics Scrap|electronics scrap]]
|icon2=DigitalWatch_Red.png
|class_name = Base.DigitalWatch2
|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]].


__TOC__
==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 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 Scrap|electronics scrap]].
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
}}


==Crafting==
==Item IDs==
{{Crafting header|ing=2}}
{| class="wikitable theme-red" style="text-align:center;"
{{Crafting electrical|001|ing=2}}
! Icon
{{Crafting table footer}}
! 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 and [[Containers#Corpses|corpse]]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.
*The watch can be worn on both wrists


==Code==
==Code==
'''''From clothing_jewellery.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox|
{{Retrieved|version=41|incver=73}}
'''Black Digital Watch'''<br>{{CodeSnip
<pre>
  | lang = java
 
  | line = true
--(OBSOLETE)
  | start = 996
 
  | source = clothing_jewellery.txt
item DigitalWatch2
  | retrieved = true
Type = AlarmClock,
  | version = 41.78.16
DisplayName = Digital Watch,
  | code =
Icon = DigitalWatch,
item WristWatch_Right_DigitalBlack
Weight = 0.0,
AlarmSound = watchAlarmLooped,
SoundRadius = 7,
MetalValue = 3,
Obsolete = TRUE,
 
 
--(New Version)--(Black Variant)
 
    item WristWatch_Right_DigitalBlack
{
{
    DisplayCategory = Accessory,
    DisplayCategory = Accessory,
Line 75: Line 238:
WorldStaticModel = DigitalWatchBlack,
WorldStaticModel = DigitalWatchBlack,
}
}
    item WristWatch_Left_DigitalBlack
}}
{
'''Red Digital Watch'''<br>
    DisplayCategory = Accessory,
{{CodeSnip
Type = AlarmClockClothing,
  | lang = java
DisplayName = Black Digital Watch,
  | line = true
ClothingItem = WristWatch_Left_DigitalBlack,
  | start = 1034
BodyLocation = LeftWrist,
  | source = clothing_jewellery.txt
Icon = DigitalWatch_Black,
  | retrieved = true
Weight = 0.1,
  | version = 41.78.16
        ClothingItemExtra = WristWatch_Right_DigitalBlack,
  | code =
        ClothingItemExtraOption = RightWrist,
item WristWatch_Right_DigitalRed
        clothingExtraSubmenu = LeftWrist,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
SoundRadius = 7,
MetalValue = 3,
Tags = Digital,
WorldStaticModel = DigitalWatchBlack,
}
 
--(Red Variant)
 
    item WristWatch_Right_DigitalRed
{
{
    DisplayCategory = Accessory,
    DisplayCategory = Accessory,
Line 116: Line 267:
WorldStaticModel = DigitalWatchRed,
WorldStaticModel = DigitalWatchRed,
}
}
    item WristWatch_Left_DigitalRed
}}
'''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 = Red Digital Watch,
DisplayName = Metallic Dress Style Digital Watch,
ClothingItem = WristWatch_Left_DigitalRed,
ClothingItem = WristWatch_Right_DigitalDress,
BodyLocation = LeftWrist,
BodyLocation = RightWrist,
Icon = DigitalWatch_Red,
Icon = DigitalWatch_Fancy,
Weight = 0.1,
Weight = 0.1,
         ClothingItemExtra = WristWatch_Right_DigitalRed,
         ClothingItemExtra = WristWatch_Left_DigitalDress,
         ClothingItemExtraOption = RightWrist,
         ClothingItemExtraOption = LeftWrist,
         clothingExtraSubmenu = LeftWrist,
         clothingExtraSubmenu = RightWrist,
Cosmetic = TRUE,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
AlarmSound = WatchAlarmLoop,
Line 133: Line 294:
MetalValue = 3,
MetalValue = 3,
Tags = Digital,
Tags = Digital,
WorldStaticModel = DigitalWatchRed,
WorldStaticModel = DigitalWatchGold,
}
}
</pre>
}}
}}


==See also==
==See also==
*[[Alarm Clock]]
*[[Alarm Clock]]
*[[Electrical|Electrical Guide]]
*[[Classic Wrist Watch]]
 
*[[Electrical]]


{{Navbox/Electricity and Engineering}}
{{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

Project ZomboidItemsElectronicsDigital Watch
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Digital Watch
DigitalWatch Black Model.png
DigitalWatch Model.png
DigitalWatch Gold Model.png
General
Category
Accessory
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Equipped
RightWrist
LeftWrist
Function
Display time
Dismantle for scrap electronics
Properties
Material
Electronics
Technical
Item ID

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
ElectronicsParts.png
Scrap Electronics
One of:
CordlessPhone.png Cordless Phone ×1
DigitalWatch.png Digital Watch ×1
Earbuds.png Earbuds ×1
Flashlight.png Flashlight ×1
Flashlight2.png Hand Torch ×1
Headphones.png Headphones ×1
VideoGame.png Video Game ×1
Screwdriver.png
Screwdriver
none none 0.5 Electrical

Item IDs

Icon Name Item ID
DigitalWatch Black.png Black Digital Watch Base.WristWatch_Right_DigitalBlack
Base.WristWatch_Left_DigitalBlack
DigitalWatch Red.png Red Digital Watch Base.WristWatch_Right_DigitalRed
Base.WristWatch_Left_DigitalRed
DigitalWatch Fancy.png Metallic Dress Style Digital Watch Base.WristWatch_Right_DigitalDress
Base.WristWatch_Left_DigitalDress

Distribution

The digital watch can be found on zombies, corpses, and in containers.

WristWatch_Right_DigitalBlack distribution Show / Hide
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.
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%
WristWatch_Right_DigitalRed distribution Show / Hide
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.
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%
WristWatch_Right_DigitalDress distribution Show / Hide
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.
Containers
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

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Black Digital Watch
Source: ProjectZomboid\media\scripts\clothing\clothing_jewellery.txt

Retrieved: Build 41.78.16
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

Retrieved: Build 41.78.16
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

Retrieved: Build 41.78.16
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,
	}

See also