From b63b941515ce7dba934e2c492f0aa3a90efed1c1 Mon Sep 17 00:00:00 2001 From: John Candlebury Date: Mon, 6 Jan 2020 23:18:03 -0600 Subject: [PATCH] Corporate Infiltrator Caster tweaks Tweak --- data/mods/Aftershock/items/armor.json | 13 +++ .../Aftershock/items/cast_spell_items.json | 66 +++++++++++++ data/mods/Aftershock/items/gun/5x50.json | 24 +++++ data/mods/Aftershock/player/professions.json | 41 +++++++++ .../Aftershock/spells/hologram_spells.json | 92 +++++++++++++++++++ 5 files changed, 236 insertions(+) create mode 100644 data/mods/Aftershock/items/cast_spell_items.json create mode 100644 data/mods/Aftershock/items/gun/5x50.json create mode 100644 data/mods/Aftershock/spells/hologram_spells.json diff --git a/data/mods/Aftershock/items/armor.json b/data/mods/Aftershock/items/armor.json index 00de3dbd548a1..f0aec8f9a3b08 100644 --- a/data/mods/Aftershock/items/armor.json +++ b/data/mods/Aftershock/items/armor.json @@ -277,6 +277,19 @@ }, "flags": [ "STURDY", "OUTER" ] }, + { + "id": "afs_holo_cloak_mk2", + "type": "TOOL_ARMOR", + "copy-from": "afs_sentinel_cloak", + "name": "hologram cloak mk.2", + "description": " A, when activated, will create an holographic decoy of its wearer. Powered by an experimental n-space energy generator, it slowly recharges itself for free, probably by syphoning excess energy from some unknown hyperdimensional space.", + "max_charges": 15, + "initial_charges": 15, + "charges_per_use": 1, + "use_action": "DIRECTIONAL_HOLOGRAM", + "artifact_data": { "charge_type": "ARTC_TIME" }, + "flags": [ "OVERSIZEs", "HOOD", "WATERPROOF", "STURDY", "OUTER", "NO_UNLOAD", "NO_RELOAD" ] + }, { "id": "afs_sentinel_cloak", "type": "ARMOR", diff --git a/data/mods/Aftershock/items/cast_spell_items.json b/data/mods/Aftershock/items/cast_spell_items.json new file mode 100644 index 0000000000000..f5d94b8d4a019 --- /dev/null +++ b/data/mods/Aftershock/items/cast_spell_items.json @@ -0,0 +1,66 @@ +[ + { + "abstract": "afs_caster", + "type": "TOOL_ARMOR", + "name": "caster", + "description": "A generic techno doodad used to cast spells.", + "weight": "100 g", + "volume": "250 ml", + "price": 5000, + "material": [ "superalloy" ], + "symbol": "[", + "color": "light_red", + "covers": [ "TORSO" ], + "coverage": 0, + "warmth": 0, + "flags": [ "WATER_FRIENDLY", "ALLOWS_NATURAL_ATTACKS", "ONLY_ONE", "TORSO" ] + }, + { + "id": "afs_holo_transposition_caster", + "type": "TOOL_ARMOR", + "name": "hologram transposition caster", + "copy-from": "afs_caster", + "description": "A small metallic sphere with a recessed bottom up top. When activated it will allow you to swap positions with an existing hologram.", + "max_charges": 15, + "initial_charges": 15, + "charges_per_use": 1, + "artifact_data": { "charge_type": "ARTC_TIME" }, + "use_action": { "type": "cast_spell", "spell_id": "afs_holo_transposition", "no_fail": true, "level": 1 } + }, + { + "id": "afs_holo_flare_caster", + "type": "TOOL_ARMOR", + "copy-from": "afs_caster", + "name": "hologram flare caster", + "description": "A small metallic sphere with a recessed bottom up top. When activated it will allow you to select an hologram, which will explode in a blinding flash, stunning anything nearby.", + "max_charges": 15, + "initial_charges": 15, + "charges_per_use": 1, + "artifact_data": { "charge_type": "ARTC_TIME" }, + "use_action": { "type": "cast_spell", "spell_id": "afs_holo_flare", "no_fail": true, "level": 1 } + }, + { + "id": "afs_holo_decoy_caster", + "type": "TOOL_ARMOR", + "copy-from": "afs_caster", + "name": "decoy caster", + "description": "A small metallic sphere with a recessed bottom up top. When activated it will a holographic decoy in a location of your choosing.", + "max_charges": 2, + "initial_charges": 2, + "charges_per_use": 1, + "artifact_data": { "charge_type": "ARTC_TIME" }, + "use_action": { "type": "cast_spell", "spell_id": "afs_holo_decoy", "no_fail": true, "level": 1 } + }, + { + "id": "afs_holo_field_caster", + "type": "TOOL_ARMOR", + "copy-from": "afs_caster", + "name": "decoy field caster", + "description": "A small metallic sphere with a recessed bottom up top. When activated it will create several holographic decoys around you.", + "max_charges": 1, + "initial_charges": 1, + "charges_per_use": 1, + "artifact_data": { "charge_type": "ARTC_TIME" }, + "use_action": { "type": "cast_spell", "spell_id": "afs_holo_field", "no_fail": true, "level": 1 } + } +] diff --git a/data/mods/Aftershock/items/gun/5x50.json b/data/mods/Aftershock/items/gun/5x50.json new file mode 100644 index 0000000000000..e2514b0b641d1 --- /dev/null +++ b/data/mods/Aftershock/items/gun/5x50.json @@ -0,0 +1,24 @@ +{ + "id": "afs_eidolon_derringer", + "type": "GUN", + "copy-from": "needlepistol", + "name": "eidolon derringer", + "volume": "500 ml", + "description": "A slick, miniature derringer designed as a backup weapon for covert operations and close range assassination. It will fire up to four 5x50mm penetrators simultaneously, to devastating effect.", + "dispersion": 410, + "range": -48, + "valid_mod_locations": [ + [ "accessories", 2 ] + ], + "modes": [ + [ "DEFAULT", "1 rd.", 1 ], + [ "MULTI", "4 rd.", 4 ] + ], + "clip_size": 4, + "flags": [ + "NEVER_JAMS", + "RELOAD_ONE", + "NEVER_JAMS", + "RELOAD_EJECT" + ] +} diff --git a/data/mods/Aftershock/player/professions.json b/data/mods/Aftershock/player/professions.json index 27d21f1b0159e..71a4266ce0769 100644 --- a/data/mods/Aftershock/player/professions.json +++ b/data/mods/Aftershock/player/professions.json @@ -253,6 +253,47 @@ "female": [ "panties", "hairpin", "pearl_collar" ] } }, + { + "type": "profession", + "ident": "afs_holo_fighter", + "name": "Corporate Infiltrator", + "description": "Before all this, you were an 'independent contractor', a spy and mercenary at the service of megacorporations. Using highly experimental holographic technology, you once took on impossible jobs one after the other.", + "points": 8, + "skills": [ + { "level": 4, "name": "gun" }, + { "level": 4, "name": "pistol" }, + { "level": 4, "name": "cutting" }, + { "level": 2, "name": "melee" }, + { "level": 2, "name": "dodge" }, + { "level": 1, "name": "firstaid" } + ], + "items": { + "both": { + "items": [ + "under_armor", + "under_armor_shorts", + "gloves_leather", + "pants_cargo", + "socks", + "boots_combat", + "gloves_leather", + "webbing_belt", + "sweater", + "powered_earmuffs", + "afs_holo_transposition_caster", + "afs_holo_decoy_caster", + "afs_holo_field_caster", + "afs_holo_flare_caster", + "afs_holo_cloak_mk2" + ], + "entries": [ + { "item": "kukri", "container-item": "sheath" }, + { "item": "afs_eidolon_derringer", "ammo-item": "5x50heavy", "charges": 4, "container-item": "holster" }, + { "item": "5x50heavy" } + ] + } + } + }, { "type": "profession", "ident": "afs_affluent_executive", diff --git a/data/mods/Aftershock/spells/hologram_spells.json b/data/mods/Aftershock/spells/hologram_spells.json new file mode 100644 index 0000000000000..9c713b8dea906 --- /dev/null +++ b/data/mods/Aftershock/spells/hologram_spells.json @@ -0,0 +1,92 @@ +[ + { + "id": "afs_holo_field", + "type": "SPELL", + "name": "Holographic Field", + "description": "Creates several short-lived holograms around you.", + "valid_targets": [ "ground" ], + "flags": [ "SILENT" ], + "effect": "summon", + "effect_str": "mon_hologram", + "max_level": 1, + "base_casting_time": 10, + "min_damage": 10, + "max_damage": 10, + "min_aoe": 5, + "max_aoe": 5, + "min_duration": 4000 + }, + { + "id": "afs_holo_decoy", + "type": "SPELL", + "name": "Holographic Decoy", + "description": "Creates a short-lived hologram.", + "valid_targets": [ "ground" ], + "flags": [ "SILENT" ], + "effect": "summon", + "effect_str": "mon_hologram", + "max_level": 1, + "base_casting_time": 10, + "min_range": 10, + "max_range": 10, + "min_damage": 1, + "max_damage": 1, + "min_aoe": 1, + "max_aoe": 1, + "min_duration": 4000 + }, + { + "id": "afs_holo_flare", + "type": "SPELL", + "name": "Holographic Flash", + "description": "Causes an existing hologram to explode into burning light, harming and stunning enemies close to it.", + "effect": "target_attack", + "valid_targets": [ "hostile", "ally" ], + "targeted_monster_ids": [ "mon_hologram" ], + "max_level": 1, + "flags": [ "SILENT" ], + "min_damage": 2, + "max_damage": 2, + "base_casting_time": 10, + "min_range": 20, + "max_range": 20, + "difficulty": 1, + "extra_effects": [ { "id": "afs_holo_flare_explosion" } ], + "damage_type": "none" + }, + { + "id": "afs_holo_flare_explosion", + "type": "SPELL", + "name": "Holographic Flash Explosion", + "description": "Causes an existing hologram to explode into burning light, harming and stunning enemies close to it.", + "valid_targets": [ "hostile", "ground", "ally" ], + "effect": "target_attack", + "effect_str": "stunned", + "min_duration": 1000, + "max_duration": 1000, + "max_level": 1, + "min_damage": 20, + "max_damage": 20, + "min_aoe": 3, + "max_aoe": 3, + "spell_class": "NONE", + "flags": [ "SILENT" ], + "base_casting_time": 0, + "damage_type": "none", + "difficulty": 1 + }, + { + "id": "afs_holo_transposition", + "type": "SPELL", + "name": "Holographic Transposition", + "description": "Allows you to swap places with a previously existing holographic image of yourself. If the universe itself can't tell you apart, who could?", + "valid_targets": [ "hostile", "ally" ], + "targeted_monster_ids": [ "mon_hologram" ], + "flags": [ "SILENT", "SWAP_POS" ], + "effect": "target_attack", + "max_level": 1, + "base_casting_time": 10, + "min_range": 20, + "max_range": 20 + } +]