|
@@ -203,21 +203,29 @@ if $ARGS[0] = 'drink':
|
|
|
gs 'willpower', 'calc'
|
|
|
will_cost = 0
|
|
|
if alko > 10:
|
|
|
- will_cost = (40 + will_calc)/10
|
|
|
+ will_cost = (20 + will_calc + (alcohol_exp * 40))/10
|
|
|
elseif alko > 6:
|
|
|
- will_cost = (100 + will_calc)/10
|
|
|
+ will_cost = (80 + will_calc + (alcohol_exp * 40))/10
|
|
|
elseif alko > 3:
|
|
|
- will_cost = (80 + will_calc)/10
|
|
|
+ will_cost = (60 + will_calc + (alcohol_exp * 40))/10
|
|
|
else
|
|
|
- will_cost = (10 + will_calc)/10
|
|
|
+ will_cost = (10 + will_calc + (alcohol_exp * 10))/10
|
|
|
end
|
|
|
end
|
|
|
|
|
|
!!Drug needs already included in the will_calc so just a small base cost here
|
|
|
if $ARGS[0] = 'drugs':
|
|
|
gs 'willpower', 'calc'
|
|
|
- will_cost = 0
|
|
|
- will_cost = (20 + will_calc)/10
|
|
|
+ will_cost = 0
|
|
|
+ if addictive_trait_lvl = 3:
|
|
|
+ will_cost = (100 + will_calc)/10
|
|
|
+ elseif addictive_trait_lvl = 2:
|
|
|
+ will_cost = (40 + will_calc)/10
|
|
|
+ elseif addictive_trait_lvl = 1:
|
|
|
+ will_cost = (20 + will_calc)/10
|
|
|
+ else
|
|
|
+ will_cost = (10 + will_calc)/10
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
!!There is no related stat so just a base cost of 6
|