You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- type: entityid: Basecomponents:
- type: Tagtags:
- A
- B
- type: Entityparent: Baseid: Extendedcomponents:
- type: Tagtags: !Add
- C # A B C
- type: entityparent: Baseid: Removedcomponents:
- type: Tagtags: !Remove
- A # just B
then "just" handle the Add Remove markers by looking up the parent prototype and adding or removing
presumably this would only be possible on fields of the component, and not fields of those fields
this would make maintaining tags specifically a hell of a lot easier, no random thing overwriting it which has happened countless times
this would make a lot of fork work easier since you can shrimply add a tag and done dont have to copy paste it into every single descendant
The text was updated successfully, but these errors were encountered:
# pai that can play music
- type: entityid: PAIMusic
- type: UserInterfaceinterfaces:
enum.MusicUiKey.Key:
type: MusicBoundUserInterface# pai that has map AND music
- type: entityparent: PAIMusicid: PAIMapcomponents:
- type: UserInterfaceinterfaces: !Addenum.MapUiKey.Key:
type: MapBoundUserInterface# an expansion card that adds a userinterface regardless of what the pai already had# so ComponentRegistry has to support this syntax too# right now this has a shitty boilerplate AddUserInterface component that does this by hand
- type: entityid: CoolCardcomponents:
- type: PAIExpansionCardcomponents:
- type: UserInterfaceinterfaces: !Addenum.CoolUiKey.Key:
type: CoolUserInterface# combining add and remove in the entity prototype and a registry# a card that removes midi player if you are a bad person, and also has the cool ui
- type: entityparent: CoolCardid: EvilCardcomponents:
- type: PAIExpansionCardcomponents: !Add # keep the CoolUi with this module
- type: UserInterfaceinterfaces: !Remove # uses just key instead of key: value
- enum.MusicUiKey.Key
something like
then "just" handle the Add Remove markers by looking up the parent prototype and adding or removing
presumably this would only be possible on fields of the component, and not fields of those fields
The text was updated successfully, but these errors were encountered: