X-Git-Url: https://deadsoftware.ru/gitweb?p=cavecraft.git;a=blobdiff_plain;f=src%2Fconsole.pas;h=99c78d037d2ec3a05c2889f7469befe5d4d439f2;hp=378769bcab756989361e1a03a7c03f11001d6c65;hb=4983aa70fea163453968255c36b0689cfb412463;hpb=bddd811f24b5890310e09e93a33600a58db39ec9 diff --git a/src/console.pas b/src/console.pas index 378769b..99c78d0 100644 --- a/src/console.pas +++ b/src/console.pas @@ -624,37 +624,6 @@ procedure exeCommand(str:string); exec(nextWord, tmp); end; else - if com='RESET_ITEMS' then - begin - resetItems(decodeInt(nextWord)+1); - //addToLog('Max items: '+decodeInt(parsed_str[1])); - end; - else - if com='SET_ITEM' then - begin - setItemData(decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord)); - end; - else - if com='RESET_TOOLS' then - begin - resetTools(decodeInt(nextWord)+1); - //addToLog('Max tools: '+decodeInt(parsed_str[1])); - end; - else - if com='SET_TOOL' then - begin - setToolData(decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord)); - end; - else if com='RESET_FUELS' then begin furnace.setMaxFuel(decodeInt(nextWord));