New command to see materials contained in a preset #7
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: EpicKnarvik97/Blacksmith#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While presets are nice and all, if #6 is implemented, there will be no way to tell which materials are contained within a given preset. To solve this, a new command should be created:
/preset \<presetName>
, which would print the list of materials contained within the given preset.Might be over-complicated:
It might be worthwile to also allow defining custom presets using the /preset command. It would just be:
/preset \<newPresetName> \<comma-separated-list-of-materials>
. For big servers with several cities where each city has blacksmiths with particular lists of reforgeable items, this would be especially useful.Implementing custom presets would probably require all presets to be defined in a new config file, thus making the existing presets fully customizable as well. For this to work, collections must be definable, such as "armor:diamond", "armor", "tool", "sword", "weapon", etc.
"ranged:bow" would include bow an crossbow, but not trident.
Instead of custom presets, it might be better to add filtering on presets, so users could use "preset:toolsmith:pickaxe" to create a pickaxesmith.