Skip to content

Commit

Permalink
Added 'link_up' action to smart_lamp_on in line with other items
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Sep 7, 2024
1 parent e398be1 commit 212e7dd
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions data/json/items/tool/lighting.json
Original file line number Diff line number Diff line change
Expand Up @@ -952,13 +952,16 @@
"description": "A smart lamp which can be deactivated remotely. Currently it is turned on.",
"power_draw": "1321 mW",
"revert_to": "smart_lamp",
"use_action": {
"ammo_scale": 0,
"target": "smart_lamp",
"msg": "Your smart lamp turned off.",
"menu_text": "Turn off",
"type": "transform"
},
"use_action": [
{
"ammo_scale": 0,
"target": "smart_lamp",
"msg": "Your smart lamp turned off.",
"menu_text": "Turn off",
"type": "transform"
},
{ "type": "link_up", "cable_length": 3, "charge_rate": "6 W" }
],
"flags": [
"NO_UNLOAD",
"NO_RELOAD",
Expand Down

0 comments on commit 212e7dd

Please sign in to comment.