Skip to content

Commit

Permalink
Add immunities scheme declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Mar 9, 2024
1 parent deb0e4f commit 950878e
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engine/configs/creatures/actor.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ quick_item_3 = antirad
quick_item_4 = conserva

[actor_immunities_gd_novice]
$scheme = $immunities
burn_immunity = 0.3
strike_immunity = 0.3
shock_immunity = 0.3
Expand All @@ -104,6 +105,7 @@ explosion_immunity = 0.05
fire_wound_immunity = 0.15

[actor_immunities_gd_stalker]
$scheme = $immunities
burn_immunity = 0.7
strike_immunity = 0.5
shock_immunity = 0.7
Expand All @@ -115,6 +117,7 @@ explosion_immunity = 0.15
fire_wound_immunity = 0.5

[actor_immunities_gd_veteran]
$scheme = $immunities
burn_immunity = 0.85
strike_immunity = 0.75
shock_immunity = 0.85
Expand All @@ -126,6 +129,7 @@ explosion_immunity = 0.5
fire_wound_immunity = 0.75

[actor_immunities_gd_master]
$scheme = $immunities
burn_immunity = 1.0
strike_immunity = 1.0
shock_immunity = 1.0
Expand Down
10 changes: 10 additions & 0 deletions src/engine/configs/creatures/creatures.scheme.ltx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[$immunities]
burn_immunity.type = f32
strike_immunity.type = f32
shock_immunity.type = f32
wound_immunity.type = f32
radiation_immunity.type = f32
telepatic_immunity.type = f32
chemical_burn_immunity.type = f32
explosion_immunity.type = f32
fire_wound_immunity.type = f32
4 changes: 4 additions & 0 deletions src/engine/configs/creatures/m_bloodsucker.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ stand_run_attack_left_0 = 0.30, 0.4, 50, 3.5, 2.0, 0.5, -1.0, 1.0, -1.0, 1.0, 2.
stand_run_attack_right_0 = 0.30, 0.4, 50, 3.5, 2.0, 0.5, -1.0, 1.0, -1.0, 1.0, 2.5

[bloodsucker_immunities]
$scheme = $immunities
burn_immunity = 0.1
strike_immunity = 0.1
shock_immunity = 0.1
Expand Down Expand Up @@ -411,6 +412,7 @@ protections_sect = bloodsucker_protections
invisibility_activate_delay = 5000

[bloodsucker_immunities_weak]
$scheme = $immunities
burn_immunity = 0.1
strike_immunity = 0.1
shock_immunity = 0.1
Expand Down Expand Up @@ -450,6 +452,7 @@ invisibility_activate_delay = 3500
protections_sect = bloodsucker_protections

[bloodsucker_immunities_normal]
$scheme = $immunities
burn_immunity = 0.1
strike_immunity = 0.1
shock_immunity = 0.1
Expand Down Expand Up @@ -490,6 +493,7 @@ invisibility_activate_delay = 1500
protections_sect = bloodsucker_protections

[bloodsucker_immunities_strong]
$scheme = $immunities
burn_immunity = 0.05
strike_immunity = 0.05
shock_immunity = 0.05
Expand Down
3 changes: 3 additions & 0 deletions src/engine/configs/creatures/m_boar.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ stand_steal_0 = 1, 0.2, 1, 0.25, 0.7, 0.7, 1.0, 0.7, 1.0
stand_drag_0 = 1, 0.2, 1, 0.25, 0.7, 0.7, 1.0, 0.7, 1.0

[boar_immunities]
$scheme = $immunities
burn_immunity = 1.0 ; ������������ ����������
strike_immunity = 0.8
shock_immunity = 0.8
Expand Down Expand Up @@ -356,6 +357,7 @@ spec_rank = normal
community = boar

[boar_immunities_normal]
$scheme = $immunities
burn_immunity = 0.2
strike_immunity = 0.2
shock_immunity = 0.2
Expand Down Expand Up @@ -390,6 +392,7 @@ spec_rank = strong
community = boar

[boar_immunities_strong]
$scheme = $immunities
burn_immunity = 0.1
strike_immunity = 0.1
shock_immunity = 0.1
Expand Down
1 change: 1 addition & 0 deletions src/engine/configs/creatures/m_burer.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ skin_armor = 0.5
hit_fraction_monster = 0.2

[burer_immunities]
$scheme = $immunities
burn_immunity = 1.0
strike_immunity = 1.0
shock_immunity = 1.0
Expand Down
2 changes: 2 additions & 0 deletions src/engine/configs/creatures/m_chimera.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ stand_walk_0 = 1, 0.01, 1, 0.25, 0.7,
stand_run_fwd_0 = 1, 0.01, 1, 0.25, 0.6,

[chimera_immunities]
$scheme = $immunities
burn_immunity = 0.1 ; ������������ ����������
strike_immunity = 0.0
shock_immunity = 0.1
Expand Down Expand Up @@ -279,6 +280,7 @@ immunities_sect = chimera_immunities_normal
spec_rank = normal

[chimera_immunities_normal]
$scheme = $immunities
burn_immunity = 0.1
strike_immunity = 0.0
shock_immunity = 0.1
Expand Down
1 change: 1 addition & 0 deletions src/engine/configs/creatures/m_controller.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ stand_run_fwd_0 = 1, 0.01, 1, 0.25, 0.6,
stand_run_dmg_0 = 1, 0.01, 1, 0.25, 0.6,

[controller_immunities]
$scheme = $immunities
burn_immunity = 1.0 ; ������������ ����������
strike_immunity = 0.9
shock_immunity = 1.0
Expand Down
2 changes: 2 additions & 0 deletions src/engine/configs/creatures/m_dog.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ skin_armor = 0.1
hit_fraction_monster = 0.5

[dog_immunities]
$scheme = $immunities
burn_immunity = 1.0 ; ������������ ����������
strike_immunity = 1.0
shock_immunity = 1.0
Expand Down Expand Up @@ -339,6 +340,7 @@ spec_rank = normal
community = dog

[dog_immunities_normal]
$scheme = $immunities
burn_immunity = 0.7
strike_immunity = 0.7
shock_immunity = 0.7
Expand Down
3 changes: 3 additions & 0 deletions src/engine/configs/creatures/m_flesh.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ skin_armor = 0.1
hit_fraction_monster = 0.4

[flesh_immunities]
$scheme = $immunities
burn_immunity = 1.0 ; �����������v ����������
strike_immunity = 1
shock_immunity = 1.0
Expand Down Expand Up @@ -270,6 +271,7 @@ spec_rank = normal
community = flesh

[flesh_immunities_normal]
$scheme = $immunities
burn_immunity = 0.3
strike_immunity = 0.3
shock_immunity = 0.3
Expand Down Expand Up @@ -302,6 +304,7 @@ spec_rank = strong
community = flesh

[flesh_immunities_strong]
$scheme = $immunities
burn_immunity = 0.2
strike_immunity = 0.2
shock_immunity = 0.2
Expand Down
1 change: 1 addition & 0 deletions src/engine/configs/creatures/m_giant.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ ce_power = 1.3 ; 0.7
255,000,255,255

[giant_immunities]
$scheme = $immunities
burn_immunity = 0.1 ; ������������ ����������
strike_immunity = 0.0
shock_immunity = 0.01
Expand Down
3 changes: 3 additions & 0 deletions src/engine/configs/creatures/m_poltergeist.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ stand_run_dmg_0 = 1, 0.2, 1, 0.25, 1, 0.7, 1, 0.75, 1
255,000,255,255

[poltergeist_immunities]
$scheme = $immunities
burn_immunity = 0.3 ; ������������ ����������
strike_immunity = 0.7
shock_immunity = 0.5
Expand Down Expand Up @@ -318,6 +319,7 @@ sound_tele_hold = monsters\burer\burer_tele_hold
sound_tele_throw = monsters\burer\burer_tele_throw

[poltergeist_tele_immunities]
$scheme = $immunities
burn_immunity = 0.5 ; ������������ ����������
strike_immunity = 0.5
shock_immunity = 0.0
Expand Down Expand Up @@ -376,6 +378,7 @@ Hidden_Particles = monsters\polter_linza_00 ; monsters\polter_hidden
Sound_Idle = monsters\poltergeist\fire_idle_0

[poltergeist_flame_immunities]
$scheme = $immunities
burn_immunity = 0.0 ; ������������ ����������
strike_immunity = 0.5
shock_immunity = 0.5
Expand Down
2 changes: 2 additions & 0 deletions src/engine/configs/creatures/m_pseudodog.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ skin_armor = 0.2
hit_fraction_monster = 0.4

[pseudodog_immunities]
$scheme = $immunities
burn_immunity = 1.0 ; �����������v ����������
strike_immunity = 0.5
shock_immunity = 0.5
Expand Down Expand Up @@ -285,6 +286,7 @@ spec_rank = normal
community = pseudodog

[pseudodog_immunities_normal]
$scheme = $immunities
burn_immunity = 1.0
strike_immunity = 1.0
shock_immunity = 1.0
Expand Down
4 changes: 4 additions & 0 deletions src/engine/configs/creatures/m_snork.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ stand_steal_0 = 1, 0.2, 1, 0.25, 0.7, 0.7, 1.0, 0.7, 1.0
; stand_drag_0 = 1, 0.2, 1, 0.25, 0.7, 0.7, 1.0, 0.7, 1.0

[snork_immunities]
$scheme = $immunities
burn_immunity = 0.8 ; ������������ ����������
strike_immunity = 0.8
shock_immunity = 0.8
Expand All @@ -277,6 +278,7 @@ spec_rank = weak
community = snork

[snork_immunities_weak]
$scheme = $immunities
burn_immunity = 0.4 ; ������������ ����������
strike_immunity = 0.4
shock_immunity = 0.4
Expand Down Expand Up @@ -309,6 +311,7 @@ spec_rank = normal
community = snork

[snork_immunities_normal]
$scheme = $immunities
burn_immunity = 0.3 ; ������������ ����������
strike_immunity = 0.3
shock_immunity = 0.3
Expand Down Expand Up @@ -341,6 +344,7 @@ spec_rank = strong
community = snork

[snork_immunities_strong]
$scheme = $immunities
burn_immunity = 0.2 ; ������������ ����������
strike_immunity = 0.2
shock_immunity = 0.2
Expand Down
1 change: 1 addition & 0 deletions src/engine/configs/creatures/m_stalker.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ leg_left = critical_wound_leg_left_section
leg_right = critical_wound_leg_right_section

[stalker_immunities]
$scheme = $immunities
burn_immunity = 0.5 ; ������������ ����������
strike_immunity = 0.5
shock_immunity = 0.5
Expand Down
1 change: 1 addition & 0 deletions src/engine/configs/creatures/m_tushkano.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ bip01_neck = 1.0, -1, 1.5
bip01_head = 2.0, -1, 0.5, 10

[tushkano_immunities]
$scheme = $immunities
burn_immunity = 1 ; ������������ ����������
strike_immunity = 1
shock_immunity = 1
Expand Down

0 comments on commit 950878e

Please sign in to comment.