evennia / ainneve

A full example game created in Evennia (under development, anyone can help!)
77 stars 52 forks source link

Lockfuncs based on traits #108

Closed Russell-Jones closed 1 year ago

Russell-Jones commented 6 years ago

Should there be lockfuncs based on traits provided with Ainneve (to allow things akin to https://github.com/evennia/evennia/wiki/Locks#a-complete-example-of-setting-locks-on-an-object ), or would this be out of scope? The default attr*() lockfuncs only look one level deep, and don't understand the traits system.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/52523410-lockfuncs-based-on-traits?utm_campaign=plugin&utm_content=tracker%2F18622666&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18622666&utm_medium=issues&utm_source=github).
aliceafterall commented 6 years ago

Yes, I'd think so! We'd welcome a PR for something like that.