Motion Sensor: Difference between revisions
m (Added navbox) |
m (Remove lines)) |
||
(31 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Materials|Electrical materials}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Motion Sensor | ||
| | |model=MotionSensor_Model.png | ||
| | |icon=MotionSensor.png | ||
|weight = 0.1 | |icon_name=Motion Sensor | ||
|primary_use = [[Crafting]] | |weight=0.1 | ||
| | |primary_use=[[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 [[ | 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 | {{Crafting/sandbox2 | ||
|motion_sensor | |||
}} | |||
=== What it can craft === | ===What it can craft=== | ||
It can be attached to various bombs. | It can be attached to various bombs. | ||
{{Crafting | {{Crafting/sandbox2 | ||
|aerosol_bomb_with_sensor_1 | |||
|aerosol_bomb_with_sensor_1 | |||
|aerosol_bomb_with_sensor_3 | |||
|fire_bomb_with_sensor_1 | |||
|fire_bomb_with_sensor_2 | |||
|fire_bomb_with_sensor_3 | |||
|noise_generator_with_sensor_1 | |||
|noise_generator_with_sensor_2 | |||
|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 | |||
}} | |||
== Code == | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! 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, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Electrical | *[[Electrical]] | ||
{{Navbox items|electrical_materials}} | |||
[[Category:Electricals and Transmission (Project)]] | [[Category:Electricals and Transmission (Project)]] |
Revision as of 07:13, 15 April 2024
“
Component triggered by movement.
Used with improvised devices to create booby-traps.
Requires known recipe and Electrical skill.
Used with improvised devices to create booby-traps.
Requires known recipe and Electrical skill.
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 |
---|---|---|---|---|---|
Motion Sensor |
Home Alarm ×1 | Screwdriver |
none | none | 0.5 Electrical |
What it can craft
It can be attached to various bombs.
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item MotionSensor
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Motion Sensor,
Icon = MotionSensor,
MetalValue = 7,
Tooltip = Tooltip_MotionSensor,
WorldStaticModel = MotionSensor,
}