From 67776c8baac25a106550eb750c0cab28f96d8629 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 30 May 2021 21:11:11 -0300 Subject: Make investment in exportation profitable in 24~52 weeks. Greater cost, greater effect, there's however 1 GP of fixed component --- npc/functions/politics.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/functions/politics.txt') diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 30909b15a..455cd463a 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -438,9 +438,10 @@ function script POL_Manage { break; mesc l("Are you sure?"); if (askyesno() == ASK_YES) { + .@BN=rand2(.@cost/52, .@cost/24) + 1; .@GP=getd("$"+getarg(0)+"_MONEY"); setd(.@town$+"_MONEY", .@GP-.@cost); - setd(.@town$+"_EXPORT", .@EX+rand2(6,8)); + setd(.@town$+"_EXPORT", .@EX+.@BN); TOWN_ACTIONS[.@TP]+=1; mesc l("Investment executed"), 2; next; -- cgit v1.2.3-70-g09d2