|
@@ -20,7 +20,67 @@
|
|
|
!locat['A154'] = 9 (Radomir is at work at music store in mall Mon-Fri 8 to 17)
|
|
|
!---------------------------------------------
|
|
|
|
|
|
+locat['A158'] = 3
|
|
|
|
|
|
+!! For the moment based on the standard schedule. Should be adjusted to City schedule.
|
|
|
+
|
|
|
+if week = 1:
|
|
|
+ if hour >= 8 and hour < 17:
|
|
|
+ locat['A158'] = 9
|
|
|
+ end
|
|
|
+elseif week = 2:
|
|
|
+ if hour >= 8 and hour < 17:
|
|
|
+ locat['A158'] = 9
|
|
|
+ end
|
|
|
+elseif week = 3:
|
|
|
+ if hour >= 8 and hour < 17:
|
|
|
+ locat['A158'] = 9
|
|
|
+ elseif hour >= 18 and hour < 23:
|
|
|
+ locat['A158'] = 8
|
|
|
+ end
|
|
|
+elseif week = 4:
|
|
|
+ if hour >= 8 and hour < 17:
|
|
|
+ locat['A158'] = 9
|
|
|
+ end
|
|
|
+elseif week = 5:
|
|
|
+ if hour >= 8 and hour < 17:
|
|
|
+ locat['A158'] = 9
|
|
|
+ elseif hour >= 20:
|
|
|
+ locat['A158'] = 0
|
|
|
+ end
|
|
|
+elseif week = 6:
|
|
|
+ if hour >= 20:
|
|
|
+ locat['A158'] = 0
|
|
|
+ end
|
|
|
+elseif week = 7:
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'getLocation':
|
|
|
+ !Set the text for the current NPC ID
|
|
|
+ if locat['A158'] = 0:
|
|
|
+ npcLocation['A144'] = 'Radomir not home Fri and Sat 20:00 for rest of night.'
|
|
|
+ elseif locat['A158'] = 1:
|
|
|
+ npcLocation['A144'] = 'Radomir in the hallway.'
|
|
|
+ elseif locat['A158'] = 2:
|
|
|
+ npcLocation['A144'] = 'Radomir in Anushka''s room.'
|
|
|
+ elseif locat['A158'] = 3:
|
|
|
+ npcLocation['A144'] = 'Radomir in Radomir''s room.'
|
|
|
+ elseif locat['A158'] = 4:
|
|
|
+ npcLocation['A144'] = 'Radomir in the kitchen.'
|
|
|
+ elseif locat['A158'] = 5:
|
|
|
+ npcLocation['A144'] = 'Radomir in the livingroom.'
|
|
|
+ elseif locat['A158'] = 6:
|
|
|
+ npcLocation['A144'] = 'Radomir in Valentin''s and Arkadi''s room.'
|
|
|
+ elseif locat['A158'] = 7:
|
|
|
+ npcLocation['A144'] = 'Radomir in the bathroom.'
|
|
|
+ elseif locat['A158'] = 8:
|
|
|
+ npcLocation['A144'] = 'Radomir is in the garage with the band.'
|
|
|
+ elseif locat['A158'] = 9:
|
|
|
+ npcLocation['A144'] = 'Radomir is at work, mechanic Mon-Fri 8 to 17.'
|
|
|
+ elseif locat['A158'] = 10:
|
|
|
+ npcLocation['A144'] = 'Radomir is in the garage working on his bike Mon 17-23.'
|
|
|
+ end
|
|
|
+end
|
|
|
|
|
|
|
|
|
--- radomir_popov_schedule ---------------------------------
|