Motion Sensor: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: deploy ReLookup, eid: c0a44af745eb33aa9ca752308c3f8aa5))
m (Remove lines))
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Motion Sensor}}
{{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 = Motion Sensor
{{Infobox item
|name_colour = Electric
|name=Motion Sensor
|name_text_colour = Electric
|model=MotionSensor_Model.png
|image = MotionSensor.png
|icon=MotionSensor.png
|weight = 0.1
|icon_name=Motion Sensor
|primary_use = [[Crafting]]  
|weight=0.1
|class_name = Base.MotionSensor
|primary_use=[[Crafting]]
}}{{quote|text=Component triggered by movement.<br>Used with improvised devices to create booby-traps.<br>Requires known recipe and Electrical skill.|author=In-game tooltip}}A '''motion sensor''' is an [[electrical]] [[items|item]] used in [[crafting]].
|item_id=Base.MotionSensor
}}
{{Quote|text=Component triggered by movement.<br>Used with improvised devices to create booby-traps.<br>Requires known recipe and Electrical skill.|author=In-game tooltip}}
A '''motion sensor''' is an [[electrical]] [[Items|item]] used in [[crafting]].


== Usage ==
==Usage==
A motion sensor is used in crafting recipes for modifying [[:Category:Bomb and Throwing Items|explosives]], allowing them to trigger if they detect motion.  
A motion sensor is used in crafting recipes for modifying [[Weapons#Explosives|explosives]], allowing them to trigger if they detect motion.


== Crafting ==
==Crafting==
=== How to craft ===
===How to craft===
{{Crafting header|ing=2}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 7001 -->
{{Crafting/sandbox2
{{Crafting/core|ing=2
|motion_sensor
| product_image = [[File:MotionSensor.png|link=Motion Sensor|Motion Sensor]] | product_name = [[Motion Sensor]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:HomeAlarm.png|link=Home Alarm|Home Alarm]] | i1 = [[Home Alarm]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:Screwdriver.png|link=Screwdriver|Screwdriver]] | i2 = [[Screwdriver]] | q2 =  | tag2 = (keep)
}}
}}
|}


=== What it can craft ===
===What it can craft===
It can be attached to various bombs.
It can be attached to various bombs.
{{Crafting header|ing=4}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 7011 -->
{{Crafting/sandbox2
{{Crafting/core|ing=4
|aerosol_bomb_with_sensor_1
| product_image = [[File:AerosolbombTimer.png|link=Aerosol Bomb with Sensor|Aerosol Bomb with Sensor]] | product_name = [[Aerosol Bomb with Sensor]] | product_quantity = x1
|aerosol_bomb_with_sensor_1
| xp = <!-- Not present in the old template. Please fill in manually. -->
|aerosol_bomb_with_sensor_3
| sl = [[Electrical]] 2
|fire_bomb_with_sensor_1
| req = [[File:MagazineElectronics04.png|32px|Recipe Magazines#Electrical|Electronics Magazine Vol.3]]
|fire_bomb_with_sensor_2
| f1 = [[File:Aerosolbomb.png|link=Aerosol Bomb|Aerosol Bomb]] | i1 = [[Aerosol Bomb]] | q1 = x1 | tag1 = (consumed)
|fire_bomb_with_sensor_3
| f2 = [[File:MotionSensor.png|link=Motion Sensor|Motion Sensor]] | i2 = [[Motion Sensor]] | q2 = x1 | tag2 = (consumed)
|noise_generator_with_sensor_1
| f3 = [[File:ElectronicsScrap.png|link=Electronics Scrap|Electronics Scrap]] | i3 = [[Electronics Scrap]] | q3 = x2 | tag3 = (consumed)
|noise_generator_with_sensor_2
| f4 = [[File:DuctTape.png|link=Duct Tape|Duct Tape]] | i4 = [[Duct Tape]] | q4 = (1 unit) | tag4 = (consumed)
|noise_generator_with_sensor_3
|pipe_bomb_with_sensor_1
|pipe_bomb_with_sensor_2
|pipe_bomb_with_sensor_3
|smoke_bomb_with_sensor_1
|smoke_bomb_with_sensor_2
|smoke_bomb_with_sensor_3
}}
}}
<!-- Automatically generated by ReLookup. Subject RecipeLookup: 7015 -->
 
{{Crafting/core|ing=4
==Distribution==
| product_image = [[File:FireBomb.png|link=Flame Trap with Sensor|Flame Trap with Sensor]] | product_name = [[Flame Trap with Sensor]] | product_quantity = x1
The loot distributions can be found in the table(s) below.
| xp = <!-- Not present in the old template. Please fill in manually. -->
 
| sl = [[Electrical]] 2
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
| req = [[File:MagazineElectronics04.png|32px|Recipe Magazines#Electronics Magazine|Electronics Magazine Vol.3]]
! colspan="4" | Containers
| f1 = [[File:BottleWithGas.png|link=Flame Trap|Flame Trap]] | i1 = [[Flame Trap]] | q1 = x1 | tag1 = (consumed)
|-
| f2 = [[File:MotionSensor.png|link=Motion Sensor|Motion Sensor]] | i2 = [[Motion Sensor]] | q2 = x1 | tag2 = (consumed)
! Building/Room
| f3 = [[File:ElectronicsScrap.png|link=Electronics Scrap|Electronics Scrap]] | i3 = [[Electronics Scrap]] | q3 = x2 | tag3 = (consumed)
! Container
| f4 = [[File:DuctTape.png|link=Duct Tape|Duct Tape]] | i4 = [[Duct Tape]] | q4 = (1 unit) | tag4 = (consumed)
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|SafehouseLoot
|[[crate]]
|4
|8
|-
|closet
|[[crate]]
|4
|8
|}
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 140
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MotionSensor
    {
        DisplayCategory = Electronics,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Motion Sensor,
        Icon = MotionSensor,
        MetalValue = 7,
        Tooltip = Tooltip_MotionSensor,
        WorldStaticModel = MotionSensor,
    }
}}
}}
<!-- Automatically generated by ReLookup. Subject RecipeLookup: 7019 -->
{{Crafting/core|ing=4
| product_image = [[File:SmokebombTimer.png|link=Smoke Bomb with Sensor|Smoke Bomb with Sensor]] | product_name = [[Smoke Bomb with Sensor]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = [[Electrical]] 2
| req = [[File:MagazineElectronics04.png|32px|Recipe Magazines#Electronics Magazine|Electronics Magazine Vol.3]]
| f1 = [[File:Smokebomb.png|link=Smoke Bomb|Smoke Bomb]] | i1 = [[Smoke Bomb]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:MotionSensor.png|link=Motion Sensor|Motion Sensor]] | i2 = [[Motion Sensor]] | q2 = x1 | tag2 = (consumed)
| f3 = [[File:ElectronicsScrap.png|link=Electronics Scrap|Electronics Scrap]] | i3 = [[Electronics Scrap]] | q3 = x2 | tag3 = (consumed)
| f4 = [[File:DuctTape.png|link=Duct Tape|Duct Tape]] | i4 = [[Duct Tape]] | q4 = (1 unit) | tag4 = (consumed)
}}
}}
<!-- Automatically generated by ReLookup. Subject RecipeLookup: 7023 -->
{{Crafting/core|ing=4
| product_image = [[File:NoiseMaker.png|link=Noise Maker with Sensor|Noise Maker with Sensor]] | product_name = [[Noise Maker with Sensor]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = [[Electrical]] 2
| req = [[File:MagazineElectronics04.png|32px|Recipe Magazines#Electronics Magazine|Electronics Magazine Vol.3]]
| f1 = [[File:NoiseMaker.png|link=Noise Maker|Noise Maker]] | i1 = [[Noise Maker]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:MotionSensor.png|link=Motion Sensor|Motion Sensor]] | i2 = [[Motion Sensor]] | q2 = x1 | tag2 = (consumed)
| f3 = [[File:ElectronicsScrap.png|link=Electronics Scrap|Electronics Scrap]] | i3 = [[Electronics Scrap]] | q3 = x2 | tag3 = (consumed)
| f4 = [[File:DuctTape.png|link=Duct Tape|Duct Tape]] | i4 = [[Duct Tape]] | q4 = (1 unit) | tag4 = (consumed)
}}
<!-- Automatically generated by ReLookup. Subject RecipeLookup: 7027 -->
{{Crafting/core|ing=4
| product_image = [[File:PipeBombTimer.png|link=Pipe Bomb with Sensor|Pipe Bomb with Sensor]] | product_name = [[Pipe Bomb with Sensor]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = [[Electrical]] 2
| req = [[File:MagazineElectronics04.png|32px|Recipe Magazines#Electronics Magazine|Electronics Magazine Vol.3]]
| f1 = [[File:PipeBomb.png|link=Pipe Bomb|Pipe Bomb]] | i1 = [[Pipe Bomb]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:MotionSensor.png|link=Motion Sensor|Motion Sensor]] | i2 = [[Motion Sensor]] | q2 = x1 | tag2 = (consumed)
| f3 = [[File:ElectronicsScrap.png|link=Electronics Scrap|Electronics Scrap]] | i3 = [[Electronics Scrap]] | q3 = x2 | tag3 = (consumed)
| f4 = [[File:DuctTape.png|link=Duct Tape|Duct Tape]] | i4 = [[Duct Tape]] | q4 = (1 unit) | tag4 = (consumed)
}}
|}


==See also==
*[[Electrical]]


== Code ==
{{Navbox items|electrical_materials}}
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=5}}
<pre> item MotionSensor
Weight = 0.1,
Type = Normal,
DisplayName = Motion Sensor,
Icon = MotionSensor,
MetalValue = 7,
Tooltip = Tooltip_MotionSensor,</pre>
 
==See also==
*[[Electrical|Electrical Guide]]


{{Navbox/Electricity and Engineering}}


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

Revision as of 07:13, 15 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]
Motion Sensor
MotionSensor Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Technical
Item ID
Base.MotionSensor
Component triggered by movement.
Used with improvised devices to create booby-traps.
Requires known recipe and Electrical skill.
— In-game tooltip

A motion sensor is an electrical item used in crafting.

Usage

A motion sensor is used in crafting recipes for modifying explosives, allowing them to trigger if they detect motion.

Crafting

How to craft

Product Ingredients Tools Requirements Workstation XP
MotionSensor.png
Motion Sensor
HomeAlarm.png Home Alarm ×1 Screwdriver.png
Screwdriver
none none 0.5 Electrical

What it can craft

It can be attached to various bombs.

Product Ingredients Tools Requirements Workstation XP
AerosolbombTimer.png
Aerosol Bomb with Sensor (V1)
Aerosolbomb.png Aerosol Bomb ×1
MotionSensor.png Motion Sensor ×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
AerosolbombTimer.png
Aerosol Bomb with Sensor (V1)
Aerosolbomb.png Aerosol Bomb ×1
MotionSensor.png Motion Sensor ×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
AerosolbombTimer.png
Aerosol Bomb with Sensor (V3)
Aerosolbomb.png Aerosol Bomb ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×4
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 6
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
FireBomb.png
Fire Bomb with Sensor (V1)
BottleWithGas.png Fire Bomb ×1
MotionSensor.png Motion Sensor ×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
FireBomb.png
Fire Bomb with Sensor (V2)
BottleWithGas.png Fire Bomb ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×3
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 4
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
FireBomb.png
Fire Bomb with Sensor (V3)
BottleWithGas.png Fire Bomb ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×4
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 6
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
NoiseMaker.png
Noise Generator with Sensor (V1)
NoiseMaker.png Noise Maker ×1
MotionSensor.png Motion Sensor ×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
NoiseMaker.png
Noise Generator with Sensor (V2)
NoiseMaker.png Noise Maker ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×3
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 4
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
NoiseMaker.png
Noise Generator with Sensor (V3)
NoiseMaker.png Noise Maker ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×4
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 6
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
PipeBombTimer.png
Pipe Bomb with Sensor (V1)
PipeBomb.png Pipe Bomb ×1
MotionSensor.png Motion Sensor ×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 Sensor (V2)
PipeBomb.png Pipe Bomb ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×3
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 4
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
PipeBombTimer.png
Pipe Bomb with Sensor (V3)
PipeBomb.png Pipe Bomb ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×4
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 6
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
SmokebombTimer.png
moke Bomb with Sensor (V1)
Smokebomb.png Smoke Bomb ×1
MotionSensor.png Motion Sensor ×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
SmokebombTimer.png
moke Bomb with Sensor (V2)
Smokebomb.png Smoke Bomb ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×3
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 4
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none
SmokebombTimer.png
moke Bomb with Sensor (V3)
Smokebomb.png Smoke Bomb ×1
MotionSensor.png Motion Sensor ×1
ElectronicsScrap.png Scrap Electronics ×4
DuctTape.png Duct Tape ×1 unit(s)
none Electrical 6
(and)
MagazineElectronics03.png
Electronics Magazine Vol.3
none none

Distribution

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

Containers
Building/Room Container Rolls Chance
SafehouseLoot crate 4 8
closet crate 4 8

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 MotionSensor
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Motion Sensor,
        Icon	=	MotionSensor,
        MetalValue = 7,
        Tooltip = Tooltip_MotionSensor,
        WorldStaticModel = MotionSensor,
    }

See also