From b417c4b089561925a13aedfb455623615927bd92 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 31 May 2021 14:09:18 -0700 Subject: Updated to 1918 Fix VERSION again More reflink Remove obsolete ZLEVELS=1 cmakeflag Update custom patch so vampire and gynoid dreams work --- custom.patch | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'custom.patch') 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 -- cgit v1.2.1