vilmibm / tildemush

a modern mush tailored to tilde town
GNU General Public License v3.0
42 stars 12 forks source link

pronoun handling for objects #114

Open modgethanc opened 6 years ago

modgethanc commented 6 years ago

would be cool if objects had a pronoun field thar scripts can query/use foe generating text, and a tool for script owners to set pronouns on an object (including themselves).

vilmibm commented 6 years ago

i love it! i'm imagining this is just an agreed-upon kv field?

i wonder if we might want to support something like:

(has {"meta" {"name" "vil" "description" "amorphous digital entity" "pronouns" "they/them/their"}
         "random custom data" "foobar"
         "other stuff" "stuffff"})

ie, a nested dictionary with "special" keys that have meaning beyond the witch script itself. is a nested dict too much learning overhead for newer programmers? or is it confusing to have some top level keys special and not others?

i'm leaning towards all top level keys with some of them being special.