NPC Plugin rewrite.

Plugin-level data can be stored in DB
This commit is contained in:
simon
2018-12-21 14:00:18 -05:00
parent 70eeb1442d
commit 94b8ef5395
22 changed files with 391 additions and 245 deletions

View File

@@ -67,7 +67,7 @@ public class CubotComPort extends CubotHardwareModule {
} else if (a == COMPORT_FRONT_PORT_OUT) {
if (cubot.spendEnergy(20)) {
if (cubot.spendEnergy(5)) {
//Get object directly in front of the Cubot
Point frontTile = cubot.getFrontTile();
//Todo will have to add getGameObjectsBlockingAt to enable Factory