From 9e6d5ed0fabb5af82de2119f37a603e148bbcf87 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Fri, 12 Mar 2021 17:10:03 -0800 Subject: Add patch for gynoid and vampire custom traits --- custom.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 custom.patch (limited to 'custom.patch') diff --git a/custom.patch b/custom.patch new file mode 100644 index 0000000..ccac036 --- /dev/null +++ b/custom.patch @@ -0,0 +1,21 @@ +--- a/src/suffer.cpp ++++ b/src/suffer.cpp +@@ -118,6 +118,8 @@ + static const trait_id trait_FRESHWATEROSMOSIS( "FRESHWATEROSMOSIS" ); + static const trait_id trait_GILLS( "GILLS" ); + static const trait_id trait_GILLS_CEPH( "GILLS_CEPH" ); ++static const trait_id trait_THRESH_GYNOID( "THRESH_GYNOID" ); ++static const trait_id trait_THRESH_VAMP( "THRESH_VAMP" ); + static const trait_id trait_JITTERY( "JITTERY" ); + static const trait_id trait_KILLER( "KILLER" ); + static const trait_id trait_LEAVES( "LEAVES" ); +@@ -245,7 +247,8 @@ + + void Character::suffer_while_underwater() + { +- if( !has_trait( trait_GILLS ) && !has_trait( trait_GILLS_CEPH ) ) { ++ if( !has_trait( trait_GILLS ) && !has_trait( trait_GILLS_CEPH ) && ++ !has_trait( trait_THRESH_GYNOID ) && !has_trait( trait_THRESH_VAMP ) ) { + oxygen--; + } + if( oxygen < 12 && worn_with_flag( "REBREATHER" ) ) { -- cgit v1.2.1