diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-05-31 14:09:18 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-05-31 14:09:18 -0700 |
commit | b417c4b089561925a13aedfb455623615927bd92 (patch) | |
tree | 2c7322889fa1084899ac3dd142e689cf518ba30f /custom.patch | |
parent | Add patch and seds to compile with gcc11 (diff) | |
download | cataclysm-bn-b417c4b089561925a13aedfb455623615927bd92.tar.xz |
Updated to 1918
Fix VERSION again
More reflink
Remove obsolete ZLEVELS=1 cmakeflag
Update custom patch so vampire and gynoid dreams work
Diffstat (limited to 'custom.patch')
-rw-r--r-- | custom.patch | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/custom.patch b/custom.patch index 15b5ef5..8affbee 100644 --- a/custom.patch +++ b/custom.patch @@ -159,7 +159,31 @@ "TROGLO2", "TROGLO3", "URSINE_FUR", -+ "VAMPSKIN", ++ "VAMP_SKIN", "VISCOUS" ], "order": 1500 +--- a/src/player_hardcoded_effects.cpp ++++ b/src/player_hardcoded_effects.cpp +@@ -114,7 +114,9 @@ + static const trait_id trait_NOPAIN( "NOPAIN" ); + static const trait_id trait_SEESLEEP( "SEESLEEP" ); + static const trait_id trait_SCHIZOPHRENIC( "SCHIZOPHRENIC" ); ++static const trait_id trait_THRESH_GYNOID( "THRESH_GYNOID" ); + static const trait_id trait_THRESH_MYCUS( "THRESH_MYCUS" ); ++static const trait_id trait_THRESH_VAMP( "THRESH_VAMP" ); + static const trait_id trait_WATERSLEEP( "WATERSLEEP" ); + + static void eff_fun_onfire( player &u, effect &it ) +@@ -1095,6 +1097,11 @@ + // Determine the strength of effects or dreams based upon category strength + int strength = 0; // Category too weak for any effect or dream + if( crossed_threshold() ) { ++ if( has_trait( trait_THRESH_VAMP ) ) { ++ highcat = "VAMP"; ++ } else if( has_trait( trait_THRESH_GYNOID ) ) { ++ highcat = "GYNOID"; ++ } + strength = 4; // Post-human. + } else if( highest >= 20 && highest < 35 ) { + strength = 1; // Low strength |