summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-04-08 22:10:15 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-04-08 22:10:15 -0700
commitdc662dd5ee397b2b13624a2cb39e8637773aebd2 (patch)
tree47371d17bc2baa7af4cd83161aa8bbc71bbc08a8
downloadcataclysm-dda-mod_hack-fix-dc662dd5ee397b2b13624a2cb39e8637773aebd2.tar.xz
Initial commit
-rw-r--r--json/items/tools.json158
-rw-r--r--modinfo.json11
2 files changed, 169 insertions, 0 deletions
diff --git a/json/items/tools.json b/json/items/tools.json
new file mode 100644
index 0000000..4da20ff
--- /dev/null
+++ b/json/items/tools.json
@@ -0,0 +1,158 @@
+[
+ {
+ "id": "bot_EMP_hack",
+ "type": "TOOL",
+ "name": { "str": "inactive EMP hack" },
+ "description": "This is an inactive EMP hack. EMP hacks are fist-sized robots that fly through the air. This one contains an EMP grenade and attacks by flying at its target and detonating. Use this item to reprogram and release the EMP hack. Electronics and computer skill determines if the targeting matrix is reprogrammed successfully.",
+ "weight": "4700 g",
+ "volume": "250 ml",
+ "price": 64500,
+ "to_hit": -3,
+ "bashing": 6,
+ "cutting": 6,
+ "material": [ "aluminum", "plastic" ],
+ "symbol": ",",
+ "color": "cyan",
+ "use_action": {
+ "type": "place_monster",
+ "monster_id": "mon_EMP_hack",
+ "friendly_msg": "The EMP hack flies from your hand and surveys the area!",
+ "hostile_msg": "You misprogram the EMP hack; take cover!",
+ "difficulty": 4,
+ "moves": 60,
+ "place_randomly": true,
+ "skill1": "electronics",
+ "skill2": "computer"
+ }
+ },
+ {
+ "id": "bot_c4_hack",
+ "type": "TOOL",
+ "name": { "str": "inactive C-4 hack" },
+ "description": "This is an inactive C-4 hack. C-4 hacks are fist-sized robots that fly through the air. This one contains some C-4 and attacks by flying at its target and detonating. Use this item to reprogram and activate the C-4 hack. Electronics and computer skill determines if the targeting matrix is reprogrammed successfully.",
+ "weight": "5870 g",
+ "volume": "1000 ml",
+ "price": 67500,
+ "to_hit": -3,
+ "bashing": 6,
+ "cutting": 6,
+ "material": [ "aluminum", "plastic" ],
+ "symbol": ",",
+ "color": "light_gray",
+ "use_action": {
+ "type": "place_monster",
+ "monster_id": "mon_c4_hack",
+ "friendly_msg": "The C-4 hack flies from your hand and surveys the area!",
+ "hostile_msg": "You misprogram the C-4 hack; take cover!",
+ "difficulty": 4,
+ "moves": 60,
+ "place_randomly": true,
+ "skill1": "electronics",
+ "skill2": "computer"
+ }
+ },
+ {
+ "id": "bot_flashbang_hack",
+ "type": "TOOL",
+ "name": { "str": "inactive flashbang hack" },
+ "description": "This is an inactive flashbang hack. Flashbang hacks are fist-sized robots that fly through the air. This one contains a flashbang and attacks by flying at its target and detonating. Use this item to reprogram and activate the flashbang hack. Electronics and computer skill determines if the targeting matrix is reprogrammed successfully.",
+ "weight": "4536 g",
+ "volume": "250 ml",
+ "price": 59500,
+ "to_hit": -3,
+ "bashing": 6,
+ "cutting": 6,
+ "material": [ "aluminum", "plastic" ],
+ "symbol": ",",
+ "color": "dark_gray",
+ "use_action": {
+ "type": "place_monster",
+ "monster_id": "mon_flashbang_hack",
+ "friendly_msg": "The flashbang hack flies from your hand and surveys the area!",
+ "hostile_msg": "You misprogram the flashbang hack; take cover!",
+ "difficulty": 4,
+ "moves": 60,
+ "place_randomly": true,
+ "skill1": "electronics",
+ "skill2": "computer"
+ }
+ },
+ {
+ "id": "bot_gasbomb_hack",
+ "type": "TOOL",
+ "name": { "str": "inactive tear gas hack" },
+ "description": "This is an inactive tear gas hack. Tear gas hacks are fist-sized robots that fly through the air. This one contains a tear gas canister and attacks by flying at its target and releasing tear gas. Use this item to reprogram and activate the tear gas hack. Electronics and computer skill determines if the targeting matrix is reprogrammed successfully.",
+ "weight": "5360 g",
+ "volume": "250 ml",
+ "price": 60500,
+ "to_hit": -3,
+ "bashing": 6,
+ "cutting": 6,
+ "material": [ "aluminum", "plastic" ],
+ "symbol": ",",
+ "color": "dark_gray",
+ "use_action": {
+ "type": "place_monster",
+ "monster_id": "mon_gasbomb_hack",
+ "friendly_msg": "The tear gas hack flies from your hand and surveys the area!",
+ "hostile_msg": "You misprogram the tear gas hack; take cover!",
+ "difficulty": 4,
+ "moves": 60,
+ "place_randomly": true,
+ "skill1": "electronics",
+ "skill2": "computer"
+ }
+ },
+ {
+ "id": "bot_manhack",
+ "type": "TOOL",
+ "name": { "str": "inactive manhack" },
+ "description": "This is an inactive manhack. Manhacks are fist-sized robots that fly through the air. They are covered with whirring blades and attack by throwing themselves against their target. Use this item to reprogram and activate the manhack. Electronics and computer skill determines if the targeting matrix is reprogrammed successfully.",
+ "weight": "5400 g",
+ "volume": "250 ml",
+ "price": 60000,
+ "to_hit": -3,
+ "bashing": 6,
+ "cutting": 6,
+ "material": [ "aluminum", "plastic" ],
+ "symbol": ",",
+ "color": "light_green",
+ "use_action": {
+ "type": "place_monster",
+ "monster_id": "mon_manhack",
+ "friendly_msg": "The manhack flies from your hand and surveys the area!",
+ "hostile_msg": "You misprogram the manhack; it's hostile!",
+ "difficulty": 4,
+ "moves": 60,
+ "place_randomly": true,
+ "skill1": "electronics",
+ "skill2": "computer"
+ }
+ },
+ {
+ "id": "bot_mininuke_hack",
+ "type": "TOOL",
+ "name": { "str": "inactive mininuke hack" },
+ "description": "This is an inactive mininuke hack. Many times as large as a normal manhack, a mininuke hack contains a mininuke and attack by flying at their target and detonating. Use this item to reprogram and activate the mininuke hack. Electronics and computer skill determines if the targeting matrix is reprogrammed successfully.",
+ "weight": "25000 g",
+ "volume": "16000 ml",
+ "price": 2677500,
+ "to_hit": -3,
+ "bashing": 6,
+ "cutting": 6,
+ "material": [ "aluminum", "plastic" ],
+ "symbol": ",",
+ "color": "magenta",
+ "use_action": {
+ "type": "place_monster",
+ "monster_id": "mon_mininuke_hack",
+ "friendly_msg": "The mininuke hack floats from your hand and surveys the area!",
+ "hostile_msg": "You misprogram the mininuke hack. Pray.",
+ "difficulty": 5,
+ "moves": 60,
+ "place_randomly": true,
+ "skill1": "electronics",
+ "skill2": "computer"
+ }
+ }
+]
diff --git a/modinfo.json b/modinfo.json
new file mode 100644
index 0000000..bbb7040
--- /dev/null
+++ b/modinfo.json
@@ -0,0 +1,11 @@
+[
+ {
+ "type": "MOD_INFO",
+ "ident": "hack_volume_fix",
+ "name": "Hack Volume Hotfix",
+ "authors": ["jc_gargma"],
+ "description": "Fix the mass of several hack items to use a more balanced volume.",
+ "category": "rebalance",
+ "dependencies": [ "dda" ]
+ }
+]