Jelajahi Sumber

obj_din_wait -> wait

Stephan Fuchs 7 bulan lalu
induk
melakukan
6fddc3dbed

+ 1 - 1
sugarcube/src/PassageFooter.tw

@@ -39,7 +39,7 @@
 
 		<<if _tags.includes('outdoors') and _tags.includes('public')>>>>
 			<<actCLA 'Wait'>>
-				<<gs 'obj_din_wait'>>
+				<<gs 'wait'>>
 			<</actCLA>>
 		<</if>>
 		

+ 13 - 0
sugarcube/src/activities/wait.tw

@@ -0,0 +1,13 @@
+:: wait[include]
+	<<set $waitTime ??= 15>>
+	<p>
+		How many minutes would you like to wait? <<numberbox "$waitTime" $waitTime>> (maximum 120 minutes, leave blank to wait 15 minutes)
+		<<button "Wait">>
+			<<if $waitTime > 120 or $waitTime <= 0>>
+				<<msg "You need to enter a integer between 1 and 120." "info">>
+			<<else>>
+				<<addtime $waitTime>>
+				<<gt $location>>
+			<</if>>
+		<</button>>
+	</p>

+ 1 - 1
sugarcube/src/autogenerated/unsorted/divan.tw

@@ -7,7 +7,7 @@
 	<<image "shared/home/divan.jpg">>
 	You lie down on the sofa.
 	<<actCLA 'wait'>>
-		<<gs 'obj_din_wait'>>
+		<<gs 'wait'>>
 	<</actCLA>>
 	<<if getvar("$TV") > 0 and $loc != 'dachain'>>
 		<<actCLA 'Watch TV'>>

+ 1 - 1
sugarcube/src/autogenerated/unsorted/gas_station_gp_117.tw

@@ -59,7 +59,7 @@
 
 	<</if>>
 	<<actCLA 'Wait'>>
-		<<gs 'obj_din_wait'>>
+		<<gs 'wait'>>
 	<</actCLA>>
 	<<set $dressed_as_a_prostitute to null>>
 <</if>>

+ 1 - 1
sugarcube/src/autogenerated/unsorted/mey_home.tw

@@ -299,7 +299,7 @@
 		<<gt 'bed' 'start'>>
 	<</actCLA>>
 	<<actCLA 'Wait'>>
-		<<gs 'obj_din_wait'>>
+		<<gs 'wait'>>
 	<</actCLA>>
 	<<gs 'prostitution_functions' 'prostitute_outfit_at_home'>>
 	<!-- !!if rand(0,2) ! 0:gs 'din_bad' & dynamic $mobile_check-->

+ 0 - 15
sugarcube/src/menu/characterOverview.tw

@@ -4213,21 +4213,6 @@
 		<</if>>
 	<</if>>
 <</if>>*/
-:: obj_din_wait
-	<<set $waitTime ??= 15>>
-	<p>
-		How many minutes would you like to wait? <<numberbox "$waitTime" $waitTime>> (maximum 120 minutes, leave blank to wait 15 minutes)
-		<<button "Wait">>
-			<<if $waitTime > 120 or $waitTime <= 0>>
-				<<msg "You need to enter a integer between 1 and 120." "info">>
-			<<else>>
-				<<addtime $waitTime>>
-				<<gt $location>>
-			<</if>>
-		<</button>>
-	</p>
-
-
 
 :: obj_din_rest
 	<<set $waiting = input ("How long would you like to rest?<br>(Default 15 minutes, maximum 120 minutes)")>>