Remove all tags from guest accounts
Especially the 'alchemist' tag.
This commit is contained in:
parent
ec1881a7cf
commit
13991e0a03
2 changed files with 5 additions and 4 deletions
|
|
@ -110,11 +110,9 @@ class Character(Object, GenderCharacter, ContribRPCharacter):
|
|||
What if there is a bug and they are able to "get" something
|
||||
important, instead of berries?
|
||||
"""
|
||||
# Remove all the `hidden` tags, which resets all previously
|
||||
# seen objects:
|
||||
# Remove all the tags, which resets all previously seen objects:
|
||||
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
|
||||
for obj in self.contents:
|
||||
|
|
|
|||
|
|
@ -1024,6 +1024,9 @@ expectit "You hear a click"
|
|||
send "down stairs\n"
|
||||
expectit "Secret Room"
|
||||
|
||||
send "empty\n"
|
||||
expectit "empty"
|
||||
|
||||
send "add mushroom\n"
|
||||
expectit "You add gigglecap mushroom to black cauldron."
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue