Motion Sensor: Difference between revisions
m (Automatic formatting) |
m (Automated CodeBox update) |
||
Line 77: | Line 77: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item MotionSensor | |||
{ | { | ||
DisplayCategory = Electronics, | DisplayCategory = Electronics, | ||
Line 87: | Line 87: | ||
Tooltip = Tooltip_MotionSensor, | Tooltip = Tooltip_MotionSensor, | ||
WorldStaticModel = MotionSensor, | WorldStaticModel = MotionSensor, | ||
} | } | ||
}} | |||
}} | }} | ||
Revision as of 11:07, 26 March 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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Motion Sensor |
0.5 Electrical | none | Screwdriver (keep) |
Home Alarm (consumed) |
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,
}