More consistent handling of creation/destruction of entities. Uses entity.unit_number instead of HashPosition. Rebuilds all tables on initial install and on mod version bump.

This commit is contained in:
Thomas Deal committed 2016-10-19 20:41:10 -04:00
1 parent 5e65fa5208
commit 67e192a78f
7 files changed
+40 -43

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
--the chest that a player put things in
INPUT_CHEST_NAME = "put-chest"
INPUT_CHEST_PICTURE_PATH = nil
INPUT_CHEST_ICON_PATH = nil
--the chest that the player get things from
OUTPUT_CHEST_NAME = "get-chest"
OUTPUT_CHEST_PICTURE_PATH = nil
OUTPUT_CHEST_ICON_PATH = nil
--the tank that a player put things in
INPUT_TANK_NAME = "put-tank"
INPUT_TANK_PICTURE_PATH = nil
INPUT_TANK_ICON_PATH = nil
--the tank that the player get things from
OUTPUT_TANK_NAME = "get-tank"
OUTPUT_TANK_PICTURE_PATH = nil
OUTPUT_TANK_ICON_PATH = nil
MAX_RX_BUFFER_SIZE = 40 -- slightly more than one second
RX_COMBINATOR_NAME = "get-combinator"
TX_COMBINATOR_NAME = "put-combinator"
INV_COMBINATOR_NAME = "inventory-combinator"
OUTPUT_FILE = "output.txt"
ORDER_FILE = "orders.txt"
TX_BUFFER_FILE = "txbuffer.txt"
UPDATE_RATE = 60
CIRCUIT_UPDATE_RATE = 5