From 6935f6a749a3ecf7b7a734b29030e699ddebe516 Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Fri, 13 Dec 2024 11:49:35 +0100 Subject: [PATCH] fix cellphone --- data/json/items/tool/electronics.json | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/data/json/items/tool/electronics.json b/data/json/items/tool/electronics.json index 16932cece5cdd..66b9c04a1a7d2 100644 --- a/data/json/items/tool/electronics.json +++ b/data/json/items/tool/electronics.json @@ -75,13 +75,16 @@ "name": { "str": "cellphone - Flashlight", "str_pl": "cellphones - Flashlight" }, "power_draw": "500 mW", "revert_to": "cell_phone", - "use_action": { - "ammo_scale": 0, - "target": "cell_phone", - "msg": "You turn off the screen.", - "menu_text": "Turn off", - "type": "transform" - }, + "use_action": [ + { + "ammo_scale": 0, + "target": "cell_phone", + "msg": "You turn off the screen.", + "menu_text": "Turn off", + "type": "transform" + }, + { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" } + ], "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATCH", "LIGHT_8", "CHARGEDIM", "TRADER_AVOID", "WATER_BREAK", "ELECTRONIC" ] }, {