diff --git a/typeclasses/scripts.py b/typeclasses/scripts.py index 2fc92a3..ad8adb9 100644 --- a/typeclasses/scripts.py +++ b/typeclasses/scripts.py @@ -156,10 +156,8 @@ class CreateHorns(Script): """ def at_repeat(self, **kwargs): hut = self.attributes.get("destination") - results = hut.search('horn').first() - if results and results.location == hut: - pass - else: + results = hut.search('horn', location=hut, quiet=True) + if len(results) < 1: horn = spawn({ "typeclass": "typeclasses.sailing.CallingHorn", "key": "horn", diff --git a/world/hints.yaml b/world/hints.yaml index 82205ca..079beed 100644 --- a/world/hints.yaml +++ b/world/hints.yaml @@ -130,6 +130,30 @@ lazy_dock: often is a conduit for the creation of these horns. Good luck getting in there. +shore: + narrative: >- + A << small ^ green ^ >> crab, + << scurrying ^ crawling >> << along ^ in >> the surf, + << gives you a sideways glance ^ blinks its eyestalks ^ + looks curiously at you >>, and + << mentions ^ says ^ croaks >>, "{0}" + hints: + default: >- + Are you looking for the palace beneath the waves? + You don't look like the sort of creature that can + travel under the water that far... at least, not + without the deep |Ykelp|n. + kelp: >- + We call it deep kelp because it grows deep in the sea. + Sure, sometimes it washes up on shore, but the last + time that happened, I saw an |Yelf|n with blonde hair, + gathering up the rest of it. + elf: >- + What was unique about the elf? He had a pointed ears and nose, + that pointed straight up. Does that help? Oh, he was talking + to a large mushroom that was walking with him about ... drinking? + You land creatures seem obsessed with drinking. + grotto: narrative: >- A << flock ^ couple >> of sparrows fly into the berrybush. One of