Allow RegEx or other pattern matching when specifying costs #14

Closed
opened 2023-01-06 20:09:50 +01:00 by EpicKnarvik97 · 1 comment

Currently, if one wants each "category" of items, such as anything gold or anything netherite, one still has to list each item individually, which can be bothersome, especially for the first-time setup. It would be nice if a regular expression or similar could be used to specify netherite*: 10 for specifying the cost of all netherite items. Proper escaping of special characters might be a challenge.

It could be possible to just use something like DIAMOND_A_, _A_HELMET, GOLD_A_, where _A_ is converted into * (A = Anything).

Currently, if one wants each "category" of items, such as anything gold or anything netherite, one still has to list each item individually, which can be bothersome, especially for the first-time setup. It would be nice if a regular expression or similar could be used to specify netherite*: 10 for specifying the cost of all netherite items. Proper escaping of special characters might be a challenge. It could be possible to just use something like DIAMOND_A_, \_A_HELMET, GOLD_A_, where \_A_ is converted into * (A = Anything).
EpicKnarvik97 added the
enhancement
label 2023-01-06 20:09:50 +01:00
Author
Owner

Implemented

Implemented
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: EpicKnarvik97/Blacksmith#14
No description provided.