Open
Conversation
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Consuming features/modules can use ResourcefulConfigItems#resolve to not recompute the identifier parsing & registry lookup of values that are very much likely to have already been computed Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Register a custom component, CUSTOM_SLOT_SELECTOR_LOCKED_COMPONENT, which the custom renderer uses to branch off whether a cell can be picked/specified. Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
…strategy Allows stateful maping between declared groups (configured item is intrinsic to a group? state can be mapped declaratively through possible state), item id parsing & direct item access Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Honestly, we should aim to match 1:1 with the screens users know- color match, lore lines-alike, etc... These containers are built for a sole frame and at a configuration point of the mod, so it won't be performance heavy ever. also, as commented on the element's PR, it'll be better if we come to have a sole definition of screen per screen type, we need to do the refactors needed to bazaarslots/bazaarscreens to source these elements providers from those existent definitions. and we could maybe have those bazaarslots/bazaarscreens definitions be retrieved from a github repository, so that we can fix without updating if game data ever changes Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
…ovider Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Signed-off-by: 0xar-ds <sadden-rope-sleek@duck.com>
Collaborator
Author
|
do lmk if you want me to drop stateful item configurations/item groups |
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
depends on #73
changelog
slotNumber->slotIndex110757awasButtonSlotClicked->wasButtonClicked51735e6ById, a strategy which is to be consumed by features which resolve their item by identifier. e36cc94Direct, a strategy which is to be consumed by features which resolve their item statically, albeit, it is not configurable. e36cc94Stateful, a strategy which accepts a supplier of state and a StateItemGroup which is generic to the state. It is to be consumed by features which want to shift the button item depending on some state. e36cc94examples
ItemButton
A feature which consumes the new interface
and allows the user to configure both the index and the button item
and shifts through state
renders