Digital Watch: Difference between revisions

From PZwiki
No edit summary
Line 69: Line 69:
                 ClothingItemExtraOption = LeftWrist,
                 ClothingItemExtraOption = LeftWrist,
                 clothingExtraSubmenu = RightWrist,
                 clothingExtraSubmenu = RightWrist,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
SoundRadius = 7,
MetalValue = 3,
Tags = Digital,
WorldStaticModel = DigitalWatchBlack,
}
        item WristWatch_Left_DigitalBlack
{
        DisplayCategory = Accessory,
Type = AlarmClockClothing,
DisplayName = Black Digital Watch,
ClothingItem = WristWatch_Left_DigitalBlack,
BodyLocation = LeftWrist,
Icon = DigitalWatch_Black,
Weight = 0.1,
                ClothingItemExtra = WristWatch_Right_DigitalBlack,
                ClothingItemExtraOption = RightWrist,
                clothingExtraSubmenu = LeftWrist,
Cosmetic = TRUE,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
AlarmSound = WatchAlarmLoop,
Line 110: Line 91:
                 ClothingItemExtraOption = LeftWrist,
                 ClothingItemExtraOption = LeftWrist,
                 clothingExtraSubmenu = RightWrist,
                 clothingExtraSubmenu = RightWrist,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
SoundRadius = 7,
MetalValue = 3,
Tags = Digital,
WorldStaticModel = DigitalWatchRed,
}
        item WristWatch_Left_DigitalRed
{
        DisplayCategory = Accessory,
Type = AlarmClockClothing,
DisplayName = Red Digital Watch,
ClothingItem = WristWatch_Left_DigitalRed,
BodyLocation = LeftWrist,
Icon = DigitalWatch_Red,
Weight = 0.1,
                ClothingItemExtra = WristWatch_Right_DigitalRed,
                ClothingItemExtraOption = RightWrist,
                clothingExtraSubmenu = LeftWrist,
Cosmetic = TRUE,
Cosmetic = TRUE,
AlarmSound = WatchAlarmLoop,
AlarmSound = WatchAlarmLoop,

Revision as of 22:12, 15 August 2022

Digital Watch
Digital Watch
General
Category Item
Encumbrance
Heavy Load
0.3
Function Display time
Dismantle for electronics scrap
Technical details
Base ID WristWatch_Right_DigitalBlack

A digital watch is an electrical 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.

Dismantling

A digital watch can be dismantled if the player has a screwdriver, which will result in one electronics scrap.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
ElectronicsScrap.png
Scrap Electronics
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)

(consumed)

Template:Crafting table footer

Distribution

The digital watch can be found on zombies and corpses.

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.
  • The watch can be worn on both wrists

Code

From clothing_jewellery.txt (Project Zomboid directory/media/scripts/clothing) Retrieved: Build 41.73


--(OBSOLETE)

	item DigitalWatch2
		Type		= AlarmClock,
		DisplayName	= Digital Watch,
		Icon		= DigitalWatch,
		Weight		= 0.0,
		AlarmSound	= watchAlarmLooped,
		SoundRadius	= 7,
		MetalValue	= 3,
		Obsolete	= TRUE,


--(New Version)--
--(Black Variant)--

        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 Variant)--

        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,
	}

See also


Template:Navbox/Electricity and Engineering