1
0
Переглянути джерело

[added] a cheat menu option to never shave legs

acien 1 рік тому
батько
коміт
d353ad4d21
2 змінених файлів з 17 додано та 0 видалено
  1. 14 0
      locations/Cheatmenu_din.qsrc
  2. 3 0
      locations/stat.qsrc

+ 14 - 0
locations/Cheatmenu_din.qsrc

@@ -488,6 +488,17 @@ $cheatmenu['street_rapists'] = {
 	end
 }
 
+$cheatmenu['shaveLegs'] = {
+	if cheatShaveLegs = 0:
+		cheatShaveLegs = 1
+		dynamic $cheatmenu['permanent']
+		exit
+	elseif cheatShaveLegs = 1:
+		cheatShaveLegs = 0
+		dynamic $cheatmenu['permanent']
+	end
+}
+
 $cheatmenu['permanent'] = {
 	gs'stat'
 	*clr & cla
@@ -556,6 +567,8 @@ $cheatmenu['permanent'] = {
 	if cheat_street_robbers = 1: $cheat_street_robbers = 'Disabled'
 	if cheat_street_rapists = 0: $cheat_street_rapists = 'Enabled'
 	if cheat_street_rapists = 1: $cheat_street_rapists = 'Disabled'
+	if cheatShaveLegs = 0: $cheatShaveLegs = 'Enabled'
+	if cheatShaveLegs = 1: $cheatShaveLegs = 'Disabled'
 
 	'<center><h1>Cheat Menu - Recurrent Cheats</h1></center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Disabling states may cause some events not to trigger. Use at your own risk!</center>'
@@ -572,6 +585,7 @@ $cheatmenu['permanent'] = {
 	'Never unhappy: <a href="exec:dynamic $cheatmenu[''noMood'']"><<$cheatNoMood>></a>'
 	'Never lose or gain weight: <a href="exec:dynamic $cheatmenu[''noFat'']"><<$cheatNoFat>></a>'
 	'Never get addicted: <a href="exec:dynamic $cheatmenu[''addict'']"><<$NarkImmune>></a>'
+	'Never shave legs: <a href="exec:dynamic $cheatmenu[''shaveLegs'']"><<$cheatShaveLegs>></a>'
 
 	if Enable_sforma = 1:
 		'Allow any clothing for school: <a href="exec:Enable_sforma = 0 & dynamic $cheatmenu[''permanent'']">Currently ON</a>'

+ 3 - 0
locations/stat.qsrc

@@ -65,6 +65,9 @@ if cheatNoSweat = 1 and pcs_sweat > 0: pcs_sweat = 0
 if cheatNoEat = 1:
 	if pcs_energy < 60: pcs_energy = 60
 end
+if cheatShaveLegs = 1:
+	if pcs_leghair > 0: pcs_leghair = 0
+end
 if cheatNoDrink = 1:
 	if pcs_hydra < 60: pcs_hydra = 60
 end