Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Inventory Service GetExampleCommands Generic #81

Open
timjen3 opened this issue Oct 20, 2022 · 0 comments
Open

Make Inventory Service GetExampleCommands Generic #81

timjen3 opened this issue Oct 20, 2022 · 0 comments

Comments

@timjen3
Copy link
Owner

timjen3 commented Oct 20, 2022

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 = ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant