Parcourir la source

Looking for the time error. When days +1, there is an no [end] found error occuring

Add todos
HotMike il y a 1 an
Parent
commit
7d562a55a0
1 fichiers modifiés avec 9 ajouts et 6 suppressions
  1. 9 6
      locations/anushapt_city.qsrc

+ 9 - 6
locations/anushapt_city.qsrc

@@ -371,7 +371,7 @@ end
 if $ARGS[0] = 'hallway':
 	*clr & cla
 	menu_off = 0
-	if sound = 0:PLAY 'sound/korr.mp3',30
+	if sound = 0:play 'sound/korr.mp3',30
 	gs 'shortgs', 'setloc', 'anushapt_city', $ARGS[0]
 	$location_type = 'indoors'	
 	killvar '$locclass'
@@ -517,21 +517,23 @@ if $ARGS[0] = 'livingroom':
 		act 'Leave': gt 'anushapt_city','hallway'
 		act 'Join Arkadi and Valentin':
 			*clr & cla
+			! Arkadi
 			gs 'npc_relationship', 'modify', 'A156', 'like'
-			minut += 30
-			'<center><img <<$set_imgh>> src="images/shared/food/video_games/videogame_2boys' + rand(1,2) + '.jpg"></center>'
+! Also increase for 158/Valentin?
+			!minut += 30
+			'<center><img <<$set_imgh>> src="images/shared/home/video_games/videogame_2boys' + rand(1,2) + '.jpg"></center>'
 			'You take a seat between the boys and watch as they play games together. Valentin asks you how things have been going and generally makes pleasant conversation with you as he plays. Arkadi mostly ignores you except when you ask him something. He seems very intent on winning his game against Valentin and has no time for talking. After a while you start to get bored just making small talk with Valentin while he is distracted and watching them play games. Eventually you excuse yourself and leave the room, they barely even notice you leave.'
-			act 'Leave the livingroom':gt 'anushapt_city', 'hallway'
+			act 'Leave the livingroom': minut += 30 & gt 'anushapt_city', 'hallway'
 		end
 	elseif week = 6 and hour >= 8 and hour < 20:
-	locat['A158'] = 5
+		locat['A158'] = 5
 		'The room has a couple of recliners and a couch. In front of the couch is a large coffee table. Several empty beer bottles and cups are spread across the table, along with some scattered papers and a pill bottle. Opposite the couch, mounted on the wall is a average size flat screen tv, under it is a tv stand with several game systems and other electronics on it. In one corner is a drum set, there is speakers, amps, guitar''s, bass guitar''s and a variety of other musical electronics, along the two walls not occupied by the TV or couch. The room isn''t exactly messy, but it is far from clean. It doesn''t look like it gets cleaned much more than once a month. The TV is on and Valentin is playing some playstation game on it.'
 		act 'Leave': gt 'anushapt_city','hallway'
 		act 'Join him':
 			*clr & cla
 			gs 'npc_relationship', 'modify', 'A156', 'like'
 			minut += 30
-			'<center><img <<$set_imgh>> src="images/shared/food/video_games/videogame_boy.jpg"></center>'
+			'<center><img <<$set_imgh>> src="images/shared/home/video_games/videogame_boy.jpg"></center>'
 			'You take a seat next to Valentin as he plays video games, after a few minutes he switches games to a two player game. Smiling to him you pick up the other controller and start playing with him. As the two of you play, he asks how things are going for you and politely chats while you play. After a bit you get kinda tired playing the game you are playing and he seems to have no interest in switching games. So you get up and decide to look around the rest of the apartment.'
 			act 'Leave the room': gt 'anushapt_city', 'hallway'
 		end
@@ -748,6 +750,7 @@ if $ARGS[0] = 'rad_room':
 			act 'Say hi':
 				*clr & cla
 				'<center><b><font color = maroon>Radomir''s Room</font></b></center>'
+				'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big154.jpg"></center>'
 				'You walk into his room, crossing it over near him, as you say. "Hi, you busy?"'
 !!note to self to expand this in the future
 				if npc_rel['A154'] >= 60: