Bläddra i källkod

[fixed] Added unique variables for tracking clothing when going to bed so you should put the same thing back on as you took off

Kevin_Smarts 2 år sedan
förälder
incheckning
65f6b9a056
2 ändrade filer med 34 tillägg och 4 borttagningar
  1. 21 3
      locations/bed2.qsrc
  2. 13 1
      locations/city_sauna.qsrc

+ 21 - 3
locations/bed2.qsrc

@@ -53,6 +53,12 @@ if $ARGS[0] = '':
 		end
 		if succubusQW = 2:
 			act '<<$sleep_txt>>':
+				$lastwornclothingtype['bed'] = $clothingworntype
+				lastwornclothingnumber['bed'] = clothingwornnumber
+				$lastwornpantytype['bed'] = $pantyworntype
+				lastwornpantynumber['bed'] = pantywornnumber
+				$lastwornbratype['bed'] = $braworntype
+				lastwornbranumber['bed'] = braworntypenumber
 				menu_off = 1
 				if bedPanty = 2:
 					gs 'underwear', 'remove'
@@ -67,6 +73,12 @@ if $ARGS[0] = '':
 			end
 		else
 			act '<<$sleep_txt>>':
+				$lastwornclothingtype['bed'] = $clothingworntype
+				lastwornclothingnumber['bed'] = clothingwornnumber
+				$lastwornpantytype['bed'] = $pantyworntype
+				lastwornpantynumber['bed'] = pantywornnumber
+				$lastwornbratype['bed'] = $braworntype
+				lastwornbranumber['bed'] = brawornnumber
 				menu_off = 1
 				if bedPanty = 2:
 					gs 'underwear', 'remove'
@@ -430,7 +442,9 @@ if $ARGS[0] = 'wake_horny':
 	if strip_here = 1:
 		act 'Get out of bed and get dressed (0:15)':
 			minut += 15
-			gs 'clothing', 'wear_last_worn'
+			gs 'clothing', 'wear', $lastwornclothingtype['bed'], lastwornclothingnumber['bed']
+			gs 'panties', 'wear', $lastwornpantytype['bed'], lastwornpantynumber['bed']
+			gs 'bras', 'wear', $lastwornbratype['bed'], lastwornbranumber['bed']
 			if bed['shoetype'] ! 'none':
 				gs 'shoes', 'wear', $bed['shoetype'], bed['shoenumber']
 			end
@@ -492,7 +506,9 @@ if $ARGS[0] = 'wake':
 	if strip_here = 1:
 		act 'Get out of bed and get dressed (0:15)':
 			minut += 15
-			gs 'clothing', 'wear_last_worn'
+			gs 'clothing', 'wear', $lastwornclothingtype['bed'], lastwornclothingnumber['bed']
+			gs 'panties', 'wear', $lastwornpantytype['bed'], lastwornpantynumber['bed']
+			gs 'bras', 'wear', $lastwornbratype['bed'], lastwornbranumber['bed']
 			if bed['shoetype'] ! 'none':
 				gs 'shoes', 'wear', $bed['shoetype'], bed['shoenumber']
 			end
@@ -503,7 +519,9 @@ if $ARGS[0] = 'wake':
 		act 'Full morning routine (01:00)':
 			minut += 15
 			fullmorrout = 1
-			gs 'clothing', 'wear_last_worn'
+			gs 'clothing', 'wear', $lastwornclothingtype['bed'], lastwornclothingnumber['bed']
+			gs 'panties', 'wear', $lastwornpantytype['bed'], lastwornpantynumber['bed']
+			gs 'bras', 'wear', $lastwornbratype['bed'], lastwornbranumber['bed']
 			if bed['shoetype'] ! 'none':
 				gs 'shoes', 'wear', $bed['shoetype'], bed['shoenumber']
 			end

+ 13 - 1
locations/city_sauna.qsrc

@@ -194,12 +194,24 @@ if $ARGS[0] = 'saunaroom':
 		end
 		if succubusQW = 2:
 			act '<<$sleep_txt>>':
+				$lastwornclothingtype['bed'] = $clothingworntype
+				lastwornclothingnumber['bed'] = clothingwornnumber
+				$lastwornpantytype['bed'] = $pantyworntype
+				lastwornpantynumber['bed'] = pantywornnumber
+				$lastwornbratype['bed'] = $braworntype
+				lastwornbranumber['bed'] = brawornnumber
 				if $clothingworntype ! 'nude': gs 'clothing', 'strip'
 				gt 'bed2', 'succhoice'
 			end
 		else
 			if workDolg > 0 or money >= 850:
 				act '<<$sleep_txt>>':
+					$lastwornclothingtype['bed'] = $clothingworntype
+					lastwornclothingnumber['bed'] = clothingwornnumber
+					$lastwornpantytype['bed'] = $pantyworntype
+					lastwornpantynumber['bed'] = pantywornnumber
+					$lastwornbratype['bed'] = $braworntype
+					lastwornbranumber['bed'] = brawornnumber
 					if workDolg > 0:
 						workDolg += 850
 					elseif workDolg <= 0:
@@ -221,7 +233,7 @@ if $ARGS[0] = 'saunaroom':
 				end
 				killvar '$sleep_txt'
 			else
-				'<br>You don''t have enough money to sleep her tonight.'
+				'<br>You don''t have enough money to sleep here tonight.'
 			end
 		end
 	end