Crafted Timer: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table fix)
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Crafted Timer}}
{{Header|Project Zomboid|Items|Materials|Electrical materials}}
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox normal
{{Page version|41.78.16}}
|display_name = Crafted Timer
{{Infobox item
|name_colour = Electric
|name=Crafted Timer
|name_text_colour = Electric
|model=CraftedTimer_Model.png
|image = TimerCrafted.png  
|model_width=200px
|weight = 0.5
|icon=TimerCrafted.png
|primary_use = [[Crafting]]  
|icon_name=Crafted Timer
|class_name = Base.TimerCrafted
|category=Electronics
}}{{quote|text=Place on improvised devices and set countdown timer.<br>Requires known recipe and Electrical skill.|author=In-game tooltip}}A '''crafted timer''' is an [[electrical]] [[items|item]] used in [[crafting]].
|weight=0.5
|function=[[Crafting]]
|material=Metal
|material_value=10
|item_id=Base.TimerCrafted
}}
{{Quote|text=Place on improvised devices and set countdown timer.<br>Requires known recipe and Electrical skill.|author=In-game tooltip}}
A '''crafted timer''' is an [[electrical]] [[Items|item]] used in [[crafting]].


== Usage ==
==Usage==
A crafted timer is used in crafting recipes for modifying [[:Category:Bomb and Throwing Items|explosives]], allowing them to have a timed delay that is determined prior to placement. It can be used as a distraction, or as a method of killing zombies, when paired.
A crafted timer is used in crafting recipes for modifying [[Weapons#Explosives|explosives]], allowing them to have a timed delay that is determined prior to placement. It can be used as a distraction, or as a method of killing zombies, when paired.


== Crafting ==
==Crafting==
=== How to craft ===
===How to craft===
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|7008}}
|crafted_timer
{{Crafting table footer}}
}}


=== What it can craft ===
===What it can craft===
It can be attached to various bombs.
It can be attached to various bombs.
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|7010}}
|aerosol_bomb_with_timer
{{RecipeLookup|7014}}
|fire_bomb_with_timer
{{RecipeLookup|7018}}
|noise_generator_with_timer
{{RecipeLookup|7022}}
|pipe_bomb_with_timer
{{RecipeLookup|7026}}
|smoke_bomb_with_timer
{{Crafting table footer}}
}}


== Code ==
 
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=40|incver=5}}
==Distribution==
<pre> item TimerCrafted
The loot distributions can be found in the table(s) below.
Weight = 0.5,
 
Type = Normal,
<!--BOT FLAG|TimerCrafted|41.78.16-->
DisplayName = Crafted Timer,
{{Clear}}
Icon = TimerCrafted,
<div class="togglebox theme-red">
MetalValue = 10,
    <div>TimerCrafted distribution
Tooltip = Tooltip_CraftedTimer,
        <span class="mw-customtoggle-togglebox-TimerCrafted" 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>
</pre>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-TimerCrafted">
    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" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Electrician
    | {{ll|crate}}
    | 19.27%
    |-
    | Electrician
    | {{ll|metal_shelves}}
    | 19.27%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 15.1%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | closet
    | {{ll|crate}}
    | 19.27%
    |-
    | garagestorage
    | {{ll|crate}}
    | 19.27%
    |-
    | storageunit
    | {{ll|crate}}
    | 19.27%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Electrician
    | {{ll|Truck Bed}}
    | 19.27%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-TimerCrafted" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|TimerCrafted|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 253
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item TimerCrafted
    {
        DisplayCategory = Electronics,
        Weight = 0.5,
        Type = Normal,
        DisplayName = Crafted Timer,
        Icon = TimerCrafted,
        MetalValue = 10,
        Tooltip = Tooltip_CraftedTimer,
        WorldStaticModel = CraftedTimer,
    }
}}
}}


==See also==
==See also==
*[[Electrical|Electrical Guide]]
*[[Electrical]]
 
{{Navbox items|electrical_materials}}
 


[[Category:Electricals and Transmission (Project)]]
[[Category:Electricals and Transmission (Project)]]

Latest revision as of 19:06, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Crafted Timer
CraftedTimer Model.png
General
Category
Electronics
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Function
Properties
Material
Metal
Metal quantity
10
Technical
Item ID
Base.TimerCrafted
Place on improvised devices and set countdown timer.
Requires known recipe and Electrical skill.
— In-game tooltip

A crafted timer is an electrical item used in crafting.

Usage

A crafted timer is used in crafting recipes for modifying explosives, allowing them to have a timed delay that is determined prior to placement. It can be used as a distraction, or as a method of killing zombies, when paired.

Crafting

How to craft

Product Ingredients Tools Requirements Workstation XP
TimerCrafted.png
Crafted Timer
One of:
AlarmClock.png Alarm Clock ×1
Timer.png Timer ×1
Each of:
ElectronicsScrap.png Scrap Electronics ×1
Glue.png Glue ×1 unit(s)
Screwdriver.png
Screwdriver
Electrical 1
(and)
MagazineElectronics02.png
Electronics Magazine Vol.2
none none

What it can craft

It can be attached to various bombs.

Product Ingredients Tools Requirements Workstation XP
AerosolbombTimer.png
Aerosol Bomb with Timer
Aerosolbomb.png Aerosol Bomb ×1
TimerCrafted.png Crafted Timer ×1
ElectronicsScrap.png Scrap Electronics ×2
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 2
(and)
MagazineElectronics02.png
Electronics Magazine Vol.2
none none
FireBomb.png
Fire Bomb with Timer
BottleWithGas.png Fire Bomb ×1
TimerCrafted.png Crafted Timer ×1
ElectronicsScrap.png Scrap Electronics ×2
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 2
(and)
MagazineElectronics02.png
Electronics Magazine Vol.2
none none
NoiseMaker.png
Noise Generator with Timer
NoiseMaker.png Noise Maker ×1
TimerCrafted.png Crafted Timer ×1
ElectronicsScrap.png Scrap Electronics ×2
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 2
(and)
MagazineElectronics02.png
Electronics Magazine Vol.2
none none
PipeBombTimer.png
Pipe Bomb with Timer
PipeBomb.png Pipe Bomb ×1
TimerCrafted.png Crafted Timer ×1
ElectronicsScrap.png Scrap Electronics ×2
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 2
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
SmokebombTimer.png
moke Bomb with Timer
Smokebomb.png Smoke Bomb ×1
TimerCrafted.png Crafted Timer ×1
ElectronicsScrap.png Scrap Electronics ×2
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 2
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none


Distribution

The loot distributions can be found in the table(s) below.

TimerCrafted 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
Electrician crate 19.27%
Electrician metal_shelves 19.27%
SafehouseLoot crate 15.1%
SafehouseLoot metal_shelves 15.1%
closet crate 19.27%
garagestorage crate 19.27%
storageunit crate 19.27%
Vehicles
Type Container Effective chance
Electrician Trunk 19.27%

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item TimerCrafted
    {
        DisplayCategory = Electronics,
        Weight	=	0.5,
        Type	=	Normal,
        DisplayName	=	Crafted Timer,
        Icon	=	TimerCrafted,
        MetalValue = 10,
        Tooltip = Tooltip_CraftedTimer,
        WorldStaticModel = CraftedTimer,
    }

See also