浏览代码

[Fixed] Updated text then added a daystart requirement to trucker/biker scenes to prevent player from spamming events.

VioletKitten 4 年之前
父节点
当前提交
d302c4dd7c
共有 1 个文件被更改,包括 12 次插入6 次删除
  1. 12 6
      locations/NikoSlut.qsrc

+ 12 - 6
locations/NikoSlut.qsrc

@@ -1297,10 +1297,10 @@ if $ARGS[0] = 'Diner Exterior':
 	gs'stat'
 	if hour >= 7 and hour <= 19:
 		'<center><img <<$set_imgh>> src="images/locations/highway/borisdiner/exterior1.jpg"></center>'
-		'This small diner has a large parking lot and you can often find over the road trucks parked there. It sits at one end of a larger brick building which is a local biker bar. The diner has chrome skirts and a chrome door that leads inside.'
+		'This small diner has a large parking lot and you can often find over the road trucks parked there. It sits at one end of a larger brick building which is a local biker bar. The diner has chrome skirts and a chrome door that leads inside. Truckers can be found here throughout the day. While commuters and some locals can be found here in the day and evenings. Bikers tend to stop by in the evening or late at night and stay into the early morning hours after the biker bar next door, closes.'
 	else
 		'<center><img <<$set_imgh>> src="images/locations/highway/borisdiner/exterior2.jpg"></center>'
-		'This small diner has a large parking lot and you can often find over the road trucks parked there. It sits at one end of a larger brick building which is a local biker bar. The diner has chrome skirts and a chrome door that leads inside. The outside of the diner and parking lot is well lit, with the lighting shinning off the chrome of the building. While the gaudy neon sign makes sure no one driving down the highway will miss it.'
+		'This small diner has a large parking lot and you can often find over the road trucks parked there. It sits at one end of a larger brick building which is a local biker bar. The diner has chrome skirts and a chrome door that leads inside. The outside of the diner and parking lot is well lit, with the lighting shinning off the chrome of the building. While the gaudy neon sign makes sure no one driving down the highway will miss it. Truckers can be found here throughout the day. While commuters and some locals can be found here in the day and evenings. Bikers tend to stop by in the evening or late at night and stay into the early morning hours after the biker bar next door, closes.'
 	end
 	
 	act 'Enter the diner': gt 'NikoSlut', 'Diner Interior'
@@ -1312,10 +1312,14 @@ if $ARGS[0] = 'Diner Interior':
 	if YurikEv['Name'] = '':YurikEv['Name'] = 'a burly bearded man'
 	gs'stat'
 	'<center><img <<$set_imgh>> src="images/locations/highway/borisdiner/interior1.jpg"></center>'
-	if hour >= 7 and hour <= 17:
-		'You see a row of stools along the counter and booths along the walls next to the windows. A couple of waitress''s work behind the counter and carry food out to the booths, while a large man works in the back as a cook. Their are a few <a href="exec:gt ''NikoSlut'', ''Truckers''">truckers</a> sitting in the stools enjoying their meals, trucks can be found here throughout the day. While commuters and some locals can be found here in the day and evenings. Bikers tend to stop by in the evening or late at night and stay into the early morning hours after the biker bar next door, closes.'
+	if hour >= 7 and hour <= 17 and BorisDiner_Trucker_Daystart ! daystart:
+		'You see a row of stools along the counter and booths along the walls next to the windows. A couple of waitress''s work behind the counter and carry food out to the booths, while a large man works in the back as a cook. Their is a <a href="exec:gt ''NikoSlut'', ''Truckers''">trucker</a> sitting on a stool, enjoying his meal.'
+	elseif hour >= 7 and hour <= 17 and BorisDiner_Trucker_Daystart = daystart:
+		'You see a row of stools along the counter and booths along the walls next to the windows. A couple of waitress''s work behind the counter and carry food out to the booths, while a large man works in the back as a cook. Their is a trucker sitting on a stool, enjoying his meal..'	
+	elseif BorisDiner_Biker_Daystart ! daystart:
+		'You see a row of stools along the counter and booths along the walls next to the windows. A couple of waitress''s work behind the counter and carry food out to the booths, while a large man works in the back as a cook. The stools and counters are nearly empty but you can see some <a href="exec:gt ''NikoSlut'', ''Bikers''">bikers</a> sitting at the tables, chatting and drinking beer.'
 	else
-		'You see a row of stools along the counter and booths along the walls next to the windows. A couple of waitress''s work behind the counter and carry food out to the booths, while a large man works in the back as a cook. The stools and counters are nearly empty but you can see some <a href="exec:gt ''NikoSlut'', ''Bikers''">bikers</a> sitting at the tables chatting and drinking beer.'
+		'You see a row of stools along the counter and booths along the walls next to the windows. A couple of waitress''s work behind the counter and carry food out to the booths, while a large man works in the back as a cook. The stools and counters are nearly empty but you can see some bikers sitting at the tables, chatting and drinking beer.'
 	end
 
 	if hour = 18:
@@ -1338,7 +1342,7 @@ if $ARGS[0] = 'Diner Interior':
 		act 'Order fried chicken (300<b>₽</b>)':gt 'NikoSlut', 'Meal 3'
 	end
 
-	act 'Leave diner':nroad = 20 & gt 'road'
+	act 'Leave diner': gt 'NikoSlut', 'Diner Exterior'
 end
 
 if $ARGS[0] = 'Meal 1':
@@ -1469,6 +1473,7 @@ end
 if $ARGS[0] = 'Truckers':
 	*clr & cla
 	minut += 5
+	BorisDiner_Trucker_Daystart = daystart
 	gs'stat'
 	VK = rand (1,6)
 	if VK = 1:
@@ -1523,6 +1528,7 @@ end
 if $ARGS[0] = 'Bikers':
 	*clr & cla
 	minut += 5
+	BorisDiner_Biker_Daystart = daystart
 	gs'stat'
 	VK = rand (1,4)
 	if VK = 1: