Crafted Trigger: Difference between revisions

From PZwiki
(Created page with "{{languages|Crafted Trigger}} {{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox normal |display_name = Crafted Tri...")
 
m (Distribution table fix)
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Crafted Trigger}}
{{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 Trigger
{{Infobox item
|name_colour = Electric
|name=Crafted Trigger
|name_text_colour = Electric
|model=TriggerCrafted_Model.png
|image = TriggerCrafted.png
|icon=TriggerCrafted.png
|weight = 0.2
|icon_name=Crafted Trigger
|primary_use = [[Crafting]]  
|weight=0.2
|class_name = Base.TriggerCrafted
|primary_use=[[Crafting]]
}}A '''crafted trigger''' is an [[electrical]] [[items|item]] used in [[crafting]].
|item_id=Base.TriggerCrafted
}}
A '''crafted trigger''' is an [[electrical]] [[Items|item]] used in [[crafting]].


== Usage ==
==Usage==
A crafted trigger is used in the crafting recipes for modifying [[:Category:Bomb and Throwing Items|explosives]], allowing them to be triggered remotely.  
A crafted trigger is used in the crafting recipes for modifying [[Weapons#Explosives|explosives]], allowing them to be triggered remotely using a [[Remote Controller|remote controller]].


== Crafting ==
==Crafting==
=== How to craft ===
===How to craft===
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|7007}}
|crafted_trigger
{{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|7012}}
|remote_aerosol_bomb
{{RecipeLookup|7016}}
|remote_fire_bomb
{{RecipeLookup|7020}}
|remote_noise_generator
{{RecipeLookup|7024}}
|remote_pipe_bomb
{{RecipeLookup|7028}}
|remote_smoke_bomb
{{Crafting table footer}}
}}


== Code ==
 
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=40|incver=5}}
==Distribution==
<pre> item TriggerCrafted
The loot distributions can be found in the table(s) below.
Weight = 0.2,
 
Type = Normal,
<!--BOT FLAG|TriggerCrafted|41.78.16-->
DisplayName = Crafted Trigger,
{{Clear}}
Icon = TriggerCrafted,
<div class="togglebox theme-red">
MetalValue = 7,
    <div>TriggerCrafted distribution
</pre>
        <span class="mw-customtoggle-togglebox-TriggerCrafted" 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-TriggerCrafted">
    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}}
    | 19.27%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 19.27%
    |-
    | 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-TriggerCrafted" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|TriggerCrafted|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 186
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item TriggerCrafted
    {
        DisplayCategory = Electronics,
        Weight = 0.2,
        Type = Normal,
        DisplayName = Crafted Trigger,
        Icon = TriggerCrafted,
        MetalValue = 7,
        WorldStaticModel = CraftedTrigger,
    }
}}
}}


==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 Trigger
TriggerCrafted Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Technical
Item ID
Base.TriggerCrafted

A crafted trigger is an electrical item used in crafting.

Usage

A crafted trigger is used in the crafting recipes for modifying explosives, allowing them to be triggered remotely using a remote controller.

Crafting

How to craft

Product Ingredients Tools Requirements Workstation XP
TriggerCrafted.png
Crafted Trigger
One of:
RadioReceiver.png Radio Receiver ×1
Receiver.png Receiver ×1
Each of:
ElectronicsScrap.png Scrap Electronics ×2
Glue.png Glue ×2 unit(s)
Screwdriver.png
Screwdriver
Electrical 2
(and)
MagazineElectronics04.png
Electronics Magazine Vol.4
none none

What it can craft

It can be attached to various bombs.

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


Distribution

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

TriggerCrafted 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 19.27%
SafehouseLoot metal_shelves 19.27%
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 TriggerCrafted
    {
        DisplayCategory = Electronics,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Crafted Trigger,
        Icon	=	TriggerCrafted,
        MetalValue = 7,
        WorldStaticModel = CraftedTrigger,
    }

See also