Skip to content

Commit

Permalink
bugfixes, comments on config params.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranf committed Jul 5, 2016
1 parent bc3ef2d commit 6e6cb98
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
4 changes: 3 additions & 1 deletion Changelist.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Changes from 0.1.42 to 0.1.43 release:
- fixed invalid chest issue when placing a loot chest and then removing and not putting a new one down before more artifacts are collected
- fixed invalid chest issue when placing a loot chest and then removing and not putting a new one down before more artifacts are collected
- fixed loot chest not able to be placed after the first one has been placed and then removed.
- fixed dummy droid items being able to spawn infinite droids. What a loop-hole that was!!
17 changes: 10 additions & 7 deletions config/config.lua
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@

TICK_UPDATE_SQUAD_AI = 180 -- 60 ticks per second, how many ticks between updating squad AI (finding new targets, moving back into position, etc)
DEFAULT_SQUAD_RADIUS = 2 -- how wide their attack_area radius is. not really used honestly..
SOLDIER_MAX_AMMO = 100 -- unused
SOLDIER_MAX_AMMO = 100 -- unused, might be used later to simulate having to come back and resupply.
SQUAD_SIZE_MIN_BEFORE_HUNT = 5 -- how many droids are required in a squad before they are commanded to attack nearest target
SQUAD_SIZE_MIN_BEFORE_RETREAT = 2
SQUAD_CHECK_RANGE = 10 -- range in tiles when a droid is spawned to check for existing squad to join, else creates its own squad
ASSEMBLER_UPDATE_TICKRATE = 120 -- how often does the droid assembler building check for spawnable droid items in the output inv.
SQUAD_SIZE_MIN_BEFORE_RETREAT = 2 -- if a squad has been hunting and is down to this amount of guys left, head to nearest droid assembler to get reinforcements.
SQUAD_CHECK_RANGE = 15 -- range in tiles when a droid is spawned to check for existing squad to join, else creates its own squad
ASSEMBLER_UPDATE_TICKRATE = 120 -- how often does the droid assembler building check for spawnable droid items in the output inv. how fast to spawn a droid once it's been assembled.
BOT_COUNTERS_UPDATE_TICKRATE = 60 -- how often does the robot army combinator count droids and update combinator signals?
LONE_WOLF_CLEANUP_SCRIPT_PERIOD = 18000 -- how often to find and deal with droids that are "wanderers" and not in a squad.
LONE_WOLF_CLEANUP_SCRIPT_PERIOD = 18000 -- how often to find and deal with droids that are "wanderers" and not in a squad. NOT USED YET


PRINT_SQUAD_DEATH_MESSAGES = 1

--CONFIG SETTINGS FOR THOSE WHO WANT TO SCALE THE DAMAGE AND HEALTH OF DROIDS
HEALTH_SCALAR = 1.0
DAMAGE_SCALAR = 1.0
HEALTH_SCALAR = 1.0 -- scales health by this value, default 1.0. 0.5 gives 50% health, 2.0 doubles their health etc.

DAMAGE_SCALAR = 1.0 -- scales base damage by this value. default is 1.0. 0.5 makes 50% less base damage.
-- 1.5 gives 50% more base damage. remember, technologies apply multipliers to the base damage so this value should take
-- that into consideration.
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{

"name": "robotarmy",
"version": "0.1.42",
"version": "0.1.43",
"title": "Robot Army",
"factorio_version": "0.13",
"author": "Kyran F",
Expand Down
8 changes: 4 additions & 4 deletions prototypes/item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ data:extend(
flags = {"hidden"},
order = "z-z",
subgroup = "capsule",
place_result = "droid-smg",
place_result = "",
stack_size = 1
},
{
Expand All @@ -48,7 +48,7 @@ data:extend(
flags = {"hidden"},
order = "z-z",
subgroup = "capsule",
place_result = "droid-rifle",
place_result = "",
stack_size = 1
},
{
Expand All @@ -68,7 +68,7 @@ data:extend(
flags = {"hidden"},
order = "z-z",
subgroup = "capsule",
place_result = "droid-rocket",
place_result = "",
stack_size = 1
},
{
Expand All @@ -88,7 +88,7 @@ data:extend(
flags = {"hidden"},
order = "z-z",
subgroup = "capsule",
place_result = "terminator",
place_result = "",
stack_size = 1
},
{
Expand Down

0 comments on commit 6e6cb98

Please sign in to comment.