Explorar el Código

[added] flash option for willpower + included voyeur_sex in the voyeur check calculation

Sicaa hace 4 años
padre
commit
48c372011d
Se han modificado 1 ficheros con 35 adiciones y 10 borrados
  1. 35 10
      locations/willpower.qsrc

+ 35 - 10
locations/willpower.qsrc

@@ -3,7 +3,7 @@
 !!To use it call it with gs 'willpower', 'action', 'type'
 !!To use it call it with gs 'willpower', 'action', 'type'
 !!Action: Determines what action sveta is resisting, forcing somebody to do or forcing herself to do
 !!Action: Determines what action sveta is resisting, forcing somebody to do or forcing herself to do
 !!List of actions: 
 !!List of actions: 
-!!		'voyeur', 'mast', 'hj', 'bj', 'cuni', 'sex', 'anal', 'group', 'gangbang', 'prostitution', 'swallow', 'cum_inside', 'cum_inside_anal', 'rape',
+!!		'voyeur', 'flash', 'mast', 'hj', 'bj', 'cuni', 'sex', 'anal', 'group', 'gangbang', 'prostitution', 'swallow', 'cum_inside', 'cum_inside_anal', 'rape',
 !!		'kiss', 'humiliation', 'footjob', 'titjob', 'trib', 'rimming', 'BDSM', 'pee', 'cum_outside', 'drink', 'drugs', 'crime', 'exhib', 'sleep'
 !!		'kiss', 'humiliation', 'footjob', 'titjob', 'trib', 'rimming', 'BDSM', 'pee', 'cum_outside', 'drink', 'drugs', 'crime', 'exhib', 'sleep'
 !!		there is also 'foreplay' for things like touching and fondling
 !!		there is also 'foreplay' for things like touching and fondling
 !!		and two special cases 'misc' and 'skill' 
 !!		and two special cases 'misc' and 'skill' 
@@ -50,7 +50,7 @@
 		end
 		end
 	else
 	else
 		act 'Kick him in the balls (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 		act 'Kick him in the balls (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-	end	
+	end
 }
 }
 
 
 !{ Code Example 2 (several actions need willpower)
 !{ Code Example 2 (several actions need willpower)
@@ -69,7 +69,7 @@
 		end
 		end
 	else
 	else
 		act 'Kick him in the balls (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 		act 'Kick him in the balls (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-	end	
+	end
 	
 	
 	gs 'willpower', 'misc', 'self', 'medium'
 	gs 'willpower', 'misc', 'self', 'medium'
 	if will_cost <= pcs_willpwr:
 	if will_cost <= pcs_willpwr:
@@ -85,7 +85,7 @@
 		end
 		end
 	else
 	else
 		act 'Slap him across the face (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 		act 'Slap him across the face (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-	end	
+	end
 }
 }
 
 
 if $ARGS[0] = 'calc':
 if $ARGS[0] = 'calc':
@@ -143,20 +143,45 @@ if $ARGS[0] = 'voyeur':
 	gs 'willpower', 'calc'
 	gs 'willpower', 'calc'
 	
 	
 	if $ARGS[1] = 'self':
 	if $ARGS[1] = 'self':
-		if stat['voyeur'] <= 90:
-			will_cost = (100 - stat['voyeur'] + will_calc)/10
+		if stat['voyeur'] + stat['voyeur_sex'] <= 90:
+			will_cost = (100 - stat['voyeur'] - stat['voyeur_sex'] + will_calc)/10
+		else
+			will_cost = (10 + will_calc)/10
+		end
+	elseif $ARGS[1] = 'force':		
+		if stat['voyeur'] + stat['voyeur_sex'] <= 40:
+			will_cost = (110 - will_enforced - stat['voyeur'] - stat['voyeur_sex'] + will_calc)/10
+		else
+			will_cost = (70 - will_enforced + will_calc)/10
+		end	
+	else
+		if stat['voyeur'] + stat['voyeur_sex'] <= 90:
+			will_cost = (10 + stat['voyeur'] + stat['voyeur_sex'] + will_calc)/10
+		else
+			will_cost = (100 + will_calc)/10
+		end
+	end
+	gs 'willpower', 'difficulty', '<<$ARGS[2]>>'
+end
+
+if $ARGS[0] = 'flash':
+	gs 'willpower', 'calc'
+	
+	if $ARGS[1] = 'self':
+		if stat['flash'] + (stat['flashlite'] / 2) <= 90:
+			will_cost = (100 - stat['flash'] - (stat['flashlite'] / 2) + will_calc)/10
 		else
 		else
 			will_cost = (10 + will_calc)/10
 			will_cost = (10 + will_calc)/10
 		end
 		end
 	elseif $ARGS[1] = 'force':		
 	elseif $ARGS[1] = 'force':		
-		if stat['voyeur'] <= 40:
-			will_cost = (110 - will_enforced - stat['voyeur'] + will_calc)/10
+		if stat['flash'] + (stat['flashlite'] / 2) <= 40:
+			will_cost = (110 - will_enforced - stat['flash'] - (stat['flashlite'] / 2) + will_calc)/10
 		else
 		else
 			will_cost = (70 - will_enforced + will_calc)/10
 			will_cost = (70 - will_enforced + will_calc)/10
 		end	
 		end	
 	else
 	else
-		if stat['voyeur'] <= 90:
-			will_cost = (10 + stat['voyeur'] + will_calc)/10
+		if stat['flash'] + (stat['flashlite'] / 2) <= 90:
+			will_cost = (10 + stat['flash'] + (stat['flashlite'] / 2) + will_calc)/10
 		else
 		else
 			will_cost = (100 + will_calc)/10
 			will_cost = (100 + will_calc)/10
 		end
 		end