From 5972a03481ccf1f6d01d4271d6d609e1c8a2f559 Mon Sep 17 00:00:00 2001 From: Ikarrus Date: Sun, 26 Apr 2015 18:03:01 -0600 Subject: [PATCH] - Reduced income to 3 minute intervals - Income delay is now a editable var in game for debug and testing purposes - Income rate no longer scales down if you're over 15 territories --- code/game/gamemodes/gang/gang.dm | 13 +++++++------ html/changelogs/Ikarrus-gang5_1.yml | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/code/game/gamemodes/gang/gang.dm b/code/game/gamemodes/gang/gang.dm index 6e73207af65..a5481346f30 100644 --- a/code/game/gamemodes/gang/gang.dm +++ b/code/game/gamemodes/gang/gang.dm @@ -194,7 +194,7 @@ carbon_mob.flash_eyes(1, 1) gangster_mind.current.Stun(5) gangster_mind.current << "You are now a member of the [gang=="A" ? gang_name("A") : gang_name("B")] Gang!" - gangster_mind.current << "Help your bosses take over the station by claiming territory with special spraycans only they can provide. Simply spray on any unclaimed area of the station." + gangster_mind.current << "Help your bosses take over the station by claiming territory with special spraycans only they can provide. Simply spray on any unclaimed area of the station." gangster_mind.current << "You can identify your bosses by their red \[G\] icon." gangster_mind.current.attack_log += "\[[time_stamp()]\] Has been converted to the [gang=="A" ? "[gang_name("A")] Gang (A)" : "[gang_name("B")] Gang (B)"]!" gangster_mind.special_role = "[gang=="A" ? "[gang_name("A")] Gang (A)" : "[gang_name("B")] Gang (B)"]" @@ -343,11 +343,12 @@ /datum/gang_points var/A = 30 var/B = 30 - var/next_point_time = 0 + var/next_point_interval = 1800 + var/next_point_time /datum/gang_points/proc/start() - next_point_time = world.time + 3000 - spawn(3000) + next_point_time = world.time + next_point_interval + spawn(next_point_interval) income() /datum/gang_points/proc/income() @@ -375,7 +376,7 @@ //Calculate and report influence growth ticker.mode.message_gangtools(ticker.mode.A_tools,"[gang_name("A")] Gang Status Report:") - var/A_new = min(100,A + 15 + min(ticker.mode.A_territory.len, 15) + round(max(ticker.mode.A_territory.len - 15, 0) * 0.5,1)) + var/A_new = min(100,A + 15 + ticker.mode.A_territory.len) var/A_message = "" if(A_new != A) A_message += "Your gang has gained [A_new - A] Influence for holding on to [ticker.mode.A_territory.len] territories." @@ -385,7 +386,7 @@ ticker.mode.message_gangtools(ticker.mode.A_tools,A_message,0) ticker.mode.message_gangtools(ticker.mode.B_tools,"[gang_name("B")] Gang Status Report:") - var/B_new = min(100,B + 15 + min(ticker.mode.B_territory.len, 15) + round(max(ticker.mode.B_territory.len - 15, 0) * 0.5,1)) + var/B_new = min(100,B + 15 + ticker.mode.B_territory.len) var/B_message = "" if(B_new != B) B_message += "Your gang has gained [B_new - B] Influence for holding on to [ticker.mode.B_territory.len] territories." diff --git a/html/changelogs/Ikarrus-gang5_1.yml b/html/changelogs/Ikarrus-gang5_1.yml index 1679e2fa21f..1bd6f90efdf 100644 --- a/html/changelogs/Ikarrus-gang5_1.yml +++ b/html/changelogs/Ikarrus-gang5_1.yml @@ -3,6 +3,7 @@ author: Ikarrus delete-after: True changes: + - tweak: "Gang income delay reduced to 3 minutes intervals." - tweak: "Gang Capture goal reduced to 50%" - tweak: "Gang spraycan use increased to 20" - tweak: "Gang Boss icon is now a red [G] icon to make it stand out better from regular gang icons" \ No newline at end of file