delivery.quest

resources/quests/delivery/delivery.quest · 1.3 KB

From the archive CoffeeMud.zip

Download the archive   « Back to the archive contents

#set the quest name
set name delivery

# this one runs every 10 mins
set wait 150
set interval 1

# dont run this quest if any other quest is running.
# this is no big deal since it repeats so often
# the high level will mean any other quests can 
# run though
set runlevel 10

import items quests/delivery/note.cmare
#import our secret note

set area any
# inform the quest that it occurs anywhere

quiet
# this makes sure we don't get a final error message

set mob ANY MASK=+INT 6
# load up any mob from the above area.  Will set a room!
# since this quest relys on random specified mobs, most 
# errors are turned off w/ quiet

give behavior Scriptable LOAD=quests/delivery/deliverer.script
# load the above behavior into the last mob (Human)

load item secret note
# load our secret note.  For the time being, it will sit in the room

give item
# now we give the item to our mob

set room
set mob
set area
# clear the room designation

set area any
# set any other area as a designation

set mob ANY MASK=+INT 6
# load up any other mob from any other area.  Will set a room!

give behavior Scriptable LOAD=quests/delivery/deliveree.script
# load the above behavior into the last mob (Human)

set duration 175
# the duration of the quest is 10 minutes (175 ticks).  The scripts on the mobs will
# do the rest...

Site Stats

Snippets: 1791
Codebases: 571