diff --git a/src/console.pas b/src/console.pas
index 3d227f8bc503cc84e8a558b833dc2f4da3a12d60..99c78d037d2ec3a05c2889f7469befe5d4d439f2 100644 (file)
--- a/src/console.pas
+++ b/src/console.pas
exec(nextWord, tmp);\r
end;\r
else\r
exec(nextWord, tmp);\r
end;\r
else\r
- if com='RESET_ITEMS' then\r
- begin\r
- resetItems(decodeInt(nextWord)+1);\r
- //addToLog('Max items: '+decodeInt(parsed_str[1]));\r
- end;\r
- else\r
- if com='SET_ITEM' then\r
- begin\r
- setItemData(decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord));\r
- end;\r
- else\r
- if com='RESET_BLOCKS' then\r
- begin\r
- resetBlocks(decodeInt(nextWord)+1);\r
- //addToLog('Max blocks: '+decodeInt(parsed_str[1]));\r
- end;\r
- else\r
- if com='SET_BLOCK' then\r
- begin\r
- setBlockData(decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord));\r
- end;\r
- else\r
- if com='RESET_TOOLS' then\r
- begin\r
- resetTools(decodeInt(nextWord)+1);\r
- //addToLog('Max tools: '+decodeInt(parsed_str[1]));\r
- end;\r
- else\r
- if com='SET_TOOL' then\r
- begin\r
- setToolData(decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord),\r
- decodeInt(nextWord));\r
- end;\r
- else\r
if com='RESET_FUELS' then\r
begin\r
furnace.setMaxFuel(decodeInt(nextWord));\r
if com='RESET_FUELS' then\r
begin\r
furnace.setMaxFuel(decodeInt(nextWord));\r