hgeorgsch / armchar-swish

ArM character server implementation using Haskell and Swish
GNU General Public License v3.0
0 stars 1 forks source link

hasLabel is persistent. #91

Closed hgeorgsch closed 2 years ago

hgeorgsch commented 2 years ago

arm:hasLabel has to be persistent in a few cases, such as possessions and combat options. It should otherwise not be persistent, as it is usually derived from resource classes.

For the time being it is probably best to make it persistent.

hgeorgsch commented 2 years ago

We will need to review how description and label is inherited from the class. There may be some need to make that more robust too.

hgeorgsch commented 2 years ago

See #92 . If we make sure to use instanceLabel in all cases where the instance differs from the class, hasLabel does not have to be persistent.