Motion Sensor: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Category Project: Electronics) |
(→Code: Update codebox to B41) |
||
Line 53: | Line 53: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 140 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item MotionSensor | item MotionSensor | ||
{ | { | ||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Motion Sensor, | |||
Icon = MotionSensor, | |||
MetalValue = 7, | |||
} | Tooltip = Tooltip_MotionSensor, | ||
WorldStaticModel = MotionSensor, | |||
} | |||
}} | }} | ||
}} | }} |
Revision as of 08:35, 2 February 2024
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
While they are currently unobtainable from crafting, due to the key crafting ingredient, the Home Alarm, being unobtainable, they can rarely spawn in Engineer houses, vehicle and safehouses.
Code
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,
}