From 7d09c5b544f76236f90a1ba46ed573b6e0e3a914 Mon Sep 17 00:00:00 2001 From: PostCrafter Date: Mon, 19 Dec 2016 22:20:31 +0100 Subject: [PATCH 1/5] Add RANGE_* constants --- lib/constants.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/lib/constants.js b/lib/constants.js index 924af13..51ff49e 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -94,6 +94,31 @@ module.exports = { "claim": 600 }, + RANGE_ATTACK: 1, + RANGE_ATTACK_CONTROLLER: 1, + RANGE_BOOST_CREEP: 1, + RANGE_BUILD: 3, + RANGE_CLAIM_CONTROLLER: 1, + RANGE_DISMANTLE: 1, + RANGE_DROP: 1, + RANGE_GENERATE_SAFEMODE: 1, + RANGE_HARVEST_MINERAL: 1, + RANGE_HARVEST_SOURCE: 1, + RANGE_HEAL: 1, + RANGE_PICKUP: 1, + RANGE_RANGED_ATTACK: 3, + RANGE_RANGED_HEAL: 3, + RANGE_RANGED_MASS_ATTACK: 3, + RANGE_RECYCLE_CREEP: 1, + RANGE_RENEW_CREEP: 1, + RANGE_REPAIR: 3, + RANGE_RESERVE_CONTROLLER: 1, + RANGE_RUN_REACTION: 2, + RANGE_SIGN_CONTROLLER: 1, + RANGE_TRANSFER: 1, + RANGE_UPGRADE_CONTROLLER: 3, + RANGE_WITHDRAW: 1, + WORLD_WIDTH: 162, WORLD_HEIGHT: 162, From f94ac1352d3891e2e6f16e2db97f034ba46b8780 Mon Sep 17 00:00:00 2001 From: Leo Friedrichs Date: Tue, 20 Jun 2017 20:21:23 +0200 Subject: [PATCH 2/5] Remove unused RANGE_DROP --- lib/constants.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/constants.js b/lib/constants.js index 51ff49e..7be593c 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -100,7 +100,6 @@ module.exports = { RANGE_BUILD: 3, RANGE_CLAIM_CONTROLLER: 1, RANGE_DISMANTLE: 1, - RANGE_DROP: 1, RANGE_GENERATE_SAFEMODE: 1, RANGE_HARVEST_MINERAL: 1, RANGE_HARVEST_SOURCE: 1, @@ -744,4 +743,4 @@ module.exports.COLORS_ALL = [ module.exports.COLOR_BROWN, module.exports.COLOR_GREY, module.exports.COLOR_WHITE -]; \ No newline at end of file +]; From b5f1fa819ead6c42b96d46340b6bd17bc68a5c67 Mon Sep 17 00:00:00 2001 From: Nikolay Kharitonov Date: Wed, 26 Sep 2018 01:24:30 +0300 Subject: [PATCH 3/5] feat: add RANGE_UNBOOST_CREEP constant --- lib/constants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/constants.js b/lib/constants.js index a2f6684..0471696 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -99,6 +99,7 @@ module.exports = { RANGE_ATTACK: 1, RANGE_ATTACK_CONTROLLER: 1, RANGE_BOOST_CREEP: 1, + RANGE_UNBOOST_CREEP: 1, RANGE_BUILD: 3, RANGE_CLAIM_CONTROLLER: 1, RANGE_DISMANTLE: 1, From c3b17031400ca544885f1bd5afeadd4b3185a977 Mon Sep 17 00:00:00 2001 From: Leo Friedrichs Date: Tue, 27 Oct 2020 11:06:56 +0100 Subject: [PATCH 4/5] Add RANGE_RENEW_POWERCREEP --- lib/constants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/constants.js b/lib/constants.js index 0471696..361dfb9 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -113,6 +113,7 @@ module.exports = { RANGE_RANGED_MASS_ATTACK: 3, RANGE_RECYCLE_CREEP: 1, RANGE_RENEW_CREEP: 1, + RANGE_RENEW_POWERCREEP: 1, RANGE_REPAIR: 3, RANGE_RESERVE_CONTROLLER: 1, RANGE_RUN_REACTION: 2, From f870057735f5d12f310aa29e05b1f338a95c1c51 Mon Sep 17 00:00:00 2001 From: Leo Friedrichs Date: Tue, 27 Oct 2020 11:11:10 +0100 Subject: [PATCH 5/5] Add RANGE_HARVEST_DEPOSIT --- lib/constants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/constants.js b/lib/constants.js index 361dfb9..d340c5b 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -106,6 +106,7 @@ module.exports = { RANGE_GENERATE_SAFEMODE: 1, RANGE_HARVEST_MINERAL: 1, RANGE_HARVEST_SOURCE: 1, + RANGE_HARVEST_DEPOSIT: 1, RANGE_HEAL: 1, RANGE_PICKUP: 1, RANGE_RANGED_ATTACK: 3,