mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
NPC Plugin rewrite.
Plugin-level data can be stored in DB
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user