|
@@ -172,6 +172,10 @@ if $ARGS[0] = 'hallway':
|
|
|
CLOSE ALL
|
|
|
if sound = 0:PLAY 'sound/korr.mp3',30
|
|
|
$location_type = 'indoors'
|
|
|
+ $metkaM = $ARGS[0]
|
|
|
+ $locM = 'hallway'
|
|
|
+ $metka = $ARGS[0]
|
|
|
+ $loc = 'hallway'
|
|
|
*clr & cla
|
|
|
minut += 1
|
|
|
gs 'stat'
|
|
@@ -193,14 +197,14 @@ if $ARGS[0] = 'hallway':
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'bathroom':
|
|
|
- if ArtemLoc ! 3:
|
|
|
- CLOSE ALL
|
|
|
+ CLOSE ALL
|
|
|
$menu_loc = 'artemhome'
|
|
|
$menu_arg = 'bathroom'
|
|
|
$metka = 'bathroom'
|
|
|
$loc = 'artemhome'
|
|
|
$metkaM = 'bathroom'
|
|
|
$locM = 'artemhome'
|
|
|
+ if ArtemLoc ! 3:
|
|
|
menu_off = 0
|
|
|
*clr & cla
|
|
|
minut += 1
|
|
@@ -248,6 +252,10 @@ end
|
|
|
if $ARGS[0] = 'artemroom':
|
|
|
$menu_loc = 'artemhome'
|
|
|
$menu_arg = 'artemroom'
|
|
|
+ $metkaM = $ARGS[0]
|
|
|
+ $locM = 'artemroom'
|
|
|
+ $metka = $ARGS[0]
|
|
|
+ $loc = 'artemroom'
|
|
|
menu_off = 0
|
|
|
$locclass = 'bedr'
|
|
|
CLOSE ALL
|
|
@@ -553,6 +561,10 @@ end
|
|
|
if $ARGS[0] = 'livingroom':
|
|
|
$menu_loc = 'artemhome'
|
|
|
$menu_arg = 'livingroom'
|
|
|
+ $metkaM = $ARGS[0]
|
|
|
+ $locM = 'livingroom'
|
|
|
+ $metka = $ARGS[0]
|
|
|
+ $loc = 'livingroom'
|
|
|
menu_off = 0
|
|
|
CLOSE ALL
|
|
|
*clr & cla
|
|
@@ -821,8 +833,10 @@ if $ARGS[0] = 'livingroom':
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'kitchen':
|
|
|
- $loc = 'artemhome'
|
|
|
- $metka = 'kitchen'
|
|
|
+ $metkaM = $ARGS[0]
|
|
|
+ $locM = 'kitchen'
|
|
|
+ $metka = $ARGS[0]
|
|
|
+ $loc = 'kitchen'
|
|
|
$menu_loc = 'artemhome'
|
|
|
$menu_arg = 'kitchen'
|
|
|
menu_off = 0
|
|
@@ -1077,6 +1091,10 @@ end
|
|
|
if $ARGS[0] = 'artemparents':
|
|
|
$menu_loc = 'artemhome'
|
|
|
$menu_arg = 'artemparents'
|
|
|
+ $metkaM = $ARGS[0]
|
|
|
+ $locM = 'artemparents'
|
|
|
+ $metka = $ARGS[0]
|
|
|
+ $loc = 'artemparents'
|
|
|
menu_off = 0
|
|
|
CLOSE ALL
|
|
|
*clr & cla
|