This is comment for paste
arszi_psy.script
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fixes:
- - Many typos, undeclared variables, wrong values (like c_psy_stage_2 = math.min(c_psy_stage_2, (c_psy_stage_1 - 1) in line 43, that result in negative c_psy_stage_2 blocking PSY STAGE 2 from being activated)
- - Fixed state_anomaly_zone_close check in stress_multiplier calculation.
- Refactorization:
- - Replaced many local functions to Anomaly's native functions, like printdbg, bind_campfire.get_nearby_campfire and clamp.
- - Replaced some checks by math.min and math.max to increase readability
- Optimizations:
- - Changed some check functions to flag setter and replacing the function calling to flag read to prevent repeated checks per tick.
- Implementations:
- - Bleed, Thirst, Hunger and Sleepiness increases stress_multiplier.
- - Bleed increases psy_wound_stress.
- - Increased the curve rate of psy_wound_stress (max psy damage still the same, but now the max damage occur with ~30% of HP).
- - campfire regeneration bonus is applied only if player is not in combat (check in line 473).
- - Stay in base or nearly campfire increases booster effect.
- - Sleep inside bases have more psy heal effect than use sleepbag.
- - Adjusted whisper sound volume and progressive volume increase (to return to initial volume, just change c_sound_zombified_volume in line 57 to 4).
- - Musical instruments recovers psy health (Commented due necessity of editing itms_manager.script, to re-enable uncomment the function get_playing_music_bonus() and the bonus sum in line 467 and apply the modifications to itms_manager.script).
Advertisement
Add Comment
Please, Sign In to add comment