Table of Contents

Module: pubverbs pubverbs.py

Defines the basic classes of verbs understood by the game. More verbs are interpreted via synonyms to these.

Imported modules   
import pub
from pubcore import *
import string
Classes   

DefVerb

Call verb defined by defcmd of an object --

Drink

Drink
Checks if an object can be drunk and then executes.

Drop

Place on object into the Actor's Container.

Eat

Used to eat things. It is possible to make hunger and food have an effect

Follow

Follow another Actor --

Get

Get an object into your grubby little hands.

Give

Give something to someone else

Inventory

Get the inventory (of the player) --

Look

Look (get description from an object) --

Off

Turn OFF --

On

Turn ON --

Put

Put something into something else.

Quit

Quit the game --

Restore

Restore the game from disk.

Save

Save the game to disk.

Say

Say
send information to Tell methods --

Social

Social verb class
little effect on topology

Toggle

Toggle ON/OFF --

Transitive

Transitive verbs
require direct objects.

Use

Call the Use(byWhom) method of the object

VerbsVerb

verbs: print all known verbs

Wait

Wait (by default, 5 minutes)


Table of Contents

This document was automatically generated on Mon Aug 8 17:04:06 2005 by HappyDoc version 2.1