@@ -39,7 +39,7 @@
<<if _tags.includes('outdoors') and _tags.includes('public')>>>>
<<actCLA 'Wait'>>
- <<gs 'obj_din_wait'>>
+ <<gs 'wait'>>
<</actCLA>>
<</if>>
@@ -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>
@@ -7,7 +7,7 @@
<<image "shared/home/divan.jpg">>
You lie down on the sofa.
<<actCLA 'wait'>>
<<if getvar("$TV") > 0 and $loc != 'dachain'>>
<<actCLA 'Watch TV'>>
@@ -59,7 +59,7 @@
<<set $dressed_as_a_prostitute to null>>
@@ -299,7 +299,7 @@
<<gt 'bed' 'start'>>
<<gs 'prostitution_functions' 'prostitute_outfit_at_home'>>
<!-- !!if rand(0,2) ! 0:gs 'din_bad' & dynamic $mobile_check-->
@@ -4213,21 +4213,6 @@
<</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)")>>