Browse Source

[Added] Lactation Opt Out cheat which will switch off any lactation based mechanism in the game (even for pregnancy).

sandra_schulz 5 năm trước cách đây
mục cha
commit
f60b84d6d7
3 tập tin đã thay đổi với 32 bổ sung1 xóa
  1. 15 0
      locations/Cheatmenu_din.qsrc
  2. 3 1
      locations/femcyc.qsrc
  3. 14 0
      locations/lact_lib.qsrc

+ 15 - 0
locations/Cheatmenu_din.qsrc

@@ -275,6 +275,18 @@ $cheatmenu['cheat_NoPregnancy'] = {
 	end
 }
 
+$cheatmenu['cheat_NoLactation'] = {
+	if cheat_NoLactation = 1:
+		killvar 'cheat_NoLactation'
+		$cheat_NoLactation = 'YES'
+		dynamic $cheatmenu['permanent']
+	else
+		cheat_Nolactation = 1
+		$cheat_NoLactation = 'NO'
+		dynamic $cheatmenu['permanent']
+	end
+}
+
 $cheatmenu['Vibrator'] = {
 	if cheatVib = 0:
 		cheatVib = 1
@@ -365,6 +377,8 @@ $cheatmenu['permanent'] = {
 	if autocombat_cheat = 1:$autocombat_cheat = 'Currently ON'
 	if cheat_NoPregnancy = 0:$cheat_NoPregnancy = 'Currently OFF'
 	if cheat_NoPregnancy = 1:$cheat_NoPregnancy = 'Currently ON'
+	if cheat_NoLactation = 0:$cheat_NoLactation = 'Currently OFF'
+	if cheat_NoLactation = 1:$cheat_NoLactation = 'Currently ON'
 	if cheatBimbo = 0:$cheatBimbo = 'Currently OFF'
 	if cheatBimbo = 1:$cheatBimbo = 'Currently ON'
 	if cumeater_cheat = 0:$cheatcumtrait = 'Currently OFF'
@@ -414,6 +428,7 @@ $cheatmenu['permanent'] = {
 	'Set arousal to always be at 50 or more: <a href="exec:dynamic $cheatmenu[''cheatHorny'']"><<$cheatHorny>></a>'
 	'Turn off periods (and pregnancies): <a href="exec:dynamic $cheatmenu[''slutshot'']"><<$cheatSlut>></a>'
 	'Impregnation is no longer in the game: <a href="exec:dynamic $cheatmenu[''cheat_NoPregnancy'']"><<$cheat_nopregnancy>></a>'
+	'Lactation is no longer in the game: <a href="exec:dynamic $cheatmenu[''cheat_NoLactation'']"><<$cheat_nolactation>></a>'
 	'Disable STDs: <a href="exec:dynamic $cheatmenu[''health'']"><<$cheatHealth>></a>'
 	
 	*nl

+ 3 - 1
locations/femcyc.qsrc

@@ -205,7 +205,9 @@ if $ARGS[0] = '':
 		KILLVAR 'ctemp'
 	end
 
-
+	if cheat_NoLactation = 1:
+		gs 'lact_lib','lactate_optout'
+	end
 	!! new milkgrowday function.
 	!! Not lactating yet, but there was milkdemand, meaning someone worked your nipples and breasts.
 	if lactate = 0 and milkoverdemand >= 0 and prolactinlvl >= 0:

+ 14 - 0
locations/lact_lib.qsrc

@@ -1,5 +1,19 @@
 # lact_lib
 
+if $ARGS[0] = 'lactate_optout':
+	!! func('lact_lib','lactate_optout')
+	!! use gs 'lact_lib','lactate_optout'
+	!! Used for switching off all lactation related content
+	lactate = 0
+	prolactinlvl = 0
+	lactatemess = 0
+	lact_engorgement = 0
+	lactatemv = 0
+	lactatemm = 0
+	lactaterate = 0
+	milk_demand = 0
+end
+
 if $ARGS[0] = 'view_milk_bottles':
 	!! func('lact_lib', 'view_milk_bottles', location_id)
 	!! use gs 'lact_lib','view_milk_bottles', 2