Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
53 changes: 53 additions & 0 deletions data/mods/Xedra_Evolved/body_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,58 @@
"limb_type": "sensor",
"limb_scores": [ [ "vision", 1.0 ], [ "night_vis", 1.0 ], [ "reaction", 0.7 ] ],
"similar_bodyparts": [ "gracken_eyes", "stalker_eyes" ]
},
{
"id": "assist_arm_r",
"type": "body_part",
"name": "right assistant's arm",
"name_multiple": "right assistant's arms",
"accusative": { "ctxt": "bodypart_accusative", "str": "right assistant's arm" },
"accusative_multiple": { "ctxt": "bodypart_accusative", "str": "right assistant's arms" },
"heading": "r. assist arm",
"heading_multiple": "assist arms",
"encumbrance_text": "Crafting is hampered.",
"hp_bar_ui_text": "R A ARM",
"main_part": "assist_arm_r",
"connected_to": "torso",
"opposite_part": "assist_arm_l",
"hit_size": 13,
"hit_difficulty": 0.95,
"limb_type": "arm",
"flags": [ "IGNORE_TEMP", "BIONIC_LIMB" ],
"side": "right",
"sub_parts": [ "assist_hand" ],
"drench_capacity": 0,
"is_limb": true,
"base_hp": 25
},
{
"id": "assist_arm_l",
"copy-from": "karma_arm_up_r",
"type": "body_part",
"name": "left assistant's arm",
"name_multiple": "left assistant's arms",
"accusative": { "ctxt": "bodypart_accusative", "str": "left assistant's arm" },
"accusative_multiple": { "ctxt": "bodypart_accusative", "str": "left assistant's arms" },
"heading": "l. assist arm",
"heading_multiple": "assist arms",
"encumbrance_text": "Crafting is hampered.",
"hp_bar_ui_text": "L A ARM",
"main_part": "assist_arm_l",
"connected_to": "torso",
"limb_type": "arm",
"opposite_part": "assist_arm_r",
"side": "left",
"sub_parts": [ "assist_hand" ]
},
{
"id": "assist_hand",
"type": "sub_body_part",
"max_coverage": 10,
"parent": "bp_null",
"side": 1,
"opposite": "assist_hand",
"name": "assistant's hand",
"name_multiple": "assistant's hands"
}
]
12 changes: 12 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -4234,5 +4234,17 @@
"id": "effect_xe_werewolf_summon_shadow_pack_limiter",
"name": [ "Summoned the Shadow Pack" ],
"desc": [ "You called on the aid of ancestral werewolves and must wait before seeking their aid again." ]
},
{
"type": "effect_type",
"id": "effect_oxygen_jelly_long",
"name": [ "Long-release Oxyjelly" ],
"desc": [ "The Oxyjelly you used is keeping you from drowning." ],
"remove_message": "Your Oxyjelly has ran out.",
"decay_messages": [ [ "Your Oxyjelly is running out.", "bad" ] ],
"max_duration": "2 h",
"max_intensity": 120,
"int_dur_factor": "1 m",
"flags": [ "GILLS", "EYE_MEMBRANE" ]
}
]
68 changes: 66 additions & 2 deletions data/mods/Xedra_Evolved/eocs/inventor.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"software_math_inventor",
"software_electronics_reference_inventor",
"combatsaw_spear_off",
"inventor_carry_hands",
"inventor_water_purifier",
"inventor_coffee",
"inventor_gaming_rig",
"inventor_research_base_2"
],
"type": "recipe",
Expand Down Expand Up @@ -75,6 +79,7 @@
"trinket_sound",
"choke_wideshot",
"mod_inv_pistol_booster",
"inventor_oxygen_jelly_machine",
"inventor_research_base_3",
"inventor_research_energy_1",
"software_AI",
Expand Down Expand Up @@ -122,7 +127,8 @@
"stunning_arg_trap",
"inventor_fists_plus",
"inventor_plasma_axe_off",
"inventor_research_energy_1"
"inventor_research_energy_1",
"inventor_research_bionic"
],
"type": "recipe",
"true_eocs": [ "EOC_INVENTOR_MESSAGE_GOOD" ],
Expand All @@ -144,6 +150,47 @@
{ "math": [ "u_vitamin('creative_spark_research') += 3" ] }
]
},
{
"type": "effect_on_condition",
"id": "EOC_INVENTOR_RESEARCH_BIONIC",
"condition": {
"and": [
{ "math": [ "u_vitamin('creative_spark_research') >= base_difficulty_3" ] },
{ "test_eoc": "EOC_CONDITION_BANNED_DREAM_MAGIC_TRAITS" }
]
},
"effect": [
{ "math": [ "u_vitamin('creative_spark_research') -= base_difficulty_3" ] },
{ "math": [ "base_difficulty_3 += 4" ] },
{ "run_eocs": "EOC_INVENTOR_PROCESS_SPARKS" },
{
"u_roll_remainder": [
"bio_inventor_rad_boost",
"bio_inventor_mana_kj_penalty_switch",
"bio_inventor_calorie_storage",
"bio_inventor_creative_fuel",
"bio_inventor_book_burn_boost"
],
"type": "recipe",
"true_eocs": [ "EOC_INVENTOR_MESSAGE_GOOD" ],
"false_eocs": {
"id": "EOC_REMOVE_RESEARCH_BIONIC",
"effect": [
{ "u_forget_recipe": "inventor_research_bionic" },
{
"u_message": "You reach the limit of what can be done at this level. It is time to move forward.",
"type": "info"
}
]
}
}
],
"false_effect": [
{ "u_message": "inventor_fail", "snippet": true, "type": "bad" },
{ "run_eocs": "EOC_INVENTOR_PROCESS_SPARKS" },
{ "math": [ "u_vitamin('creative_spark_research') += 3" ] }
]
},
{
"type": "effect_on_condition",
"id": "EOC_INVENTOR_RESEARCH_ENERGY_1",
Expand Down Expand Up @@ -309,7 +356,7 @@
{ "math": [ "AI_difficulty_1 += 5" ] },
{ "run_eocs": "EOC_INVENTOR_PROCESS_SPARKS" },
{
"u_roll_remainder": [ "bot_sniperbot", "bot_shotgunbot", "bot_meleebot" ],
"u_roll_remainder": [ "bot_sniperbot", "bot_shotgunbot", "bot_meleebot", "crafting_assistant", "bot_bitebot" ],
"type": "recipe",
"true_eocs": [ "EOC_INVENTOR_MESSAGE_GOOD" ],
"false_eocs": {
Expand Down Expand Up @@ -431,5 +478,22 @@
}
]
}
},
{
"type": "effect_on_condition",
"id": "EOC_INVENTOR_SLEEP_GAMING",
"eoc_type": "EVENT",
"required_event": "character_wakes_up",
"condition": { "u_has_item": "inventor_gaming_rig_on" },
"effect": [
{ "math": [ "morale_game_inventor = 3 * u_skill('deduction')" ] },
{
"u_add_morale": "morale_game",
"bonus": { "math": [ "morale_game_inventor" ] },
"max_bonus": { "math": [ "morale_game_inventor" ] },
"duration": "30 minutes",
"decay_start": "15 minutes"
}
]
}
]
8 changes: 8 additions & 0 deletions data/mods/Xedra_Evolved/eocs/item_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,13 @@
"type": "effect_on_condition",
"id": "EOC_DAGWOOD",
"effect": [ { "u_cast_spell": { "id": "cosmic_dagwood_regeneration" } } ]
},
{
"type": "effect_on_condition",
"id": "EOC_DRINK_THIRSTTROUNCER",
"eoc_type": "EVENT",
"required_event": "character_consumes_item",
"condition": { "compare_string": [ "water_thirsttrouncer", { "context_val": "itype" } ] },
"effect": [ { "u_add_effect": "xe_hydrating_gout", "duration": { "math": [ "8400 + rand(8400)" ] } } ]
}
]
1 change: 0 additions & 1 deletion data/mods/Xedra_Evolved/eocs/misc_eoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@
"type": "effect_on_condition",
"id": "HYDRATING_GOUT_SYMPTOMS_START",
"condition": { "u_has_effect": "xe_hydrating_gout_incubation" },
"//": "The illness was supposed to last 1-2 days, but until deydration through consumables is possible it will last far less time.",
"effect": [
{ "u_add_effect": "xe_hydrating_gout", "duration": { "math": [ "8400 + rand(8400)" ] } },
{ "u_lose_effect": "xe_hydrating_gout_incubation" }
Expand Down
84 changes: 84 additions & 0 deletions data/mods/Xedra_Evolved/items/inventor/armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,33 @@
}
]
},
{
"id": "inventor_carry_hands",
"copy-from": "molle_medium_rucksack",
"type": "ITEM",
"subtypes": [ "ARMOR" ],
"name": { "str_sp": "Carry-Hands" },
"description": "A passive exoskeleton consisting of two metal arms ready to hold anything. The arms refuse to hold more than a single thing at a time and won't make it easier to carry heavy items.",
"material": [ "steel" ],
"symbol": "[",
"looks_like": "clamp",
"color": "light_gray",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"max_contains_volume": "5000 L",
"max_contains_weight": "5000 kg",
"max_item_length": "5000 cm",
"//": "Contain a single big item. No weight reduction.",
"moves": 100,
"holster": true
}
],
"warmth": 0,
"material_thickness": 2,
"flags": [ "MORPHIC", "BELTED", "WATER_FRIENDLY", "MUNDANE", "INVENTOR_CRAFTED" ],
"armor": [ { "encumbrance": [ 2, 50 ], "coverage": 20, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ]
},
{
"type": "ITEM",
"subtypes": [ "ARMOR" ],
Expand Down Expand Up @@ -685,6 +712,63 @@
"flags": [ "MORPHIC", "BELTED", "OVERSIZE", "MUNDANE", "INVENTOR_CRAFTED", "TARDIS" ],
"armor": [ { "encumbrance": 1, "coverage": 5, "covers": [ "torso" ], "specifically_covers": [ "torso_upper" ] } ]
},
{
"id": "crafting_assistant",
"type": "ITEM",
"subtypes": [ "TOOL", "ARMOR" ],
"category": "armor",
"name": { "str": "Crafting Assistant Robot" },
"description": "A bulky wearable robot that significantly helps with all crafting tasks while powered. It has some strange obsession with frequently taking apart and reassembling its own arms and its programming is far too focused on creation and disassembly for it to have any combat or destructive use.",
"weight": "7500 g",
"volume": "5550 ml",
"looks_like": "bot_nursebot",
"material": [ "steel", "aluminum" ],
"symbol": "[",
"color": "light_gray",
"use_action": [
{
"target": "crafting_assistant_on",
"need_charges": 1,
"active": true,
"msg": "The assistant deploys its new arms, ready to help with crafting.",
"type": "transform"
}
],
"pocket_data": [
{
"pocket_type": "MAGAZINE_WELL",
"rigid": true,
"airtight": true,
"watertight": true,
"flag_restriction": [ "BATTERY_MEDIUM", "BATTERY_HEAVY" ],
"max_contains_volume": "20 L",
"max_contains_weight": "20 kg",
"default_magazine": "medium_battery_cell"
}
],
"flags": [ "MORPHIC", "BELTED", "ALLOWS_NATURAL_ATTACKS", "WATER_FRIENDLY", "OVERSIZE", "ELECTRONIC", "INVENTOR_CRAFTED" ],
"faults": [ { "fault_group": "electronic_general" } ],
"armor": [ { "coverage": 50, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ],
"tool_ammo": [ "battery" ]
},
{
"id": "crafting_assistant_on",
"type": "ITEM",
"subtypes": [ "TOOL", "ARMOR" ],
"copy-from": "crafting_assistant",
"name": { "str": "Crafting Assistant Robot (on)" },

Check failure on line 759 in data/mods/Xedra_Evolved/items/inventor/armor.json

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang oldest supported, Ubuntu, Curses)

(all_mods)=> Cannot autogenerate plural form. Please specify the plural form explicitly using 'str' and 'str_pl', or 'str_sp' if the singular and plural forms are the same. "subtypes": [ "TOOL", "ARMOR" ], "copy-from": "crafting_assistant", "name": { "str": "Crafting Assistant Robot (on)" }, ▲▲▲ "power_draw": "1550 W", "revert_to": "crafting_assistant",
"power_draw": "1550 W",
"revert_to": "crafting_assistant",
"use_action": [
{
"ammo_scale": 0,
"target": "crafting_assistant",
"msg": "The assistant retracts and recycles its arms.",
"type": "transform"
}
],
"enchantments": [ { "mutations": [ "CRAFTING_ASSISTANT_ARMS" ] } ]

Check failure on line 770 in data/mods/Xedra_Evolved/items/inventor/armor.json

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang oldest supported, Ubuntu, Curses)

(all_mods)=> Unread data. Invalid or misplaced field name "enchantments" in JSON data } ], "enchantments": [ { "mutations": [ "CRAFTING_ASSISTANT_ARMS" ] } ] ▲▲▲ }, {
},
{
"id": "xedra_inventor_damage_reversal_device",
"type": "ITEM",
Expand Down
19 changes: 19 additions & 0 deletions data/mods/Xedra_Evolved/items/inventor/bots.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,24 @@
"skills": [ "deduction", "electronics", "computer" ]
},
"flags": [ "SINGLE_USE", "INVENTOR_CRAFTED" ]
},
{
"id": "bot_bitebot",
"type": "ITEM",
"subtypes": [ "TOOL" ],
"name": { "str": "inactive bitebot" },
"description": "A compressed biting sentry. Ludicrous, physical law violating compression allows you to fit them into a small metal cylinder, but the weight compression is not as effective.",
"weight": "5 kg",
"volume": "500 ml",
"symbol": ";",
"color": "red",
"use_action": {
"type": "place_monster",
"monster_id": "mon_bitebot",
"difficulty": 0,
"moves": 100,
"skills": [ "deduction", "electronics", "computer" ]
},
"flags": [ "SINGLE_USE", "INVENTOR_CRAFTED" ]
}
]
57 changes: 57 additions & 0 deletions data/mods/Xedra_Evolved/items/inventor/cbms.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[
{
"id": "bio_inventor_rad_boost",
"copy-from": "bionic_general",
"type": "ITEM",
"subtypes": [ "BIONIC_ITEM" ],
"name": { "str": "Hero Engine" },
"description": "Everyone knows that radiation gives superpowers, and this little marvel will grant you your very own superpowers as long as you keep it fueled with radioactive objects. The more radiation you suffer from, the more potent the effects. Gone are the days where superpowers were reserved for those born with it and those who exposed themselves to the entire greek alphabet!",
"weight": "500 g",
"difficulty": 8,
"extend": { "flags": [ "INVENTOR_CRAFTED" ] }
},
{
"id": "bio_inventor_mana_kj_penalty_switch",
"copy-from": "bionic_general",
"type": "ITEM",
"subtypes": [ "BIONIC_ITEM" ],
"name": { "str": "Cyberarcanic Interference Inverter" },
"description": "Mana and electricity interfere with each other while inside the same thing. By thoroughly inverting the polarities you switched the interference, prioritizing your inner mana capacity instead of your electrical supply.",
"weight": "500 g",
"difficulty": 8,
"extend": { "flags": [ "INVENTOR_CRAFTED" ] }
},
{
"id": "bio_inventor_calorie_storage",
"copy-from": "bionic_general",
"type": "ITEM",
"subtypes": [ "BIONIC_ITEM" ],
"name": { "str": "Calorie Etherealization System" },
"description": "The best place to store calories is inside your own body. Unfortunately, caloric oversaturation causes issues that impede this perfect storage. Thanks to magnets, orbital tragectories and your own ingenuity, your calories are now close to you and will be consumed as needed without penalties. The process is imperfect and the orbit can't be maintained without power, but nothing preserves calories this well.",
"weight": "500 g",
"difficulty": 8,
"extend": { "flags": [ "INVENTOR_CRAFTED" ] }
},
{
"id": "bio_inventor_creative_fuel",
"copy-from": "bionic_general",
"type": "ITEM",
"subtypes": [ "BIONIC_ITEM" ],
"name": { "str": "Creative-Electric Converter" },
"description": "Blood is fuel? More like everything is fuel. This device drains your very creativity to produce power for your bionics. It's somehow simultaneously among your best and worst ideas.",
"weight": "500 g",
"difficulty": 8,
"extend": { "flags": [ "INVENTOR_CRAFTED" ] }
},
{
"id": "bio_inventor_book_burn_boost",
"copy-from": "bionic_general",
"type": "ITEM",
"subtypes": [ "BIONIC_ITEM" ],
"name": { "str": "Book Burner's Buddy", "str_pl": "Book Burner's Buddies" },
"description": "Probably the most selfish thing you ever made, constantly burning countless pieces of written media for fleeting knowledge. You might think it is worth the price, but the false knowledge this so-called buddy fills you with will leave little room to learn anything else, coercing you to burn books further and forevermore for a simulacrum of smarts.",
"weight": "500 g",
"difficulty": 8,
"extend": { "flags": [ "INVENTOR_CRAFTED" ] }
}
]
Loading
Loading