diff --git a/scripts/server/command.js b/scripts/server/command.js index 69c6e798..7cbda6a7 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -69,8 +69,10 @@ function loadCommands() { commandData("bizwithdraw", withdrawFromBusinessCommand, "", getStaffFlagValue("none"), true, true, "Take money out of the business till (cash register)"), commandData("bizdeposit", depositIntoBusinessCommand, "", getStaffFlagValue("none"), true, true, "Put money into the business till (cash register)"), commandData("buy", buyFromBusinessCommand, " [amount]", getStaffFlagValue("none"), true, true, "Buy items from a business"), - //commandData("bizstockitem", stockItemInBusinessCommand, " ", getStaffFlagValue("none"), true, true, "Orders items to restock the business with."), - //commandData("bizitemprice", setBusinessItemSellPriceCommand, " ", getStaffFlagValue("none"), true, true, "Sets the purchase price of an item in the business"), + commandData("bizstock", stockItemOnBusinessFloorCommand, " ", getStaffFlagValue("none"), true, true, "Uses storage items to restock the business with."), + commandData("bizstore", storeItemInBusinessStorageCommand, " ", getStaffFlagValue("none"), true, true, "Moves items from the business to the business storage"), + commandData("bizorder", orderItemForBusinessCommand, " ", getStaffFlagValue("none"), true, true, "Moves items from the business storage to the business."), + commandData("bizitemprice", setBusinessItemSellPriceCommand, " ", getStaffFlagValue("none"), true, true, "Sets the purchase price of a business item"), commandData("bizname", setBusinessNameCommand, "", getStaffFlagValue("none"), true, true, "Changes a business name"), commandData("bizowner", setBusinessOwnerCommand, "", getStaffFlagValue("none"), true, true, "Changes the owner of a business"), commandData("bizblip", setBusinessBlipCommand, "", getStaffFlagValue("manageBusinesses"), true, true, "Sets the business blip display"), @@ -171,9 +173,21 @@ function loadCommands() { commandData("houseinttype", setHouseInteriorTypeCommand, "", getStaffFlagValue("manageHouses"), true, true), ], item: [ - //commandData("giveitem", givePlayerItemCommand, "", getStaffFlagValue("none"), true, false), - //commandData("takeitem", takePlayerItemCommand, "", getStaffFlagValue("none"), true, false), - //commandData("takeallitems", takeAllPlayerItemsCommand, "", getStaffFlagValue("none"), true, false), + commandData("i", playerSwitchHotBarSlotCommand, "", getStaffFlagValue("none"), true, false), + commandData("addgrounditem", createGroundItemCommand, "", getStaffFlagValue("manageItems"), true, false), + commandData("delgrounditem", deleteGroundItemCommand, "", getStaffFlagValue("manageItems"), true, false), + commandData("pickup", pickupItemCommand, "", getStaffFlagValue("none"), true, false), + commandData("drop", dropItemCommand, "[slot]", getStaffFlagValue("none"), true, false), + commandData("put", putItemCommand, "[slot]", getStaffFlagValue("none"), true, false), + commandData("take", takeItemCommand, "[slot]", getStaffFlagValue("none"), true, false), + commandData("use", useItemCommand, "[slot]", getStaffFlagValue("none"), true, false), + commandData("inv", listPlayerInventoryCommand, "", getStaffFlagValue("none"), true, false), + commandData("inventory", listPlayerInventoryCommand, "", getStaffFlagValue("none"), true, false), + + commandData("items", listItemInventoryCommand, "", getStaffFlagValue("none"), true, false), + commandData("houseitems", listHouseInventoryCommand, "", getStaffFlagValue("none"), true, false), + commandData("bizstorage", listBusinessStorageInventoryCommand, "", getStaffFlagValue("none"), true, false), + commandData("bizfloor", listBusinessFloorInventoryCommand, "", getStaffFlagValue("none"), true, false), ], job: [ commandData("takejob", takeJobCommand, "", getStaffFlagValue("none"), true, false),