Browse Source

[added] voyeur and mast action

CroWke 5 years ago
parent
commit
632b4622cc
1 changed files with 56 additions and 2 deletions
  1. 56 2
      locations/willpower.qsrc

+ 56 - 2
locations/willpower.qsrc

@@ -2,8 +2,14 @@
 
 !!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
-!!List of actions: 'hj', 'bj', 'cuni', 'sex', 'anal', 'group', 'gangbang', 'prostitution', 'swallow', 'cum_inside', 'cum_inside_anal', 'rape', 'drink', 'drugs', 'crime', 'exhib', 'sleep' and two special cases 'misc' and 'skill' 
-!!Type: Determines what kind of willpower check sveta needs to do ('resist', 'force', 'self'). 'resist' is used if sveta is resisting to do the 'action' somebody else wants her to do. 'force' is used if sveta forces somebody else to do the 'action' and 'self' should be used if sveta forces herself to do the 'action' (this should be used only in rare occasions)
+!!List of actions: 
+!!		'voyeur', 'mast', 'hj', 'bj', 'cuni', 'sex', 'anal', 'group', 'gangbang', 'prostitution', 'swallow', 'cum_inside', 'cum_inside_anal', 'rape',
+!!		'drink', 'drugs', 'crime', 'exhib', 'sleep'
+!!		and two special cases 'misc' and 'skill' 
+!!Type: Determines what kind of willpower check sveta needs to do ('resist', 'force', 'self'). 
+!!		-'resist' is used if sveta is resisting to do the 'action' somebody else wants her to do. 
+!!		-'force' is used if sveta forces somebody else to do the 'action'. 
+!!		-'self' should be used if sveta forces herself to do the 'action' (this should be used only in rare occasions)
 
 !!Example 1: Sveta is forcing somebody to perform a blowjob: gs 'willpower', 'bj', 'force'
 !!Example 2: Sveta is resisting doing drugs: gs 'willpower', 'drugs', 'resist'
@@ -131,6 +137,54 @@ if $ARGS[0] = 'calc':
 	will_calc += pain['total']
 end
 
+if $ARGS[0] = 'voyeur':
+	gs 'willpower', 'calc'
+	
+	if $ARGS[1] = 'self':
+		if stat['voyeur'] <= 90:
+			will_cost = (100 - stat['voyeur'] + will_calc)/10
+		else
+			will_cost = (10 + will_calc)/10
+		end
+	elseif $ARGS[1] = 'force':		
+		if stat['voyeur'] <= 40:
+			will_cost = (110 - will_enforced - stat['voyeur'] + will_calc)/10
+		else
+			will_cost = (70 - will_enforced + will_calc)/10
+		end	
+	else
+		if stat['voyeur'] <= 90:
+			will_cost = (10 + stat['voyeur'] + will_calc)/10
+		else
+			will_cost = (100 + will_calc)/10
+		end
+	end	
+end
+
+if $ARGS[0] = 'mast':
+	gs 'willpower', 'calc'
+	
+	if $ARGS[1] = 'self':
+		if stat['mast'] <= 90:
+			will_cost = (100 - stat['mast'] + will_calc)/10
+		else
+			will_cost = (10 + will_calc)/10
+		end
+	elseif $ARGS[1] = 'force':		
+		if stat['mast'] <= 40:
+			will_cost = (110 - will_enforced - stat['mast'] + will_calc)/10
+		else
+			will_cost = (70 - will_enforced + will_calc)/10
+		end	
+	else
+		if stat['mast'] <= 90:
+			will_cost = (10 + stat['mast'] + will_calc)/10
+		else
+			will_cost = (100 + will_calc)/10
+		end
+	end	
+end
+
 if $ARGS[0] = 'hj':
 	gs 'willpower', 'calc'