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

Fork Sync: Update from parent repository #45

Merged
merged 9 commits into from
Mar 19, 2023
5 changes: 4 additions & 1 deletion build-scripts/gha_compile_only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ then
..
make -j$num_jobs
else
make -j "$num_jobs" RELEASE=1 CCACHE=1 CROSS="$CROSS_COMPILATION" LINTJSON=0
# The OSX_MIN version here should match that used in release builds so that
# CI detects issues that will affect releases. It doesn't affect builds on
# other platforms.
make -j "$num_jobs" RELEASE=1 CCACHE=1 CROSS="$CROSS_COMPILATION" LINTJSON=0 OSX_MIN=10.12
fi

# vim:tw=0
3 changes: 2 additions & 1 deletion data/json/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,8 @@
"ALCMET",
"SAPROVORE",
"LACTOSE",
"GRAZER"
"GRAZER",
"VEGETARIAN"
]
},
{
Expand Down
7 changes: 6 additions & 1 deletion data/json/npcs/common_chat/TALK_COMMON_OTHER.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@
"default": true,
"text": "I can keep you safe.",
"trial": { "type": "PERSUADE", "difficulty": 20, "mod": [ [ "FEAR", 8 ], [ "VALUE", 2 ], [ "TRUST", 2 ], [ "BRAVERY", -2 ] ] },
"success": { "topic": "TALK_AGREE_FOLLOW", "effect": "follow", "opinion": { "trust": 1, "value": 1 } },
"success": {
"topic": "TALK_AGREE_FOLLOW",
"effect": "follow",
"opinion": { "trust": 1, "value": 1 },
"npc_lose_trait": [ "RETURN_TO_START_POS", "NO_BASH", "IGNORE_SOUND" ]
},
"failure": { "topic": "TALK_DENY_FOLLOW", "effect": "deny_follow", "opinion": { "value": -1, "anger": 1 } }
},
{
Expand Down
4 changes: 2 additions & 2 deletions data/json/npcs/island_prison/prisoners.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"id": "NC_THUG_PRISONER",
"name": { "str": "Prisoner" },
"job_description": "I'm here to kick ass.",
"common": false,
"traits": [
{ "group": "BG_survival_story_CRIMINAL" },
{ "group": "NPC_starting_traits" },
{ "group": "Appearance_demographics" },
{ "trait": "IGNORE_SOUND" },
{ "trait": "NO_BASH" },
{ "trait": "RETURN_TO_START_POS" }
{ "trait": "NO_BASH" }
],
"bonus_str": { "rng": [ 2, 4 ] },
"bonus_dex": { "rng": [ 0, 2 ] },
Expand Down
2 changes: 1 addition & 1 deletion data/json/recipes/food/bread.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"book_learn": [ [ "family_cookbook", 1 ], [ "baking_book", 1 ], [ "cookbook", 2 ] ],
"proficiencies": [ { "proficiency": "prof_food_prep" }, { "proficiency": "prof_baking" }, { "proficiency": "prof_baking_bread" } ],
"qualities": [ { "id": "OVEN", "level": 1 } ],
"tools": [ [ [ "surface_heat", 52, "LIST" ] ] ],
"tools": [ [ [ "surface_heat", 54, "LIST" ] ] ],
"//": "Flour: 40u, milk: 2u, pumpkin: 4u, eggs: 6u, oil: 1u, other: 1u.",
"components": [
[ [ "flour_any", 40, "LIST" ] ],
Expand Down
5 changes: 3 additions & 2 deletions data/json/recipes/food/brewing.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"book_learn": [ [ "distilling_cookbook", 5 ], [ "scots_cookbook", 5 ] ],
"proficiencies": [ { "proficiency": "prof_food_prep" }, { "proficiency": "prof_fermenting" }, { "proficiency": "prof_brewing" } ],
"qualities": [ { "id": "BOIL", "level": 2 } ],
"tools": [ [ [ "surface_heat", 57, "LIST" ] ] ],
"tools": [ [ [ "surface_heat", 58, "LIST" ] ] ],
"//": "assuming grains are roasted, that's 52u flour by weight, plus 6u to heat water and activate yeast",
"components": [ [ [ "water_clean", 3 ] ], [ [ "malted_grain", 2 ] ], [ [ "sugar", 50 ] ], [ [ "yeast", 1 ] ] ]
},
Expand Down Expand Up @@ -383,6 +383,7 @@
],
"proficiencies": [ { "proficiency": "prof_food_prep" }, { "proficiency": "prof_fermenting" }, { "proficiency": "prof_winemaking" } ],
"qualities": [ { "id": "CONTAIN", "level": 1 } ],
"tools": [ [ [ "surface_heat", 6, "LIST" ] ] ],
"//": "6u to heat water and activate yeast, dandelions don't appear to be roasted here",
"components": [
[ [ "water_clean", 3 ] ],
Expand Down Expand Up @@ -416,7 +417,7 @@
{ "proficiency": "prof_winemaking" }
],
"qualities": [ { "id": "CUT", "level": 2 }, { "id": "BOIL", "level": 2 } ],
"tools": [ [ [ "surface_heat", 6, "LIST" ] ] ],
"tools": [ [ [ "surface_heat", 26, "LIST" ] ] ],
"//": "20u to roast the burdocks and 6u to heat water & activate the yeast",
"components": [
[ [ "water_clean", 3 ] ],
Expand Down
6 changes: 3 additions & 3 deletions data/json/recipes/food/dry.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"time": "20 m",
"autolearn": true,
"batch_time_factors": [ 67, 5 ],
"tools": [ [ [ "dehydrating_heat", 15, "LIST" ] ], [ [ "surface_heat", 8, "LIST" ] ] ],
"tools": [ [ [ "dehydrating_heat", 19, "LIST" ] ], [ [ "surface_heat", 8, "LIST" ] ] ],
"//": "194g of stuff",
"components": [ [ [ "raw_beans", 1 ] ] ]
},
Expand Down Expand Up @@ -361,7 +361,7 @@
"time": "20 m",
"autolearn": true,
"batch_time_factors": [ 67, 5 ],
"tools": [ [ [ "dehydrating_heat", 21, "LIST" ] ], [ [ "surface_heat", 2, "LIST" ] ] ],
"tools": [ [ [ "dehydrating_heat", 21, "LIST" ] ], [ [ "surface_heat", 8, "LIST" ] ] ],
"//": "210g of stuff - kernels are rather heavy, 8u to cook",
"components": [ [ [ "corn_kernels", 1 ] ] ]
},
Expand Down Expand Up @@ -476,7 +476,7 @@
"time": "20 m",
"autolearn": true,
"batch_time_factors": [ 67, 5 ],
"tools": [ [ [ "dehydrating_heat", 55, "LIST" ] ], [ [ "surface_heat", 2, "LIST" ] ] ],
"tools": [ [ [ "dehydrating_heat", 55, "LIST" ] ], [ [ "surface_heat", 36, "LIST" ] ] ],
"//": "by weight of unfertilized bird egg 550g of stuff plus 36u heat for the eggs (standard is 3 per egg)",
"components": [ [ [ "eggs_bird", 12, "LIST" ], [ "egg_reptile", 12 ], [ "eggs_insect", 1, "LIST" ] ] ]
},
Expand Down
4 changes: 2 additions & 2 deletions data/json/recipes/food/offal_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"batch_time_factors": [ 83, 5 ],
"book_learn": [ [ "family_cookbook", 2 ], [ "cookbook", 2 ], [ "cookbook_liverforkids", 1 ] ],
"qualities": [ { "id": "CUT", "level": 2 }, { "id": "COOK", "level": 2 } ],
"tools": [ [ [ "surface_heat", 25, "LIST" ] ] ],
"tools": [ [ [ "surface_heat", 23, "LIST" ] ] ],
"//": "12u from the liver, 8u for the batter, 1u for the milk, 2u flex",
"components": [
[ [ "meat_liver", 3, "LIST" ] ],
Expand Down Expand Up @@ -422,7 +422,7 @@
"charges": 3,
"book_learn": [ [ "offalcooking", 2 ] ],
"qualities": [ { "id": "COOK", "level": 3 }, { "id": "CUT", "level": 2 } ],
"tools": [ [ [ "surface_heat", 42, "LIST" ] ] ],
"tools": [ [ [ "surface_heat", 32, "LIST" ] ] ],
"//": "eggs: 9u, garlic: 1u, brains: 8u, batter: 8u, onion: 2u, butter: 2u, milk: 2u",
"components": [
[ [ "eggs_any_shape", 3, "LIST" ] ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/recipes/food/pasta.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"time": "10 m",
"autolearn": true,
"qualities": [ { "id": "COOK", "level": 3 } ],
"tools": [ [ [ "surface_heat", 7, "LIST" ] ] ],
"tools": [ [ [ "surface_heat", 8, "LIST" ] ] ],
"//": "There are ways to cook pasta that don't require boiling the water, and they are a lot more efficient, so this uses surface_heat",
"//1": "pasta by weight is 5u flour, 1u for the cheese + heating the water (2u)",
"components": [
Expand Down
6 changes: 4 additions & 2 deletions data/json/recipes/other/medical.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@
"batch_time_factors": [ 95, 4 ],
"autolearn": true,
"qualities": [ { "id": "BOIL", "level": 1 } ],
"tools": [ [ [ "water_boiling_heat", 9, "LIST" ] ] ],
"tools": [ [ [ "water_boiling_heat", 4, "LIST" ] ] ],
"//": "3 units of water + 114g of cotton, bandages will soak up some of the water but the rest should be potable",
"result_mult": 3,
"components": [ [ [ "bandages_makeshift", 3 ] ], [ [ "water_clean", 3 ], [ "water", 3 ] ] ]
"components": [ [ [ "bandages_makeshift", 3 ] ], [ [ "water_clean", 3 ], [ "water", 3 ] ] ],
"byproducts": [ [ "water_clean", 2 ] ]
},
{
"result": "adhesive_bandages",
Expand Down
7 changes: 1 addition & 6 deletions data/mods/Xedra_Evolved/monsters/bloodsuckers.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@
"id": "mon_renfield_abomination",
"type": "MONSTER",
"name": { "str": "abominable renfield" },
"description": "A towering mutated test subject, covered in thick fur and the torn bottom part of a jumpsuit. Their legs end in large padded feet not unlike a dog's, but they still manage to stand upright, freeing up their clawed hands to tear you apart.",
"description": "A brobdignagian Renfield, twisted through unnatural alchemies. Their stump sized legs and feet pound the earth as they move, while their claw like hands to tear you apart.",
"symbol": "A",
"color": "brown_red",
"default_faction": "vampire",
Expand Down Expand Up @@ -418,11 +418,6 @@
[ "PARROT", 800 ],
{ "id": "cut_throat", "move_cost": 130, "cooldown": 4, "min_mul": 1.5, "max_mul": 3.5 },
{ "id": "smash", "move_cost": 100, "cooldown": 8, "min_mul": 0.8, "throw_strength": 50 },
{
"type": "bite",
"cooldown": 10,
"damage_max_instance": [ { "damage_type": "stab", "amount": 18, "armor_multiplier": 0.7 } ]
},
{ "id": "longswipe", "move_cost": 120, "cooldown": 12, "min_mul": 1.5, "max_mul": 3 }
],
"death_drops": "mon_renfield_abomination_death_drops",
Expand Down
8 changes: 8 additions & 0 deletions data/mods/Xedra_Evolved/monsters/nightmares_and_chimeras.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,13 @@
"special_attacks": [ [ "DISAPPEAR", 1000 ] ],
"death_function": { "message": "", "corpse_type": "NO_CORPSE" },
"flags": [ "FLIES", "NO_BREATHE", "NOT_HALLUCINATION", "HARDTOSHOOT" ]
},
{
"id": "mon_you",
"copy-from": "mon_hologram",
"looks_like": "player",
"type": "MONSTER",
"name": { "str": "you" },
"description": "It is you. It looks like you, it is equipped like you, it is even has a weapon like you."
}
]
2 changes: 1 addition & 1 deletion data/mods/Xedra_Evolved/spells/XAEA.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
"valid_targets": [ "ground" ],
"flags": [ "SILENT", "RANDOM_DAMAGE", "IGNORE_WALLS", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ],
"effect": "summon",
"effect_str": "mon_hologram",
"effect_str": "mon_you",
"shape": "blast",
"damage_type": "bash",
"message": "It is you. And this is you. And that is you. You are everywhere.",
Expand Down
5 changes: 5 additions & 0 deletions data/mods/Xedra_Evolved/spells/classless_spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"valid_targets": [ "self" ],
"effect": "attack",
"effect_str": "night_sight",
"skill": "deduction",
"shape": "blast",
"min_range": 1,
"max_range": 1,
Expand All @@ -27,6 +28,7 @@
"description": "Everything around you faces an existential crisis and moves slower as a result. Including things that you wouldn't expect to suffer from existential crises, like the undead. The air around the targets' extremities chills dramatically. Higher levels allow a bigger AoE, and longer effect.",
"effect": "attack",
"effect_str": "effect_dread_weight",
"skill": "deduction",
"shape": "blast",
"affected_body_parts": [ "foot_l", "foot_r", "arm_l", "arm_r" ],
"valid_targets": [ "hostile" ],
Expand Down Expand Up @@ -59,6 +61,7 @@
"valid_targets": [ "self" ],
"effect": "spawn_item",
"effect_str": "obfuscating_aura",
"skill": "deduction",
"shape": "blast",
"energy_source": "MANA",
"spell_class": "NONE",
Expand All @@ -79,6 +82,7 @@
"//": "deal damage, give heal. nothing special.",
"valid_targets": [ "hostile" ],
"flags": [ "CONCENTRATE", "SOMATIC", "SILENT", "NO_PROJECTILE" ],
"skill": "deduction",
"effect": "attack",
"shape": "blast",
"damage_type": "bash",
Expand Down Expand Up @@ -117,6 +121,7 @@
"shape": "blast",
"valid_targets": [ "ground" ],
"flags": [ "SOMATIC", "SILENT", "NO_LEGS", "TARGET_TELEPORT" ],
"skill": "deduction",
"min_range": 4,
"max_range": 12,
"range_increment": 0.3,
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Xedra_Evolved/spells/dreamer_spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,6 @@
"final_energy_cost": 1000,
"base_casting_time": 1260000,
"final_casting_time": 1260000,
"spell_class": "INVENTOR"
"spell_class": "DREAMER"
}
]
20 changes: 7 additions & 13 deletions data/mods/Xedra_Evolved/spells/vampire_spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
"effect_str": "eyegleam",
"flags": [ "NO_HANDS", "SILENT", "NO_FAIL" ],
"shape": "blast",
"skill": "deduction",
"min_range": 1,
"max_range": 1,
"base_casting_time": 100,
"base_energy_cost": 0,
"energy_source": "NONE",
"min_duration": 100000,
"max_duration": 1000000,
"duration_increment": 2000
Expand All @@ -29,6 +28,7 @@
"shape": "blast",
"valid_targets": [ "self" ],
"flags": [ "NO_HANDS", "SILENT", "NO_FAIL" ],
"skill": "deduction",
"min_damage": 1500,
"max_damage": 10000,
"base_casting_time": 100,
Expand All @@ -44,8 +44,7 @@
"effect_str": "vamp_blood_weave",
"shape": "blast",
"flags": [ "NO_HANDS", "SILENT", "NO_FAIL" ],
"energy_source": "NONE",
"spell_class": "NONE",
"skill": "deduction",
"base_energy_cost": 150,
"max_level": 20,
"min_duration": 6000,
Expand All @@ -62,14 +61,12 @@
"max_damage": -20,
"damage_increment": -1.0,
"max_level": 15,
"min_range": 0,
"effect": "attack",
"shape": "blast",
"base_casting_time": 20,
"flags": [ "NO_HANDS", "SILENT", "NO_FAIL" ],
"spell_class": "NONE",
"difficulty": 2,
"energy_source": "NONE"
"skill": "deduction",
"difficulty": 2
},
{
"id": "spell_blood_haste",
Expand All @@ -78,11 +75,10 @@
"description": "This spell gives you an enormous boost of speed lasting a short period of time.",
"valid_targets": [ "self" ],
"flags": [ "NO_HANDS", "SILENT", "NO_FAIL", "NO_PROJECTILE" ],
"skill": "deduction",
"effect": "attack",
"effect_str": "haste",
"shape": "blast",
"spell_class": "NONE",
"energy_source": "NONE",
"base_casting_time": 200,
"max_level": 20,
"min_duration": 600,
Expand All @@ -99,12 +95,10 @@
"effect_str": "stunned",
"shape": "blast",
"flags": [ "NO_HANDS", "SILENT", "NO_FAIL", "NO_PROJECTILE" ],
"spell_class": "NONE",
"energy_source": "NONE",
"skill": "deduction",
"difficulty": 3,
"base_casting_time": 100,
"max_level": 15,
"min_damage": 0,
"min_range": 3,
"max_range": 9,
"range_increment": 0.4,
Expand Down
6 changes: 3 additions & 3 deletions doc/MAGIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ The following is a list of possible enchantment `values`:
| `BIONIC_POWER` |
| `BONUS_BLOCK` | Affects the number of blocks you can perform.
| `BONUS_DODGE` | Affects the number of dodges you can perform.
| `CARRY_WEIGHT` |
| `CARRY_WEIGHT` | Affect the summary weight player can carry. `"add": 1000` adds 1 kg of weight to carry.
| `CLIMATE_CONTROL_HEAT` | Moves body temperature up towards comfortable by number of warmth units up to value.
| `CLIMATE_CONTROL_CHILL` | Moves body temperature down towards comfortable by number of warmth units up to value.
| `DEXTERITY` | Affects the dexterity stat.
Expand Down Expand Up @@ -825,12 +825,12 @@ The following is a list of possible enchantment `values`:
| `SOCIAL_LIE` | Affects your ability to lie.
| `SOCIAL_PERSUADE` | Affects your ability to persuade.
| `READING_EXP` | Changes the minimum you learn from each reading increment.
| `RECOIL_MODIFIER` | Affects recoil when shooting a gun.
| `RECOIL_MODIFIER` | Affects recoil when shooting a gun. Can be applied only to guns. Positive value increase the dispersion, negative decrease one.
| `REGEN_HP` | Affects the rate you recover hp.
| `REGEN_MANA` |
| `REGEN_STAMINA` |
| `THIRST` |
| `WEAPON_DISPERSION` |
| `WEAPON_DISPERSION` | Can be applied only to guns. Positive value increase the dispersion, negative decrease one.


| Melee-only enchantment values | Description
Expand Down
Loading