summaryrefslogtreecommitdiff
path: root/custom.patch
diff options
context:
space:
mode:
Diffstat (limited to 'custom.patch')
-rw-r--r--custom.patch26
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