1
0
فهرست منبع

[added] Hunter opinion check mechanic

pfffbft 5 سال پیش
والد
کامیت
e2b0bcb92e
4فایلهای تغییر یافته به همراه41 افزوده شده و 4 حذف شده
  1. 1 1
      locations/hunter_favors.qsrc
  2. 37 0
      locations/hunters.qsrc
  3. 1 1
      locations/swamp_yard.qsrc
  4. 2 2
      locations/swamphouse.qsrc

+ 1 - 1
locations/hunter_favors.qsrc

@@ -27,7 +27,7 @@ if $ARGS[0] = 'housekeeping_request':
 			!If fire is not going hunters nag at Sveta
 			if campfire = 0:
 				if hunter_collective_opinion >= 15: '"<<$pcs_nickname>>," he says. "The fire is out, can you please make sure it always keeps going while we are outside?"'
-				if hunter_collective_opinion < 15:'"<<$pcs_nickname>>," he uses his stern voice. "The fire is out. You can at least kep the fire going, no way you are that much of a whiny princess"'
+				if hunter_collective_opinion < 15:'"<<$pcs_nickname>>," he uses his stern voice. "The fire is out. You can at least keep the fire going, no way you are that much of a whiny princess"'
 				act 'Further':hunter_collective_opinion -= 3 & gt 'swamp_yard', 'campfire'
 			!Clean up the hut
             elseif dirty_swamphouse > 5:

+ 37 - 0
locations/hunters.qsrc

@@ -14,6 +14,43 @@ if $ARGS[0] = 'start':
 	end
 end
 
+if $ARGS[0] = 'check_opinion':
+	cla & *clr
+	
+	if $loc = 'swamp_yard':
+		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/hanterstalk.jpg"></center>'
+		'You look at the hunters hanging out at the yard.'
+	elseif $loc = 'swamphut':
+		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/hantersrelax1.4.jpg"></center>'
+		'You look at the hunters hanging out inside the hut.'	
+	end
+
+	!TODO: More images and flesh out the text
+	!Friendliness:
+	if hunter_collective_opinion > 50:
+		'Igor smiles when notices you looking at them and gives you a friendly wave.'
+	elseif hunter_collective_opinion > 25:
+		'Igor makes eye contact with you and nods before going back to what he was doing.'	
+	else
+		'Igor frowns at you when he notices you looking before you break eye contact.'
+	end
+	
+	!Sexuality
+	if hunter_sexual_comfort > 50:
+		if $clothingworntype ! 'nude':
+			'Andrei then looks at you and says "What is it with all the clothing? Let it all air out!"'
+		else:
+			'"Damn, <<$pcs_nickname>>, you look really good without the clothes. The things I would want to do to you..." said a somewhat aroused Andrei.'	
+		end
+	elseif hunter_sexual_comfort > 25:
+		'Andrei then looks at you and throws you an air kiss.'
+	else
+		'The other hunters completely ignore you, pretending you are not even there.'
+	end	
+
+	act 'Further': gt $loc
+end	
+
 if $ARGS[0] = 'huntersgroupfaint':
 	*clr & cla
 	minut += 1

+ 1 - 1
locations/swamp_yard.qsrc

@@ -44,7 +44,7 @@ if $ARGS[0] = 'start' or $ARGS[0] = '':
 	'Behind the hut there is a <a href="exec: gt ''swampspring'' ">spring</a>, if you continue a little further down there is a small <a href="exec: gt ''backwater'' ">creek</a> with relatively clean water.'
 	if findvel = 3:'On the side of the hut is an old <a href="exec:gt ''bicycle'',''swamp''">bike</a>.'
 	if hunters > 0 and huntersKnow = 0:'You spot some unfamiliar people standing in front of the hut.'
-	if hunters > 0 and huntersKnow > 0 and hour >= 8 and hour < 20:'You notice the hunters standing in the front yard.'
+	if hunters > 0 and huntersKnow > 0 and hour >= 8 and hour < 20:'You notice the <a href="exec: gt ''hunters'', ''check_opinion'' ">hunters</a> standing in the front yard.'
 
 	act 'Go into the hut':gt 'swamphouse'
 	act 'Sit by the firepit': gt 'swamp_yard', 'campfire'

+ 2 - 2
locations/swamphouse.qsrc

@@ -37,9 +37,9 @@ if $ARGS[0] = 'start' or $ARGS[0] = '':
 	if clothesAtLocation = 1:'Your clothes are laying on the shelf.'
 	*nl
 	if hour = 20 and hunters = 1 and huntersKnow > 0 or hour = 7 and hunters = 1 and huntersKnow > 0:
-		'The <a href="exec: gs ''swamphouse'', ''hunterstable''">hunters</a> are sitting around the table talking.'
+		'The <a href="exec: gs ''hunters'', ''check_opinion''">hunters</a> are sitting around the table talking.'
 	elseif hour > 20 and hour < 23 and hunters = 1 and huntersKnow > 0:
-		'You see the <a href="exec: gs ''swamphouse'', ''huntersrelax''">hunters</a> hanging out in the hut.'
+		'You see the <a href="exec: gs ''hunters'', ''check_opinion''">hunters</a> hanging out in the hut.'
 	elseif hour = 23 and hunters = 1 and huntersKnow > 0 or hour >= 0 and hour < 7 and hunters = 1 and huntersKnow > 0:
 		'The hunters are sleeping on the couch.'
 	else