Skip to content

Make Inventory Service GetExampleCommands Generic #81

@timjen3

Description

@timjen3

Currently InventoryCommandParser returns messages from GetExampleCommands that are specific to the demo:

return new string[]
{
	"Equip [miner] {itemName:stone pickaxe,equipAs:pick}",
	"Unequip [miner] {itemName:pick}",
	"Drop [miner] {itemName:stone pickaxe}",
	"Pickup [miner] {itemName:pebble}"
};

The default should be more generic.

Additionally you should be able to pass settings to override the defaults with settings.

{
	EquipExampleCommand = "",
	UnequipExampleCommand = "",
	DropExampleCommand = "",
	PickupExampleCommand = ""
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions