Remove all tags from guest accounts

Especially the 'alchemist' tag.
This commit is contained in:
Howard Abrams 2025-08-16 23:04:40 -07:00
parent ec1881a7cf
commit 13991e0a03
2 changed files with 5 additions and 4 deletions

View file

@ -110,11 +110,9 @@ class Character(Object, GenderCharacter, ContribRPCharacter):
What if there is a bug and they are able to "get" something What if there is a bug and they are able to "get" something
important, instead of berries? important, instead of berries?
""" """
# Remove all the `hidden` tags, which resets all previously # Remove all the tags, which resets all previously seen objects:
# seen objects:
for tag in self.tags.all(): for tag in self.tags.all():
if tag.startswith("hidden_"): self.tags.remove(tag)
self.tags.remove(tag)
# Remove everything in their inventory...including letter/ticket # Remove everything in their inventory...including letter/ticket
for obj in self.contents: for obj in self.contents:

View file

@ -1024,6 +1024,9 @@ expectit "You hear a click"
send "down stairs\n" send "down stairs\n"
expectit "Secret Room" expectit "Secret Room"
send "empty\n"
expectit "empty"
send "add mushroom\n" send "add mushroom\n"
expectit "You add gigglecap mushroom to black cauldron." expectit "You add gigglecap mushroom to black cauldron."