!library !asl-version <350> '===================================================== '== QUEST Library for common / basic verbs == '== 20:37 22/09/04 == '===================================================== '== This library add new verbs to the game == '== if you improved it, email eforgeot@yahoo.fr == '===================================================== !addto game command msg command msg command msg <#quest.error.gender# #@object# is not for sale> command msg command msg command msg command msg command if action <#thing#; change> then doaction <#thing#; change> else msg command msg <#quest.error.article# #quest.lastobject# is not dirty.> command { if property <#quest.objects#; climbable> then { msg } else msg <#quest.error.gender# #quest.objects# can't be climbed.> } command { if property <#object#; closable> then { msg property <#object#; closed> property <#object#; not opened> } else msg <#quest.error.gender# #quest.lastobject# can't be closed.> } ' command command msg command msg command if action <#thing#; cook> then doaction <#thing#; cook> else msg command msg command { set numeric for each object in <#quest.currentroom#> { if property <#quest.thing#; clonable> then { inc } } if (%nbcount% > 1 ) then msg else msg } command playerlose command msg command { if property <#quest.objects#; breakable> then { msg conceal <#quest.objects#> } } command msg command msg ' command ' command ' command command if action <#thing#; dig> then doaction <#thing#; dig> else msg ' command command msg command if action <#thing#; drive> then doaction <#thing#; drive> else msg command { if property <#quest.objects#; drinkable> then { msg conceal <#quest.objects#> } else msg <#quest.error.gender# #quest.objects# doesn't seem good to drink, you should forget this.> } command { if property <#quest.objects#; edible> then { msg conceal <#quest.objects#> } else { msg <#quest.error.gender# #quest.objects# doesn't appear appetizing, you shouldn't do this.> } } ' command ' command command if action <#thing#; edit> then doaction <#thing#; edit> else msg command if action <#thing#; enter> then doaction <#thing#; enter> else msg command msg ' command ' command command if action <#thing#; empty> then doaction <#thing#; empty> else msg command if action <#thing#; fill> then doaction <#thing#; fill> else msg command if action <#thing#; find> then doaction <#thing#; find> else msg ' command command if action <#thing#; fix> then doaction <#thing#; fix> else msg command msg ' command command command msg ' command command msg command if action <#thing#; kiss> then doaction <#thing#; kiss> else msg command if action <#person#; kill> then doaction <#person#; kill> else msg command msg command msg ' command ' command command if action <#thing#; lift> then doaction <#thing#; lift> else msg command msg command if action <#thing#; listen> then doaction <#thing#; listen> else msg ' command command msg command { if property <#object#; openable> then { msg property <#object#; opened> property <#object#; not closed> } else msg <#quest.error.gender# #quest.lastobject# can't be opened.> } command if action <#thing#; pay> then doaction <#thing#; pay> else msg command if action <#thing#; pay> then doaction <#thing#; pay> else msg command exec ' command ' command ' command ' put = drop command { if property <#support#; supporter> then { msg } else { msg } } ' command ' command ' command ' command { ' if type <#thing#; TLTreadable> or property <#thing#; readable> then { ' msg ' exec <#quest.originalcommand#;normal> ' } ' else { ' msg ' } ' } command if action <#thing#; read> then doaction <#thing#; read> else msg ' command ' command ' command ' command command msg command if action <#person#; say> then doaction <#thing#; say> else msg ' command ' command command msg ' command command if action <#thing#; sell> then doaction <#thing#; sell> else msg ' command ' command command msg command msg command msg command msg command msg command if action <#thing#; smell> then doaction <#thing#; smell> else msg command if action <#thing#; smoke> then doaction <#thing#; smoke> else msg command msg command msg ' command command msg ' command command if action <#thing#; steal> then doaction <#thing#; steal> else msg command msg ' command ' command ' command command if action <#thing#; throw> then doaction <#thing#; throw> else msg command if action <#thing#; wear> then doaction <#thing#; wear> else msg ' command ' command ' command ' command command msg command msg ' command command msg command msg command if action <#thing#; wash> then doaction <#thing#; wash> else msg command msg command msg ' command ' command !end '=========================================== '== Add some synonyms used in the library == '=========================================== !addto synonyms inspect, search, seek = examine ' drop the; put the; put down the; put down; put = drop give back the; give back; give the = give get the; get; take back the; take back; take the = take out of the; out of; back from the; back from; from the = from in to; in to the; into the; into; inside the; inside = in back to the; back to; to the = to leave = drop swallow = eat fetch = bring shut = close fall = jump slip = glitter graze = erode offer = give pour = fill see = look spell = cast stay = wait begin = start ' study = read swallow = eat remove = drop whine = complain ' kill = attack drop = put dump = throw ' look under = look ' look on = look ' look for = look check; inspect = examine shout; yell = scream flee ; run away = escape !end ' bring ' buy ' cancel ' cast ' carve, dig, pick ' change ' clean ' close ' comb ' complain ' cook ' cough ' count ' crawl ' dance ' desire ' detach ' dive ' draw ' dream ' drive ' edit ' enter ' escape ' explain ' fill ' find ' finish ' fix ' fly ' glitter ' help ' hurt ' jump ' kiss ' learn ' leave ' lift ' listen ' lose ' pay ' pick, pluck ' plant ' put ' put on ' radiate ' rain ' read ' release ' reply ' ride ' rub (without abrade) ' run ' say ' see ' seek ' sell ' send ' show ' sit ' sleep ' smoke ' spend ' stand up, get up ' start ' steal ' swim ' take ' take, receive ' teach ' throw ' wear ' travel ' try ' turn off ' turn on ' wake ' walk ' wash ' weep ' work ' worry ' write