Motion Sensor: Difference between revisions
(Created page with "{{languages|Motion Sensor}} {{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox normal |display_name = Motion Sensor...") |
m (Distribution table update) |
||
(33 intermediate revisions by 7 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 | |||
}} | |||
== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{{ | |||
< | <!--BOT FLAG|MotionSensor|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>MotionSensor distribution | |||
<span class="mw-customtoggle-togglebox-MotionSensor" 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-MotionSensor"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| SafehouseLoot | |||
| {{ll|crate}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 4 | |||
| 8.0 | |||
|} | |||
</div> | |||
<div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Vehicles}} | |||
! Vehicle Type/Location | |||
! Rolls | |||
! Chance | |||
|- | |||
| ElectricianTruckBed | |||
| 4 | |||
| 8 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-MotionSensor" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|MotionSensor|41.78.16--> | |||
==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)]] |
Latest revision as of 16:08, 24 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.
MotionSensor distribution
Show / Hide
Building / Room | Container | Rolls | Chance |
---|---|---|---|
SafehouseLoot | crate | 4 | 8.0 |
closet | crate | 4 | 8.0 |
Vehicle Type/Location | Rolls | Chance |
---|---|---|
ElectricianTruckBed | 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,
}