From af4ddbdd8974d67a2b61d6224b84169c6c8c064c Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 23 Dec 2018 11:54:47 -0500 Subject: [PATCH] Increased HackedNPC specs & reverted accidental change --- .../src/main/java/net/simon987/cubotplugin/CubotLidar.java | 4 ++-- Server/src/main/resources/config.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java b/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java index dd5eb0b..89a63d3 100644 --- a/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java +++ b/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java @@ -108,8 +108,8 @@ public class CubotLidar extends HardwareModule { //Write map data to the location specified by register X int i = getCpu().getRegisterSet().getRegister("X").getValue(); - for (int x = 0; x < unit.getWorld().getWorldSize(); x++) { - for (int y = 0; y < unit.getWorld().getWorldSize(); y++) { + for (int y = 0; y < unit.getWorld().getWorldSize(); y++) { + for (int x = 0; x < unit.getWorld().getWorldSize(); x++) { getCpu().getMemory().set(i++, mapInfo[x][y]); } } diff --git a/Server/src/main/resources/config.properties b/Server/src/main/resources/config.properties index bfcf5b0..49a4cf7 100644 --- a/Server/src/main/resources/config.properties +++ b/Server/src/main/resources/config.properties @@ -66,13 +66,13 @@ shield_energy_cost=50 npc_lifetime=1024 npc_max_factory_distance=3 factory_max_npc_count=16 -factory_program_size=1024 +factory_program_size=2048 settlement_spawn_rate=35 harvester_hp_max=100 harvester_regen=5 harvester_biomass_drop_count=8 radio_tower_range=3 -hacked_npc_mem_size=5120 +hacked_npc_mem_size=8192 npc_exec_time=5 hacked_npc_die_on_no_energy=1 #Vaults