diff --git a/typeclasses/characters.py b/typeclasses/characters.py index 8d7fb48..92d2dd1 100644 --- a/typeclasses/characters.py +++ b/typeclasses/characters.py @@ -164,12 +164,12 @@ class Character(Object, GenderCharacter): And 'target' is some label. If not given, this defaults to the name of the thing. """ - hidden_tag = target.db.hidden_tag or f"hidden_{target}" - lock_string = f"view:tag({hidden_tag})" - view_lock = target.locks.get("view") - if view_lock == lock_string: - self.tags.add(hidden_tag) + # If they 'look' at a target with tags, they get those locks: + # For instance: @set waterfall/hidden_tag = "hidden_cave" + if target.db.hidden_tag: + for hidden_tag in target.db.hidden_tag.split(';'): + self.tags.add(hidden_tag) if target.is_typeclass("typeclasses.rooms.Room"): self.db.tutorstate = self.db.tutorstate | TutorialState.LOOK.value diff --git a/typeclasses/fishing.py b/typeclasses/fishing.py index 1842878..cc3bd5f 100755 --- a/typeclasses/fishing.py +++ b/typeclasses/fishing.py @@ -100,7 +100,7 @@ class Fish(CarriableNPC): it calls at_say() in order to do a type of monologue. """ if self.db.spoken == 1: - self.at_say("Whew! Thanks for removing the sharp hook. Not sure how it got on that.") # Change + self.at_say("Whew! Thanks for removing the sharp hook. Not sure how I got stuck on that.") elif self.db.spoken == 5: self.at_say(f"My name's {self.db.name}. What's yours?") self.db.desc = f"{self.db.name}. {self.db.desc}" @@ -109,10 +109,10 @@ class Fish(CarriableNPC): elif self.db.spoken == 20: self.at_say("So... how're you getting along?") elif self.db.spoken == 30: - self.at_say("Right, right. Still can't hear a things. Hrm.") + self.at_say("Right, right. Still can't hear. Hrm.") elif self.db.spoken == 60: self.at_say("Do you know why we fish are so easy to weigh? ") - elif self.db.spoken == 61: + elif self.db.spoken == 63: self.at_say("Because we have are own scales.") elif self.db.spoken == 70: self.at_say("I suppose you could |gthrow|n me back in the water at any time.")