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

More structure for bionic bodyparts #70828

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
271 commits
Select commit Hold shift + click to select a range
1cc7931
test
anoobindisguise Jul 26, 2023
3e61729
Update character.cpp
anoobindisguise Jul 26, 2023
0a9873b
Update character.cpp
anoobindisguise Jul 27, 2023
a44d50a
Update character.cpp
anoobindisguise Jul 28, 2023
3820cb7
Update src/character.cpp
anoobindisguise Jul 28, 2023
99c6870
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Jul 28, 2023
8248316
check limbs for being bionic for some attacks
anoobindisguise Jul 28, 2023
39611dd
no infecting bionic limbs
anoobindisguise Jul 28, 2023
4c00779
effects_require_organic
anoobindisguise Jul 28, 2023
4ae2905
effects_require_organic
anoobindisguise Jul 28, 2023
cef055a
don't apply effects if effects_require_organic and it is a bioniclimb
anoobindisguise Jul 28, 2023
0140ffe
Update src/mattack_actors.cpp
anoobindisguise Jul 28, 2023
fde853f
don't make pain yelps if bionic limb is hit
anoobindisguise Jul 28, 2023
78122ee
Update monattack.cpp
anoobindisguise Jul 29, 2023
a91a21d
Update monattack.cpp
anoobindisguise Jul 29, 2023
3cc2cfd
Update character.cpp
anoobindisguise Jul 29, 2023
94a8987
Update character.cpp
anoobindisguise Jul 29, 2023
00d09d7
Update src/character.cpp
anoobindisguise Jul 29, 2023
4361b0f
Update integrated.json
anoobindisguise Jul 29, 2023
14621f3
Update bodypart.cpp
anoobindisguise Jul 29, 2023
469e8f2
Update bodypart.h
anoobindisguise Jul 29, 2023
8b62578
simplify
anoobindisguise Jul 29, 2023
963d343
Apply suggestions from code review
anoobindisguise Jul 29, 2023
6eab1b7
Update bodypart.cpp
anoobindisguise Jul 29, 2023
e15fa82
Update bodypart.h
anoobindisguise Jul 29, 2023
bb8882c
Update character.cpp
anoobindisguise Jul 29, 2023
e8f3c83
Update character.cpp
anoobindisguise Jul 29, 2023
93b4673
Update integrated.json
anoobindisguise Jul 29, 2023
e49a57d
Update integrated.json
anoobindisguise Jul 29, 2023
e0e9f82
Update integrated.json
anoobindisguise Jul 30, 2023
1ba2a67
Update integrated.json
anoobindisguise Jul 30, 2023
2173480
Update character.cpp
anoobindisguise Jul 30, 2023
fd5f05a
Update character.cpp
anoobindisguise Jul 30, 2023
851147c
Update character.cpp
anoobindisguise Jul 30, 2023
e2908b2
Update character.cpp
anoobindisguise Jul 30, 2023
12c4ab9
Update character.cpp
anoobindisguise Jul 30, 2023
dbaae08
Update character.cpp
anoobindisguise Jul 31, 2023
a7f4b69
Update character.cpp
anoobindisguise Aug 1, 2023
f5820ca
Update character.cpp
anoobindisguise Aug 1, 2023
b3bfc6b
Update bionic_limbs
anoobindisguise Aug 1, 2023
d252a03
Update bionic_limbs
anoobindisguise Aug 1, 2023
e148a20
Update bodypart.cpp
anoobindisguise Aug 1, 2023
e13b5e8
Update bodypart.h
anoobindisguise Aug 1, 2023
425c1c2
flagify
anoobindisguise Aug 1, 2023
a5469ab
flagify
anoobindisguise Aug 1, 2023
6e93483
flagify
anoobindisguise Aug 1, 2023
5b1c779
Update body_parts.json
anoobindisguise Aug 1, 2023
2b1d640
flagify
anoobindisguise Aug 1, 2023
876d994
Update src/character.cpp
anoobindisguise Aug 1, 2023
4ab04fc
Update src/monattack.cpp
anoobindisguise Aug 1, 2023
b1bbc69
Update character.cpp
anoobindisguise Aug 1, 2023
e9be25c
Update src/character.cpp
anoobindisguise Aug 1, 2023
707ff05
Update character.cpp
anoobindisguise Aug 1, 2023
3b96c19
get_organic_size_sum
anoobindisguise Aug 2, 2023
1f8ffc2
get_organic_size_sum
anoobindisguise Aug 2, 2023
f7d39ce
Update character.cpp
anoobindisguise Aug 2, 2023
6521bcc
some fixes
anoobindisguise Aug 2, 2023
e18df36
adjust hit_size to favor legs over arms
anoobindisguise Aug 2, 2023
34e6639
enchantments to lose limbs
anoobindisguise Aug 2, 2023
5791ef2
Update src/character.cpp
anoobindisguise Aug 2, 2023
452e106
Update data/json/enchantments.json
anoobindisguise Aug 2, 2023
ea52221
Update data/json/enchantments.json
anoobindisguise Aug 2, 2023
4742e8c
different message for bionic limb damage
anoobindisguise Aug 2, 2023
36dd5f6
bionic limbs cannot be bandaged
anoobindisguise Aug 2, 2023
f59bf67
modify existing stored calories according to limb changes
anoobindisguise Aug 2, 2023
0dc38b0
undo
anoobindisguise Aug 2, 2023
3af7dec
fungus diverts to torso if you have bionic arms
anoobindisguise Aug 2, 2023
8c23ec8
Update player_hardcoded_effects.cpp
anoobindisguise Aug 2, 2023
b1e7ae4
Update src/player_hardcoded_effects.cpp
anoobindisguise Aug 2, 2023
0c11e62
Update player_hardcoded_effects.cpp
anoobindisguise Aug 2, 2023
59604f6
Update player_hardcoded_effects.cpp
anoobindisguise Aug 2, 2023
4e6432b
Update player_hardcoded_effects.cpp
anoobindisguise Aug 2, 2023
2f66d40
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Aug 3, 2023
bf7b044
Update player_hardcoded_effects.cpp
anoobindisguise Aug 3, 2023
5505094
sort
anoobindisguise Aug 3, 2023
909ee39
don't mess with hit size stuff for now
anoobindisguise Aug 3, 2023
9d7f561
Update src/character.cpp
anoobindisguise Aug 4, 2023
2a41103
move bionic parts here
anoobindisguise Aug 4, 2023
48170ef
Delete bionic_limbs
anoobindisguise Aug 4, 2023
91ab7f2
enchantment changes
anoobindisguise Aug 4, 2023
43a2b69
changes
anoobindisguise Aug 4, 2023
5f3a7d2
bionic limb doesn't hurt
anoobindisguise Aug 5, 2023
573ce29
Update creature.cpp
anoobindisguise Aug 5, 2023
6078681
resist_limb_flags
anoobindisguise Aug 5, 2023
a6d3e96
resist_limb_flags
anoobindisguise Aug 5, 2023
b18e677
resist_limb_flags
anoobindisguise Aug 5, 2023
c2f9bc3
Update effect.h
anoobindisguise Aug 5, 2023
718e725
get_windage_effect()
anoobindisguise Aug 5, 2023
28efbf1
windage effect
anoobindisguise Aug 5, 2023
21b7db4
windage
anoobindisguise Aug 5, 2023
cdfeb29
Update bodypart.h
anoobindisguise Aug 5, 2023
56571a0
Update bodypart.cpp
anoobindisguise Aug 5, 2023
d41136b
Update body_parts.json
anoobindisguise Aug 5, 2023
922f10f
start per limbing exhaustion
anoobindisguise Aug 5, 2023
dba7069
apply windage effects per limb
anoobindisguise Aug 5, 2023
6c28d0d
Update bodypart.cpp
anoobindisguise Aug 5, 2023
4308582
Update bodypart.h
anoobindisguise Aug 5, 2023
d54e2f6
Update creature.cpp
anoobindisguise Aug 5, 2023
552e86d
Update creature.cpp
anoobindisguise Aug 5, 2023
af7bdfb
already a flag for this
anoobindisguise Aug 5, 2023
13590d8
already a thing for this
anoobindisguise Aug 5, 2023
5192fc2
Update effects.json
anoobindisguise Aug 5, 2023
64fac41
Update effects.json
anoobindisguise Aug 5, 2023
d21562b
Apply suggestions from code review
anoobindisguise Aug 5, 2023
30873ba
Apply suggestions from code review
anoobindisguise Aug 5, 2023
c02ee8b
Update character.cpp
anoobindisguise Aug 5, 2023
3987a9a
Update character.cpp
anoobindisguise Aug 5, 2023
a263095
fix errors on winding
anoobindisguise Aug 6, 2023
a7ad534
prevent errors upon windedness
anoobindisguise Aug 6, 2023
5ba1d05
Update character.cpp
anoobindisguise Aug 6, 2023
dad3933
Update character.h
anoobindisguise Aug 6, 2023
3313601
Apply suggestions from code review
anoobindisguise Aug 6, 2023
863ae2a
Update character.cpp
anoobindisguise Aug 6, 2023
9cec9e4
Update character.h
anoobindisguise Aug 6, 2023
d53c094
Update char_healing_test.cpp
anoobindisguise Aug 6, 2023
b3023c9
Update character.h
anoobindisguise Aug 6, 2023
43536a1
Update character.cpp
anoobindisguise Aug 6, 2023
917d831
Update char_healing_test.cpp
anoobindisguise Aug 6, 2023
4cbc406
Update character.cpp
anoobindisguise Aug 6, 2023
a80e0e5
Update character.h
anoobindisguise Aug 6, 2023
f186df1
Update src/character.cpp
anoobindisguise Aug 6, 2023
0885920
Update character.cpp
anoobindisguise Aug 7, 2023
9fbbfad
Update effects.json
anoobindisguise Aug 7, 2023
6baf4dd
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Aug 9, 2023
17578a4
lose kcal on installation
anoobindisguise Aug 9, 2023
04528b0
tank treads
anoobindisguise Aug 9, 2023
65d86a5
bionic treads
anoobindisguise Aug 9, 2023
d9b5a0c
Update body_parts.json
anoobindisguise Aug 9, 2023
3126ad6
Update src/bionics.cpp
anoobindisguise Aug 9, 2023
c8a6b42
Update bionics.cpp
anoobindisguise Aug 9, 2023
d8be167
Update body_parts.json
anoobindisguise Aug 9, 2023
8841761
Update enchantments.json
anoobindisguise Aug 9, 2023
c02ef8a
burn_energy_legs,arms,all()
anoobindisguise Aug 9, 2023
0410bbe
Apply suggestions from code review
anoobindisguise Aug 9, 2023
dbd5b74
Update character.cpp
anoobindisguise Aug 9, 2023
3f37e50
individualized limb replacement enchants
anoobindisguise Aug 9, 2023
d785865
split into sided limb armor
anoobindisguise Aug 9, 2023
db98582
Apply suggestions from code review
anoobindisguise Aug 9, 2023
7a22522
limb replacer bionics
anoobindisguise Aug 9, 2023
811589d
add limb bionics
anoobindisguise Aug 9, 2023
95fc83a
tank treads get storage
anoobindisguise Aug 9, 2023
ac3be8d
fixes
anoobindisguise Aug 9, 2023
efc1c7f
fixes
anoobindisguise Aug 9, 2023
d7073ba
Apply suggestions from code review
anoobindisguise Aug 9, 2023
18d65c9
Update integrated.json
anoobindisguise Aug 9, 2023
d839755
Update bionics.json
anoobindisguise Aug 9, 2023
a455319
dragging veh burn_energy_all
anoobindisguise Aug 9, 2023
ec36558
melee attack burn_energy_arms
anoobindisguise Aug 9, 2023
315321f
grab break burn_energy_arms
anoobindisguise Aug 9, 2023
4a35b2e
smash terrain burn_energy_arms
anoobindisguise Aug 9, 2023
481c7da
bows burn_energy_arms, martialarts burn_energy_all
anoobindisguise Aug 9, 2023
efd0bf7
burn_energy for butchery and pulping
anoobindisguise Aug 9, 2023
b607e64
swim and climb are full body exercise
anoobindisguise Aug 9, 2023
fb7c1ea
fix possible div/0 error
anoobindisguise Aug 9, 2023
cb3089d
fixes
anoobindisguise Aug 9, 2023
8f8fb89
positive burn energy
anoobindisguise Aug 10, 2023
3eda654
burn energy positive
anoobindisguise Aug 10, 2023
b66d87f
burn energy positive
anoobindisguise Aug 10, 2023
5799afe
Update activity_actor.cpp
anoobindisguise Aug 10, 2023
43200d5
Update activity_handlers.cpp
anoobindisguise Aug 10, 2023
0735fd5
Update character.cpp
anoobindisguise Aug 10, 2023
64b3db0
Update character_escape.cpp
anoobindisguise Aug 10, 2023
ba7a123
Update activity_actor.cpp
anoobindisguise Aug 10, 2023
c1211c4
Update character.cpp
anoobindisguise Aug 10, 2023
f57ce6a
Update integrated.json
anoobindisguise Aug 10, 2023
2ec952a
Update bionics.json
anoobindisguise Aug 10, 2023
1f43c96
Update bionics.json
anoobindisguise Aug 10, 2023
efba163
Update bionics.json
anoobindisguise Aug 10, 2023
83ddf20
Update integrated.json
anoobindisguise Aug 10, 2023
c05cda6
Update src/activity_actor.cpp
anoobindisguise Aug 11, 2023
72933cb
Update integrated.json
anoobindisguise Aug 11, 2023
8579fd5
Update integrated.json
anoobindisguise Aug 11, 2023
e679dd0
Update body_parts.json
anoobindisguise Aug 12, 2023
05c11d0
fixes for burn_energy
anoobindisguise Aug 12, 2023
ea1d0c8
tally_organic_size();
anoobindisguise Aug 12, 2023
178e8a7
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Aug 12, 2023
4670cfe
stamina test for bionics
anoobindisguise Aug 12, 2023
14ce241
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Aug 13, 2023
fb302d1
Update src/mutation.cpp
anoobindisguise Aug 13, 2023
21f3ed1
Update src/character.cpp
anoobindisguise Aug 13, 2023
a9de678
Update src/character.cpp
anoobindisguise Aug 13, 2023
28fc1c9
Update src/character.cpp
anoobindisguise Aug 13, 2023
e07a85f
get_bionic_limb_percentage
anoobindisguise Aug 13, 2023
59b7f89
Update char_stamina_test.cpp
anoobindisguise Aug 15, 2023
ce786ba
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Aug 23, 2023
52b6a00
fix > issue for two_bionic_burn_rate
anoobindisguise Aug 23, 2023
0e16194
fix unneeded newline
anoobindisguise Aug 23, 2023
e649411
nolimb enchants
anoobindisguise Aug 23, 2023
304f8d4
no limb muts
anoobindisguise Aug 23, 2023
2b54184
add_mut_on_removal
anoobindisguise Aug 23, 2023
1e33989
Update tests/char_stamina_test.cpp
anoobindisguise Aug 25, 2023
f6e887c
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Aug 25, 2023
a0c9414
Update bionics.json
anoobindisguise Aug 25, 2023
d11f604
no_power_effect
anoobindisguise Aug 25, 2023
6d7ba9c
get_no_power_effect
anoobindisguise Aug 25, 2023
435a7a1
no power effects
anoobindisguise Aug 25, 2023
e61ee71
mod_power_level infrastructure
anoobindisguise Aug 25, 2023
b83d41a
no_power_effect
anoobindisguise Aug 25, 2023
d486477
no_power_effect
anoobindisguise Aug 25, 2023
e94fccf
Update character.cpp
anoobindisguise Aug 25, 2023
1d1767a
Merge branch 'master' into anoobindisguise-bionic-bodyparts
anoobindisguise Jan 10, 2024
a4980dc
fix an error from fixing conflicts
anoobindisguise Jan 10, 2024
a9e21ed
fix error
anoobindisguise Jan 10, 2024
8c1c9d5
redelete buggy flags
anoobindisguise Jan 11, 2024
f2790d0
fix bird wings, un-add my no limb enchs
anoobindisguise Jan 14, 2024
3aec18d
bionics give correct muts on removal
anoobindisguise Jan 14, 2024
9b7f526
no_limb_LR -> no_leftright_limb
anoobindisguise Jan 14, 2024
e13cd2e
Merge branch 'master' into anoobindisguise-bionic-bodyparts
anoobindisguise Jan 17, 2024
fdf3505
move enchantments to limbs mod
anoobindisguise Jan 17, 2024
a10d85c
move enchantments to limbs mod
anoobindisguise Jan 17, 2024
247039a
remove trailing space
anoobindisguise Jan 17, 2024
0fdbaa3
move effects to limbs mod
anoobindisguise Jan 17, 2024
8339de5
move effects to limbs mod
anoobindisguise Jan 17, 2024
41142db
move bionic limbs to limbs mod
anoobindisguise Jan 17, 2024
f4cc5ff
move bionic limbs to limbs mod
anoobindisguise Jan 17, 2024
ca56760
move bionic integrated armor to limbs mod
anoobindisguise Jan 17, 2024
3bec602
move bionic integrated armor to limbs mod
anoobindisguise Jan 17, 2024
ec5696a
move bionics to limbs mod
anoobindisguise Jan 17, 2024
2d9ef0f
move bionics to limbs mod
anoobindisguise Jan 17, 2024
abaca04
Create bionics.json to hold testing limb bionics
anoobindisguise Jan 17, 2024
9210c79
undo changes to mutations.json
anoobindisguise Jan 17, 2024
aafa364
fix a reversion while deleting changes
anoobindisguise Jan 17, 2024
1a0a0f1
readd missing resist_traits
anoobindisguise Jan 17, 2024
ff1ae2a
add testing bionic data
anoobindisguise Jan 19, 2024
955a230
update the test with testing bionics
anoobindisguise Jan 19, 2024
4dcc7b1
correct missing test_s
anoobindisguise Jan 20, 2024
9880997
yet more fixes
anoobindisguise Jan 22, 2024
88f142d
fixes
anoobindisguise Jan 22, 2024
a63e2d1
Extra fixes
anoobindisguise Jan 22, 2024
af7b30c
Add subparts
anoobindisguise Jan 22, 2024
bd2e12a
Logos linted
anoobindisguise Jan 22, 2024
62f607c
TEST_s
anoobindisguise Jan 22, 2024
383e27b
yet more typo fixes
anoobindisguise Jan 22, 2024
9476683
move tally_organic_size() to a better location
anoobindisguise Jan 23, 2024
f601d45
move tally_organic_size() to a better location
anoobindisguise Jan 23, 2024
42d2d10
correct the expected hit_size
anoobindisguise Jan 23, 2024
a3cb4ab
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Jan 24, 2024
c5376e2
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Jan 31, 2024
cbcfadb
workaround to limbs loading in wrong order
anoobindisguise Jan 31, 2024
b3911e2
cache burn_energy values to save memory
anoobindisguise Jan 31, 2024
3fb382d
cache burn_energy values to save memory
anoobindisguise Jan 31, 2024
302dda4
Apply suggestions from code review
anoobindisguise Feb 1, 2024
4021f51
reorder some energy use calcs
anoobindisguise Feb 1, 2024
8daa124
Update src/character.cpp
anoobindisguise Feb 1, 2024
ec93943
json formatting
anoobindisguise Feb 1, 2024
40fea01
fix -mod
anoobindisguise Feb 2, 2024
b205b28
Merge branch 'CleverRaven:master' into anoobindisguise-bionic-bodyparts
anoobindisguise Feb 2, 2024
34ef22e
ensure correct legs for cardio test
anoobindisguise Feb 2, 2024
781b57b
Safety recalc
anoobindisguise Feb 2, 2024
ceaa9f4
add recalculate_bodyparts() to remove_bionic
anoobindisguise Feb 3, 2024
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
5 changes: 5 additions & 0 deletions data/json/body_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"bionic_slots": 80,
"bmi_encumbrance_threshold": 9,
"bmi_encumbrance_scalar": 0.8,
"windage_effect": "winded",
"effects_on_hit": [
{
"id": "bleed",
Expand Down Expand Up @@ -390,6 +391,7 @@
"base_hp": 60,
"drench_capacity": 1000,
"smash_message": "You elbow-smash the %s.",
"windage_effect": "winded_arm_l",
"bionic_slots": 20,
"bmi_encumbrance_threshold": 9,
"bmi_encumbrance_scalar": 0.6,
Expand Down Expand Up @@ -475,6 +477,7 @@
"drench_capacity": 1000,
"smash_message": "You elbow-smash the %s.",
"bionic_slots": 20,
"windage_effect": "winded_arm_r",
"bmi_encumbrance_threshold": 9,
"bmi_encumbrance_scalar": 0.6,
"effects_on_hit": [
Expand Down Expand Up @@ -681,6 +684,7 @@
],
"sub_parts": [ "leg_hip_l", "leg_upper_l", "leg_knee_l", "leg_lower_l", "leg_draped_l" ],
"flags": [ "LIMB_LOWER" ],
"windage_effect": "winded_leg_l",
"bmi_encumbrance_threshold": 9,
"bmi_encumbrance_scalar": 0.7
},
Expand Down Expand Up @@ -716,6 +720,7 @@
"smash_message": "You bring your knee down on the %s, smashing it.",
"bionic_slots": 30,
"sub_parts": [ "leg_hip_r", "leg_upper_r", "leg_knee_r", "leg_lower_r", "leg_draped_r" ],
"windage_effect": "winded_leg_r",
"bmi_encumbrance_threshold": 9,
"bmi_encumbrance_scalar": 0.7,
"effects_on_hit": [
Expand Down
120 changes: 108 additions & 12 deletions data/json/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,21 +507,89 @@
"remove_message": "You catch your breath.",
"rating": "bad",
"max_duration": "30 s",
"base_mods": { "per_mod": [ -1 ], "speed_mod": [ -10 ], "pain_min": [ 1 ], "pain_chance": [ 5 ], "pain_max_val": [ 20 ] },
"limb_score_mods": [ { "limb_score": "reaction", "modifier": 0.5 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "winded_leg_l",
"name": [ "Winded (Left Leg)" ],
"desc": [ "You're short of breath. Your left leg has impaired function until you recover." ],
"rating": "bad",
"max_duration": "30 s",
"base_mods": { "speed_mod": [ -5 ], "pain_min": [ 1 ], "pain_chance": [ 10 ], "pain_max_val": [ 20 ] },
"limb_score_mods": [
{ "limb_score": "block", "modifier": 0.9 },
{ "limb_score": "swim", "modifier": 0.7 },
{ "limb_score": "move_speed", "modifier": 0.8 },
{ "limb_score": "footing", "modifier": 0.8 },
{ "limb_score": "balance", "modifier": 0.8 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "winded_leg_r",
"name": [ "Winded (Right Leg)" ],
"desc": [ "You're short of breath. Your right leg has impaired function until you recover." ],
"rating": "bad",
"max_duration": "30 s",
"base_mods": { "speed_mod": [ -5 ], "pain_min": [ 1 ], "pain_chance": [ 10 ], "pain_max_val": [ 20 ] },
"limb_score_mods": [
{ "limb_score": "block", "modifier": 0.9 },
{ "limb_score": "swim", "modifier": 0.7 },
{ "limb_score": "move_speed", "modifier": 0.8 },
{ "limb_score": "footing", "modifier": 0.8 },
{ "limb_score": "balance", "modifier": 0.8 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "winded_arm_l",
"name": [ "Winded (Left Arm)" ],
"desc": [ "You're short of breath. Your left arm has impaired function until you recover." ],
"rating": "bad",
"max_duration": "30 s",
"base_mods": {
"per_mod": [ -1 ],
"dex_mod": [ -1 ],
"str_mod": [ -3 ],
"speed_mod": [ -30 ],
"str_mod": [ -1 ],
"speed_mod": [ -5 ],
"pain_min": [ 1 ],
"pain_chance": [ 1 ],
"pain_chance": [ 10 ],
"pain_max_val": [ 20 ]
},
"limb_score_mods": [
{ "limb_score": "reaction", "modifier": 0.5 },
{ "limb_score": "lift", "modifier": 0.75 },
{ "limb_score": "block", "modifier": 0.75 },
{ "limb_score": "manip", "modifier": 0.5 },
{ "limb_score": "swim", "modifier": 0.3 }
{ "limb_score": "lift", "modifier": 0.8 },
{ "limb_score": "block", "modifier": 0.8 },
{ "limb_score": "swim", "modifier": 0.8 },
{ "limb_score": "manip", "modifier": 0.8 },
{ "limb_score": "grip", "modifier": 0.8 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "winded_arm_r",
"name": [ "Winded (Right Arm)" ],
"desc": [ "You're short of breath. Your right arm has impaired function until you recover." ],
"rating": "bad",
"max_duration": "30 s",
"base_mods": {
"dex_mod": [ -1 ],
"str_mod": [ -1 ],
"speed_mod": [ -5 ],
"pain_min": [ 1 ],
"pain_chance": [ 10 ],
"pain_max_val": [ 20 ]
},
"limb_score_mods": [
{ "limb_score": "block", "modifier": 0.5 },
{ "limb_score": "swim", "modifier": 0.5 },
{ "limb_score": "move_speed", "modifier": 0.5 },
{ "limb_score": "footing", "modifier": 0.5 },
{ "limb_score": "balance", "modifier": 0.5 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
Expand Down Expand Up @@ -696,6 +764,7 @@
"desc": [ "You have been poisoned!" ],
"miss_messages": [ [ "You feel bad inside.", 1 ] ],
"rating": "bad",
"immune_bp_flags": [ "BIONIC_LIMB" ],
"resist_traits": [ "POISRESIST" ],
"resist_effects": [ "prophylactic_antivenom" ],
"pain_sizing": true,
Expand All @@ -720,6 +789,7 @@
"desc": [ "You have been badly poisoned!" ],
"miss_messages": [ [ "You feel bad inside.", 2 ] ],
"rating": "bad",
"immune_bp_flags": [ "BIONIC_LIMB" ],
"resist_traits": [ "POISRESIST" ],
"resist_effects": [ "prophylactic_antivenom" ],
"pain_sizing": true,
Expand Down Expand Up @@ -775,6 +845,7 @@
"remove_message": "The burning pain subsides, but the damage is done.",
"show_intensity": false,
"rating": "bad",
"immune_bp_flags": [ "BIONIC_LIMB" ],
"resist_traits": [ "POISRESIST" ],
"blood_analysis_description": "Necrotizing Venom",
"resist_effects": [ "prophylactic_antivenom" ],
Expand Down Expand Up @@ -808,6 +879,7 @@
"rating": "bad",
"resist_traits": [ "POISRESIST" ],
"blood_analysis_description": "Systemic Inflammatory Agents",
"immune_bp_flags": [ "BIONIC_LIMB" ],
"speed_name": "Poisoned",
"resist_effects": [ "prophylactic_antivenom" ],
"max_intensity": 125,
Expand Down Expand Up @@ -861,6 +933,7 @@
"int_decay_tick": 90,
"int_decay_remove": true,
"resist_traits": [ "ELFA_NV" ],
"immune_bp_flags": [ "BIONIC_LIMB" ],
"base_mods": { "per_mod": [ -3, 0 ] },
"scaling_mods": { "per_mod": [ -2, -1 ] },
"limb_score_mods": [
Expand Down Expand Up @@ -934,6 +1007,7 @@
"rating": "bad",
"max_intensity": 20,
"resist_traits": [ "POISRESIST" ],
"immune_bp_flags": [ "BIONIC_LIMB" ],
"resist_effects": [ "prophylactic_antivenom" ],
"int_add_val": 1,
"int_decay_tick": 600,
Expand Down Expand Up @@ -2176,6 +2250,7 @@
"remove_memorial_log": "Recovered from a bite wound.",
"apply_message": "The bite wound feels really deep…",
"resist_traits": [ "INFRESIST" ],
"immune_bp_flags": [ "BIONIC_LIMB" ],
"main_parts_only": true,
"rating": "bad",
"int_dur_factor": "30 m",
Expand Down Expand Up @@ -2722,6 +2797,7 @@
"desc": [ "Your %s is frostnipped and has gone numb.", "Your %s is frostbitten! Its tissues are frozen from the cold!" ],
"part_descs": true,
"speed_name": "Frostbite",
"immune_bp_flags": [ "BIONIC_LIMB" ],
"dur_add_perc": 0,
"max_intensity": 2,
"scaling_mods": { "speed_mod": [ -5 ] },
Expand All @@ -2740,6 +2816,7 @@
"id": "frostbite_recovery",
"name": [ "Defrosting" ],
"desc": [ "Your %s is starting to feel the damage cold has wrought." ],
"immune_bp_flags": [ "BIONIC_LIMB" ],
"part_descs": true,
"base_mods": { "pain_max_val": [ 40 ], "pain_chance": [ 2 ], "pain_min": [ 1 ] }
},
Expand All @@ -2751,6 +2828,7 @@
"main_parts_only": true,
"part_descs": true,
"miss_messages": [ [ "Your blisters distract you", 1 ] ],
"immune_bp_flags": [ "BIONIC_LIMB" ],
"base_mods": {
"dex_mod": [ -1 ],
"str_mod": [ -1 ],
Expand All @@ -2765,6 +2843,7 @@
{
"type": "effect_type",
"id": "dermatik",
"immune_bp_flags": [ "BIONIC_LIMB" ],
"blood_analysis_description": "Insect Parasite"
},
{
Expand All @@ -2776,6 +2855,7 @@
"rating": "bad",
"resist_effects": [ "took_flumed", "took_antihistamine" ],
"main_parts_only": true,
"immune_bp_flags": [ "BIONIC_LIMB" ],
"max_intensity": 3,
"base_mods": { "str_mod": [ -0.34 ], "int_mod": [ -1 ] },
"scaling_mods": { "str_mod": [ -0.34 ], "int_mod": [ -1 ] }
Expand Down Expand Up @@ -3073,7 +3153,22 @@
"rating": "good",
"max_intensity": 2,
"int_dur_factor": "50 s",
"removes_effects": [ "infected", "bite", "bleed", "fungus", "dermatik", "winded", "poison", "badpoison", "venom_dmg", "venom_weaken" ],
"removes_effects": [
"infected",
"bite",
"bleed",
"fungus",
"dermatik",
"poison",
"badpoison",
"venom_dmg",
"venom_weaken",
"winded",
"winded_leg_l",
"winded_leg_r",
"winded_arm_l",
"winded_arm_r"
],
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -2 ], "per_mod": [ -2 ], "int_mod": [ -1 ] },
"scaling_mods": { "str_mod": [ 2 ], "dex_mod": [ 3 ], "per_mod": [ 3 ], "int_mod": [ 1 ] },
"blood_analysis_description": "Healing Medication"
Expand All @@ -3088,7 +3183,7 @@
"rating": "good",
"max_intensity": 2,
"int_dur_factor": "50 s",
"removes_effects": [ "winded" ],
"removes_effects": [ "winded", "winded_leg_l", "winded_leg_r", "winded_arm_l", "winded_arm_r" ],
"base_mods": { "speed_mod": [ -5 ], "dex_mod": [ -2 ], "per_mod": [ -1 ], "int_mod": [ -2 ] },
"scaling_mods": {
"speed_mod": [ 15 ],
Expand All @@ -3112,7 +3207,7 @@
"miss_messages": [ [ "Your comedown throws you off.", 1 ] ],
"max_intensity": 2,
"int_dur_factor": "150 s",
"removes_effects": [ "winded" ],
"removes_effects": [ "winded", "winded_leg_l", "winded_leg_r", "winded_arm_l", "winded_arm_r" ],
"base_mods": {
"speed_mod": [ -10 ],
"str_mod": [ -2 ],
Expand Down Expand Up @@ -3443,6 +3538,7 @@
"apply_message": "Your skin starts burning around some of your scratches. Some aspirin might relieve the effects.",
"remove_message": "The fever breaks.",
"rating": "bad",
"immune_bp_flags": [ "BIONIC_LIMB" ],
"resist_effects": [ "aspirin" ],
"base_mods": {
"stamina_min": [ -50 ],
Expand Down
6 changes: 4 additions & 2 deletions data/json/monster_special_attacks/monster_attacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@
"no_dmg_msg_u": "%1$s tries to sting your %2$s, but it fails to penetrate your armor.",
"no_dmg_msg_npc": "%1$s tries to sting <npcname>, but it fails to penetrate their armor.",
"dodgeable": true,
"blockable": true
"blockable": true,
"effects_require_organic": true
},
{
"type": "monster_attack",
Expand All @@ -550,7 +551,8 @@
"miss_msg_u": "%1$s tries to sting you, but you dodge!",
"miss_msg_npc": "%1$s tries to sting <npcname>, but they dodge!",
"no_dmg_msg_u": "%1$s's stinger bounces off your %2$s.",
"no_dmg_msg_npc": "%1$s tries to sting <npcname>, but it fails to penetrate their armor."
"no_dmg_msg_npc": "%1$s tries to sting <npcname>, but it fails to penetrate their armor.",
"effects_require_organic": true
},
{
"type": "monster_attack",
Expand Down
Loading
Loading