Fix spawning of the Mist Horns

This commit is contained in:
Howard Abrams 2025-08-27 22:12:16 -07:00
parent 9e81276aee
commit fe6c088152
2 changed files with 26 additions and 4 deletions

View file

@ -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",

View file

@ -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