etamoo

Safe HaskellNone
LanguageHaskell2010

MOO.Verb

Synopsis

Documentation

data ObjSpec Source

Argument (direct/indirect object) specifier

Constructors

ObjNone

none

ObjAny

any

ObjThis

this

data PrepSpec Source

Preposition specifier

Constructors

PrepAny

any

PrepNone

none

PrepWithUsing

with/using

PrepAtTo

at/to

PrepInfrontof

in front of

PrepInInsideInto

in/inside/into

PrepOntopofOnOntoUpon

on top of/on/onto/upon

PrepOutofFrominsideFrom

out of/from inside/from

PrepOver

over

PrepThrough

through

PrepUnderUnderneathBeneath

under/underneath/beneath

PrepBehind

behind

PrepBeside

beside

PrepForAbout

for/about

PrepIs

is

PrepAs

as

PrepOffofOff

off of/off

verbNameMatch :: StrT -> [StrT] -> Bool Source

Does the given verb name match any of the given aliases? Each alias may use * to separate required and optional text to match.