Motion Sensor: Difference between revisions
m (Removed Navbox(es) and added Navbox items) |
m (Distribution table update) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{Infobox item | {{Infobox item | ||
|name=Motion Sensor | |name=Motion Sensor | ||
|model=MotionSensor_Model.png | |model=MotionSensor_Model.png | ||
|icon=MotionSensor.png | |icon=MotionSensor.png | ||
Line 12: | Line 10: | ||
|item_id=Base.MotionSensor | |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}} | {{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]]. | A '''motion sensor''' is an [[electrical]] [[Items|item]] used in [[crafting]]. | ||
Line 48: | Line 45: | ||
The loot distributions can be found in the table(s) below. | 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%;" | ||
|SafehouseLoot | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
|4 | ! Container | ||
|8 | ! Rolls | ||
|- | ! Chance | ||
|closet | |- | ||
| | | SafehouseLoot | ||
|4 | | {{ll|crate}} | ||
|8 | | 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== | ==Code== | ||
Line 87: | Line 106: | ||
Tooltip = Tooltip_MotionSensor, | Tooltip = Tooltip_MotionSensor, | ||
WorldStaticModel = MotionSensor, | WorldStaticModel = MotionSensor, | ||
} | } | ||
}} | }} | ||
}} | }} |
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,
}