Browse Source

change the pcs_bushcraft calculation and the corresponding limits

rachels 2 years ago
parent
commit
c43c4cfa2c

+ 1 - 1
locations/bicycle.qsrc

@@ -145,7 +145,7 @@ if ($ARGS[0] = 'gadsarai' and BikeLoc = 1) or ($ARGS[0] = 'gadforest' and BikeLo
 			end
 			end
 		end
 		end
 
 
-		if BikeLoc ! 2 and pcs_bushcraft > 0:
+		if BikeLoc ! 2 and pcs_bushcraft > 10:
 			if BikeLoc = 1:
 			if BikeLoc = 1:
 				$bikeaction = 'Bike to the forest edge (0:12)'
 				$bikeaction = 'Bike to the forest edge (0:12)'
 			elseif BikeLoc = 3:
 			elseif BikeLoc = 3:

+ 11 - 13
locations/gadforest.qsrc

@@ -49,7 +49,7 @@ if $ARGS[0] = 'forest_edge':
 
 
 	gs 'gadforest','bushcraft','forest_edge'
 	gs 'gadforest','bushcraft','forest_edge'
 	*nl
 	*nl
-	if pcs_bushcraft < 10:
+	if pcs_bushcraft < 20:
 		'<font color="red">You don''t know this part of the forest very well. You could get lost if you go any deeper into the woods.</font>'
 		'<font color="red">You don''t know this part of the forest very well. You could get lost if you go any deeper into the woods.</font>'
 	else
 	else
 		'<font color="green">You are comfortable navigating this part of the forest, and can adventure deeper into the woods if you want.</font>'
 		'<font color="green">You are comfortable navigating this part of the forest, and can adventure deeper into the woods if you want.</font>'
@@ -384,7 +384,7 @@ if $ARGS[0] = 'forest_outskirts':
 
 
 	gs 'gadforest','bushcraft','forest_outskirts'
 	gs 'gadforest','bushcraft','forest_outskirts'
 	*nl
 	*nl
-	if pcs_bushcraft < 20:
+	if pcs_bushcraft < 30:
 		'<font color="red">You don''t know this part of the forest very well. You could get lost if you go any deeper into the woods.</font>'
 		'<font color="red">You don''t know this part of the forest very well. You could get lost if you go any deeper into the woods.</font>'
 	else
 	else
 		'<font color="green">You are comfortable navigating this part of the forest, and can adventure deeper into the woods if you want.</font>'
 		'<font color="green">You are comfortable navigating this part of the forest, and can adventure deeper into the woods if you want.</font>'
@@ -464,7 +464,7 @@ if $ARGS[0] = 'forest_center':
 
 
 	gs 'gadforest','bushcraft','forest_center'
 	gs 'gadforest','bushcraft','forest_center'
 	*nl
 	*nl
-	if pcs_bushcraft < 30:
+	if pcs_bushcraft < 40:
 		'<font color="red">You don''t know this part of the forest very well. You could get lost if you go any deeper into the woods.</font>'
 		'<font color="red">You don''t know this part of the forest very well. You could get lost if you go any deeper into the woods.</font>'
 	else
 	else
 		'<font color="green">You are comfortable navigating this part of the forest, and can adventure deeper into the woods if you want.</font>'
 		'<font color="green">You are comfortable navigating this part of the forest, and can adventure deeper into the woods if you want.</font>'
@@ -515,32 +515,30 @@ if $ARGS[0] = 'bushcraft':
 	! bushcraft_lost - bushcraft needed to no longer get lost when visiting an area of the forest
 	! bushcraft_lost - bushcraft needed to no longer get lost when visiting an area of the forest
 	! torncloth_high_bushcraft - chance of tearing clothes with high bushcraft when visiting an area of the forest
 	! torncloth_high_bushcraft - chance of tearing clothes with high bushcraft when visiting an area of the forest
 	! torncloth_low_bushcraft - chance of tearing clothes with low bushcraft when visiting an area of the forest
 	! torncloth_low_bushcraft - chance of tearing clothes with low bushcraft when visiting an area of the forest
-	! Make sure Sveta always has at least 1 pcs_bushcraft
-	if pcs_bushcraft <= 0:pcs_bushcraft = 1
 	if $ARGS[1] = 'forest_edge':
 	if $ARGS[1] = 'forest_edge':
 		bushcraft_rand = 1
 		bushcraft_rand = 1
-		bushcraft_limit = 10
+		bushcraft_limit = 20
 		! Sveta cannot get lost at the forest_edge part of the forest anymore
 		! Sveta cannot get lost at the forest_edge part of the forest anymore
-		bushcraft_lost = 1
+		bushcraft_lost = 10
 		torncloth_high_bushcraft = 10
 		torncloth_high_bushcraft = 10
 		torncloth_low_bushcraft = 9
 		torncloth_low_bushcraft = 9
 	elseif $ARGS[1] = 'forest_outskirts':
 	elseif $ARGS[1] = 'forest_outskirts':
 		bushcraft_rand = 2
 		bushcraft_rand = 2
-		bushcraft_limit = 20
-		bushcraft_lost = 10
+		bushcraft_limit = 30
+		bushcraft_lost = 20
 		torncloth_high_bushcraft = 9
 		torncloth_high_bushcraft = 9
 		torncloth_low_bushcraft = 7
 		torncloth_low_bushcraft = 7
 	elseif $ARGS[1] = 'forest_center':
 	elseif $ARGS[1] = 'forest_center':
 		bushcraft_rand = 3
 		bushcraft_rand = 3
-		bushcraft_limit = 30
-		bushcraft_lost = 20
+		bushcraft_limit = 40
+		bushcraft_lost = 30
 		torncloth_high_bushcraft = 8
 		torncloth_high_bushcraft = 8
 		torncloth_low_bushcraft = 5
 		torncloth_low_bushcraft = 5
 	elseif $ARGS[1] = 'swamp_woods':
 	elseif $ARGS[1] = 'swamp_woods':
 		bushcraft_rand = 4
 		bushcraft_rand = 4
-		bushcraft_limit = 40
+		bushcraft_limit = 50
 		! Sveta cannot get lost at the swamp_woods part of the forest either
 		! Sveta cannot get lost at the swamp_woods part of the forest either
-		bushcraft_lost = 1
+		bushcraft_lost = 10
 		torncloth_high_bushcraft = 7
 		torncloth_high_bushcraft = 7
 		torncloth_low_bushcraft = 3
 		torncloth_low_bushcraft = 3
 	end
 	end

+ 4 - 6
locations/gadforestlost.qsrc

@@ -71,8 +71,6 @@ end
 ! $ARGS[1] - location of forest where this is called from
 ! $ARGS[1] - location of forest where this is called from
 ! Example: gs 'gadforestlost', 'bushcraft', 'forest_outskirts'
 ! Example: gs 'gadforestlost', 'bushcraft', 'forest_outskirts'
 if $ARGS[0] = 'bushcraft':
 if $ARGS[0] = 'bushcraft':
-	! Make sure Sveta always has at least 1 pcs_bushcraft
-	if pcs_bushcraft <= 0:pcs_bushcraft = 1
 	if $ARGS[1] = 'forest_outskirts':
 	if $ARGS[1] = 'forest_outskirts':
 		bushcraft_rand = 2
 		bushcraft_rand = 2
 		bushcraft_lost = 20
 		bushcraft_lost = 20
@@ -621,7 +619,7 @@ if $ARGS[0] = 'wolves':
 		'Instincts take over and you begin running without a second thought.'
 		'Instincts take over and you begin running without a second thought.'
 
 
 		if $ARGS[1] = 'forest_edge':
 		if $ARGS[1] = 'forest_edge':
-			if pcs_bushcraft < 70 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
+			if pcs_bushcraft < 80 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
 				foresteventrand = rand(1,7)
 				foresteventrand = rand(1,7)
 			else
 			else
 				foresteventrand = rand(1,6)
 				foresteventrand = rand(1,6)
@@ -653,7 +651,7 @@ if $ARGS[0] = 'wolves':
 				if foresteventrand <= 7:over = 11 & gt 'gameover'
 				if foresteventrand <= 7:over = 11 & gt 'gameover'
 			end
 			end
 		elseif $ARGS[1] = 'forest_outskirts':
 		elseif $ARGS[1] = 'forest_outskirts':
-			if pcs_bushcraft < 70 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
+			if pcs_bushcraft < 80 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
 				foresteventrand = rand(1,10)
 				foresteventrand = rand(1,10)
 			else
 			else
 				foresteventrand = rand(1,9)
 				foresteventrand = rand(1,9)
@@ -687,7 +685,7 @@ if $ARGS[0] = 'wolves':
 				if foresteventrand <= 10:over = 11 & gt 'gameover'
 				if foresteventrand <= 10:over = 11 & gt 'gameover'
 			end
 			end
 		elseif $ARGS[1] = 'forest_center':
 		elseif $ARGS[1] = 'forest_center':
-			if pcs_bushcraft < 70 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
+			if pcs_bushcraft < 80 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
 				foresteventrand = rand(1,13)
 				foresteventrand = rand(1,13)
 			else
 			else
 				foresteventrand = rand(1,2)
 				foresteventrand = rand(1,2)
@@ -723,7 +721,7 @@ if $ARGS[0] = 'wolves':
 				if foresteventrand <= 13:over = 11 & gt 'gameover'
 				if foresteventrand <= 13:over = 11 & gt 'gameover'
 			end
 			end
 		elseif $ARGS[1] = 'swamp':
 		elseif $ARGS[1] = 'swamp':
-			if pcs_bushcraft < 70 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
+			if pcs_bushcraft < 80 and pcs_agil < 70 and pcs_stren < 70 and Enable_nogameover = 0:
 				foresteventrand = rand(1,14)
 				foresteventrand = rand(1,14)
 			else
 			else
 				foresteventrand = rand(1,13)
 				foresteventrand = rand(1,13)

+ 1 - 1
locations/stat_sklattrib_lvlset.qsrc

@@ -75,7 +75,7 @@ pcs_shoot = (shoot_lvl + (pcs_agil + pcs_react) / 2) / 2
 shoot[1] = 1 & shoot[2] = 4 & shoot[3] = -1
 shoot[1] = 1 & shoot[2] = 4 & shoot[3] = -1
 
 
 !!Bushcraft; Wildlife survival and pathfinding skills
 !!Bushcraft; Wildlife survival and pathfinding skills
-pcs_bushcraft = (bushcraft_lvl + (pcs_agil + pcs_stren + pcs_intel) / 3) / 2 - 15
+pcs_bushcraft = (bushcraft_lvl + (pcs_agil + pcs_stren + pcs_intel) / 3) / 2
 bushcraft[1] = 1 & bushcraft[2] = 4 & bushcraft[3] = -1
 bushcraft[1] = 1 & bushcraft[2] = 4 & bushcraft[3] = -1
 
 
 !!Singing; Should be self-explanatory
 !!Singing; Should be self-explanatory

+ 1 - 1
locations/swamp.qsrc

@@ -45,7 +45,7 @@ end
 
 
 if $ARGS[0] = 'stuck':
 if $ARGS[0] = 'stuck':
 	! if player is skilled at forest or very agile or strong then don''t get stuck in swamp at all
 	! if player is skilled at forest or very agile or strong then don''t get stuck in swamp at all
-	if pcs_bushcraft < 70 and pcs_agil < 70 and pcs_stren < 70:
+	if pcs_bushcraft < 80 and pcs_agil < 70 and pcs_stren < 70:
 		*clr & cla
 		*clr & cla
 
 
 		$loc = 'swamp'
 		$loc = 'swamp'

+ 2 - 2
locations/swamp_woods.qsrc

@@ -47,13 +47,13 @@ if $ARGS[0] = 'start':
 	act 'Try to circle around the swamp':
 	act 'Try to circle around the swamp':
 		!no one likes to be trapped. Need to update gadfrestswamp with pcs_bushcraft method, but there should always be an option to try, no matter how low the skill.
 		!no one likes to be trapped. Need to update gadfrestswamp with pcs_bushcraft method, but there should always be an option to try, no matter how low the skill.
 		*clr & cla
 		*clr & cla
-		if pcs_bushcraft < 15:
+		if pcs_bushcraft < 25:
 			'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/thinks1.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/thinks1.jpg"></center>'
 			'You consider trying to circle around the swamp but then think it is better if you do not get too far from the hut.'
 			'You consider trying to circle around the swamp but then think it is better if you do not get too far from the hut.'
 			'If only you were a skilled pathfinder or knew nearby people that could help you get back...'
 			'If only you were a skilled pathfinder or knew nearby people that could help you get back...'
 
 
 			act 'Further': gt 'swamp_woods', 'start'
 			act 'Further': gt 'swamp_woods', 'start'
-		elseif pcs_bushcraft < 30:
+		elseif pcs_bushcraft < 40:
 			'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/thinks2.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/thinks2.jpg"></center>'
 			'You consider trying to circle around the swamp. You have a vague idea on how to accomplish that, but there is a good chance you may get lost.'
 			'You consider trying to circle around the swamp. You have a vague idea on how to accomplish that, but there is a good chance you may get lost.'