Fix spawning of the Mist Horns
This commit is contained in:
parent
9e81276aee
commit
fe6c088152
2 changed files with 26 additions and 4 deletions
|
|
@ -156,10 +156,8 @@ class CreateHorns(Script):
|
||||||
"""
|
"""
|
||||||
def at_repeat(self, **kwargs):
|
def at_repeat(self, **kwargs):
|
||||||
hut = self.attributes.get("destination")
|
hut = self.attributes.get("destination")
|
||||||
results = hut.search('horn').first()
|
results = hut.search('horn', location=hut, quiet=True)
|
||||||
if results and results.location == hut:
|
if len(results) < 1:
|
||||||
pass
|
|
||||||
else:
|
|
||||||
horn = spawn({
|
horn = spawn({
|
||||||
"typeclass": "typeclasses.sailing.CallingHorn",
|
"typeclass": "typeclasses.sailing.CallingHorn",
|
||||||
"key": "horn",
|
"key": "horn",
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,30 @@ lazy_dock:
|
||||||
often is a conduit for the creation of these horns. Good luck
|
often is a conduit for the creation of these horns. Good luck
|
||||||
getting in there.
|
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:
|
grotto:
|
||||||
narrative: >-
|
narrative: >-
|
||||||
A << flock ^ couple >> of sparrows fly into the berrybush. One of
|
A << flock ^ couple >> of sparrows fly into the berrybush. One of
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue