Skip to content

Commit

Permalink
Merge pull request #36768 from John-Candlebury/holo-fighter
Browse files Browse the repository at this point in the history
Aftershock Corporate Infiltrator
  • Loading branch information
ZhilkinSerg authored Jan 8, 2020
2 parents b6c48d8 + b63b941 commit a9432ab
Show file tree
Hide file tree
Showing 5 changed files with 236 additions and 0 deletions.
13 changes: 13 additions & 0 deletions data/mods/Aftershock/items/armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
66 changes: 66 additions & 0 deletions data/mods/Aftershock/items/cast_spell_items.json
Original file line number Diff line number Diff line change
@@ -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 }
}
]
24 changes: 24 additions & 0 deletions data/mods/Aftershock/items/gun/5x50.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
41 changes: 41 additions & 0 deletions data/mods/Aftershock/player/professions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
92 changes: 92 additions & 0 deletions data/mods/Aftershock/spells/hologram_spells.json
Original file line number Diff line number Diff line change
@@ -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
}
]

0 comments on commit a9432ab

Please sign in to comment.