Add biz item cmds
This commit is contained in:
@@ -69,8 +69,10 @@ function loadCommands() {
|
||||
commandData("bizwithdraw", withdrawFromBusinessCommand, "<amount>", getStaffFlagValue("none"), true, true, "Take money out of the business till (cash register)"),
|
||||
commandData("bizdeposit", depositIntoBusinessCommand, "<amount>", getStaffFlagValue("none"), true, true, "Put money into the business till (cash register)"),
|
||||
commandData("buy", buyFromBusinessCommand, "<slot> [amount]", getStaffFlagValue("none"), true, true, "Buy items from a business"),
|
||||
//commandData("bizstockitem", stockItemInBusinessCommand, "<item name> <amount> <sell price>", getStaffFlagValue("none"), true, true, "Orders items to restock the business with."),
|
||||
//commandData("bizitemprice", setBusinessItemSellPriceCommand, "<item slot> <sell price>", getStaffFlagValue("none"), true, true, "Sets the purchase price of an item in the business"),
|
||||
commandData("bizstock", stockItemOnBusinessFloorCommand, "<item name> <amount> <sell price>", getStaffFlagValue("none"), true, true, "Uses storage items to restock the business with."),
|
||||
commandData("bizstore", storeItemInBusinessStorageCommand, "<item name> <amount>", getStaffFlagValue("none"), true, true, "Moves items from the business to the business storage"),
|
||||
commandData("bizorder", orderItemForBusinessCommand, "<item name> <amount> <sell price>", getStaffFlagValue("none"), true, true, "Moves items from the business storage to the business."),
|
||||
commandData("bizitemprice", setBusinessItemSellPriceCommand, "<item slot> <sell price>", getStaffFlagValue("none"), true, true, "Sets the purchase price of a business item"),
|
||||
commandData("bizname", setBusinessNameCommand, "<name>", getStaffFlagValue("none"), true, true, "Changes a business name"),
|
||||
commandData("bizowner", setBusinessOwnerCommand, "<player name/id>", getStaffFlagValue("none"), true, true, "Changes the owner of a business"),
|
||||
commandData("bizblip", setBusinessBlipCommand, "<type name/model id>", getStaffFlagValue("manageBusinesses"), true, true, "Sets the business blip display"),
|
||||
@@ -171,9 +173,21 @@ function loadCommands() {
|
||||
commandData("houseinttype", setHouseInteriorTypeCommand, "<interior template name/business id>", 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, "<slot id>", getStaffFlagValue("none"), true, false),
|
||||
commandData("addgrounditem", createGroundItemCommand, "<item name/id>", 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),
|
||||
|
||||
Reference in New Issue
Block a user