Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Xedra Evolved ] New Combat Bionics #79443

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions data/mods/Xedra_Evolved/body_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,52 @@
"opposite": "devil_tail_tip",
"name": "devil's tail tip",
"name_multiple": "devil's tail tips"
},
{
"id": "combat_chassis",
"type": "body_part",
"name": "combat chassis",
"accusative": { "ctxt": "bodypart_accusative", "str": "combat chassis" },
"heading": "combat chassis",
"heading_multiple": "combat chassis",
"main_part": "combat_chassis",
"connected_to": "torso",
"opposite_part": "combat_chassis",
"hp_bar_ui_text": "C. CHASSIS",
"hit_size": 30,
"hit_difficulty": 1.2,
"side": "both",
"base_hp": 50,
"drench_capacity": 700,
"bionic_slots": 60,
"flags": [ "LIMB_UPPER" ],
"effects_on_hit": [
{
"id": "bleed",
"dmg_type": "cut",
"dmg_threshold": 5,
"dmg_scale_increment": 2,
"duration": 60,
"duration_dmg_scaling": 30,
"max_duration": 960
},
{
"id": "bleed",
"dmg_type": "stab",
"dmg_threshold": 1,
"dmg_scale_increment": 1.5,
"duration": 60,
"duration_dmg_scaling": 60,
"max_duration": 1200
},
{
"id": "bleed",
"dmg_type": "bullet",
"dmg_threshold": 1,
"dmg_scale_increment": 1,
"duration": 60,
"duration_dmg_scaling": 60
}
]
}
]
9 changes: 9 additions & 0 deletions data/mods/Xedra_Evolved/enchantments/cbm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"type": "enchantment",
"id": "ENCH_COMBAT_CHASSIS",
"condition": "ALWAYS",
"values": [ { "values": [ { "value": "MAX_HP", "add": 50 } ],
"modified_bodyparts": [ { "gain": "combat_chassis" } ]
}
]
41 changes: 41 additions & 0 deletions data/mods/Xedra_Evolved/items/armor/energy_shield.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"id": "xe_nether_shell",
"type": "TOOL_ARMOR",
"name": { "str": "Nether Shell" },
"description": "A thin shell of Netherium energy. A Nether shell can defend against a wide variety of physical and energy attacks, but can be overwhelmed and forced to collapse into deadly radiation with prolonged assault.",
"weight": "1 g",
"volume": "1 ml",
"symbol": "o",
"color": "blue",
"material": [ "nether_energy" ],
"environmental_protection": 20,
"material_thickness": 5.0,
"max_energy_shield_hp": 1200,
"flags": [
"AURA",
"ENERGY_SHIELD",
"OVERSIZE",
"ONLY_ONE",
"TRADER_AVOID",
"NO_TAKEOFF",
"NONCONDUCTIVE",
"SPAWN_ACTIVE",
"ALLOWS_NATURAL_ATTACKS",
"SEMITANGIBLE",
"POWERARMOR_COMPATIBLE",
"UNRESTRICTED"
],
"tick_action": {
"type": "effect_on_conditions",
"effect_on_conditions": [ { "id": "_xe_energy_shield", "effect": { "run_eocs": "EOC_xe_do_shield" } } ]
},
"armor": [
{
"encumbrance": 0,
"coverage": 100,
"covers": [ "leg_l", "leg_r", "torso", "arm_l", "arm_r", "hand_l", "hand_r", "head", "foot_l", "foot_r", "mouth", "eyes" ]
}
]
}
]
22 changes: 22 additions & 0 deletions data/mods/Xedra_Evolved/items/cbm_pseudo_items.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"id": "xe_micro_missiles",
"type": "GUN",
"name": { "str": "micro-missile launcher" },
"description": "A micro-missile launcher designed to fit on the combat cyborg chassis. It can fire 4 micro-missiles before reloading.",
"volume": "2250 ml",
"price": "750 USD",
"material": [ "steel", "plastic" ],
"symbol": "(",
"looks_like": "bio_int_enhancer",
"color": "magenta",
"skill": "launcher",
"ammo": [ "273x44" ],
"dispersion": 190,
"durability": 6,
"clip_size": 4,
"reload": 150,
"flags": [ "NEVER_JAMS", "BIONIC_WEAPON", "TRADER_AVOID", "ZERO_WEIGHT" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "273x44": 4 } } ]
}
]
17 changes: 17 additions & 0 deletions data/mods/Xedra_Evolved/material.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,23 @@
],
"fuel_data": { "energy": "100 kJ" }
},
{
"type": "material",
"id": "nether_energy",
"name": "Nether energy",
"density": 1,
"specific_heat_liquid": 0.52,
"specific_heat_solid": 0.52,
"latent_heat": 5200,
"chip_resist": 100,
"breathability": "SECOND_SKIN",
"dmg_adj": [ "wyrd", "acromatic", "hermetic", "orphic" ],
"bash_dmg_verb": "obfuscated",
"cut_dmg_verb": "obfuscated",
"soft": true,
"//": "Impenetrable to all damage types. The material energy shields are made of in XE.",
"resist": { "bash": 1000, "cut": 1000, "acid": 1000, "heat": 1000, "bullet": 1000, "afs_plasma": 1000, "electric": 1000 }
},
{
"type": "material",
"id": "elemental_water",
Expand Down
48 changes: 48 additions & 0 deletions data/mods/Xedra_Evolved/player/cbm_eoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,53 @@
"targeted": true
}
]
},
{
"id": "EOC_xe_bio_start_shell",
"type": "effect_on_condition",
"effect": [
{
"if": { "not": { "u_has_worn_with_flag": "ENERGY_SHIELD" } },
"then": [
{ "u_cast_spell": { "id": "spawn_shell", "hit_self": true } },
{ "u_message": { "context_val": "success_message" } },
{ "math": [ "_shield_uid = rand(1200)" ] },
{ "math": [ "u_shield_gen_uid = _shield_uid" ] },
{ "math": [ "u_shield_power_ratio = u_val('power_percentage')" ] },
{
"u_run_inv_eocs": "all",
"search_data": [ { "id": [ "afs_energy_shield" ] } ],
"true_eocs": [
{
"id": "_BIO_SHIELD_SETUP",
"effect": [
{ "math": [ "n_shield_uid = _shield_uid" ] },
{ "math": [ "n_shield_is_bionic = 1" ] },
{ "math": [ "n_shield_turn = 0" ] },
{ "math": [ "n_SHIELD_REGEN = 0" ] },
{ "math": [ "n_SHIELD_REGEN_RATE = 0" ] },
{ "math": [ "n_ENERGY_SHIELD_HP = _shield_max_hp*0.1" ] },
{ "math": [ "n_ENERGY_SHIELD_MAX_HP = _shield_max_hp" ] },
{ "math": [ "n_SHIELD_REGEN = _shield_regen" ] },
{ "math": [ "n_SHIELD_REGEN_RATE = shield_regen_rate" ] },
{ "math": [ "u_shield_ratio = n_ENERGY_SHIELD_HP/n_ENERGY_SHIELD_MAX_HP" ] }
]
}
]
}
],
"else": { "u_message": { "context_val": "failure_message" } }
}
]
},
{
"id": "EOC_bio_stop_shell",
"type": "effect_on_condition",
"effect": [ { "u_remove_item_with": "afs_energy_shield" }, { "math": [ "u_shield_ratio = -1" ] } ]
},
{
"id": "EOC_bio_update_ui",
"type": "effect_on_condition",
"effect": { "math": [ "u_shield_power_ratio = u_val('power_percentage')" ] }
}
]
16 changes: 16 additions & 0 deletions data/mods/Xedra_Evolved/player/cbm_spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,21 @@
"shape": "blast",
"effect": "summon",
"effect_str": "GROUP_GIANT_BATS"
},
{
"id": "spawn_shell",
"type": "SPELL",
"name": "Spawn Nether Shell",
"description": "Creates a shell of netherium energy.",
"valid_targets": [ "self" ],
"flags": [ "VERBAL", "NO_FAIL", "CONCENTRATE", "SOMATIC", "PERMANENT_ALL_LEVELS", "NO_EXPLOSION_SFX" ],
"min_range": 0,
"max_range": 0,
"min_damage": 1,
"max_damage": 1,
"effect": "spawn_item",
"effect_str": "xe_nether_shell",
"shape": "blast",
"max_level": 1
}
]
105 changes: 105 additions & 0 deletions data/mods/Xedra_Evolved/player/jotunn_bionics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
[
{
"id": "xe_jotunn_chassis",
"name": "Heavy Combat Chassis",
"weight": "100 kg",
"price": "15000 USD",
"description": "A pristine chassis for Exodii combat units collaquially referred to on this Earth as Jotunn. A requirement for many heavy weapons that cannot be mounted on a standard bionic chassis or unaugmented body. Impossible to salvage from a corpse post installation these units are manufactured sparingly by most Exodii nodes. Installing this CBM will drastically alter the chakras, meridians, mystical pathways, soul, whatever thing inside of a person that allows them to use magick. It will remove your magickal abilities or if you are irreversibly supernatural, fail to install.",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"canceled_mutations": [
"VAMPIRE",
"VAMPIRE2",
"VAMPIRE3",
"EATER",
"DREAMER",
"INVENTOR",
"DREAMSMITH",
"JEKYLL",
"STRONGBACK",
"ROBUST",
"BADBACK",
"REGEN",
"WINGS_BIRD",
"WINGS_INSECT",
"LARGE",
"LARGE_OK",
"HUGE_OK",
"HUGE",
"WINGS_BAT",
"WINGS_BUTTERFLY",
"ACIDBLOOD"
],
"mutation_conflicts": [
"VAMPIRE4",
"VAMPIRE5",
"BOVINE_BULK",
"BOVINE_BULK2",
"NOHEAL",
"SLOWHEALER3",
"FLIMSY3",
"FLIMSY2",
"REGEN_LIZ",
"CHITIN",
"CHITIN2",
"CHITIN3",
"CHITIN_FUR",
"CHITIN_FUR2",
"CHITIN_FUR3",
"CHITIN_MOLTED",
"CHITIN_MOLTED2",
"CHITIN_MOLTED3",
"CRUSTACEAN_CARAPACE",
"CRUSTACEAN_CARAPACE_MOLTED",
"GASTROPOD_FOOT",
"AMORPHOUS",
"SMALL",
"SMALL2",
"SMALL_OK",
"SHELL",
"SHELL2",
"SHELL3"
],
"cant_remove_reason": "This CBM has replaced so much of your body that you couldn't survive it's removal.",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"enchantments": [ "ENCH_COMBAT_CHASSIS" ]
},
{
"id": "xe_micro_missiles",
"type": "bionic",
"name": { "str": "Micro Missile Launcher" },
"description": "A chassis mounted micro-missile rack provides you with four shots before it must be reloaded. It requires a combat chassis to mount but you can choose to stack as many as will fit.",
"occupied_bodyparts": [ [ "combat_chassis", 8 ] ],
"dupes_allowed": true,
"fake_weapon": "xe_micro_missiles",
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "NO_UNWIELD" ],
"act_cost": "15 J"
},
{
"id": "xe_energetic_shell",
"type": "bionic",
"name": { "str": "Vafþrúðnir's Shell" },
"description": "A design pulled from deep in a nether labyrinth, Vafþrúðnir supposedly traded his sanity for this design to keep his people safe after his passing.\n\nActivating the shield will create a shell crafted of riddles from languages across the dimensions capable of negating a modest amount of damage.",
"occupied_bodyparts": [ [ "combat_chassis", 15 ] ],
"active_flags": [ "BIO_SHIELD_ACTIVE" ],
"act_cost": "10 kJ",
"react_cost": "1 kJ",
"time": "1 s",
"flags": [ "BIONIC_TOGGLED" ],
"activated_eocs": [
{
"id": "bio_vafþrúðnir_shell_activate",
"effect": {
"run_eocs": "EOC_xe_bio_start_shell",
"variables": {
"shield_max_hp": "120",
"shield_regen": "1",
"shield_regen_rate": "2",
"success_message": "A shell of words materializes between you and the world.",
"failure_message": "What do you wish to have but lack? What could protect you now but won't?"
}
}
}
],
"processed_eocs": [ "EOC_bio_update_ui" ],
"deactivated_eocs": [ "EOC_bio_stop_shell" ]
}
]
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved

Loading