Table of Contents

Module: pubobjs pubobjs.py

Defines all the most basic objects (see Gadget for some more derivatives). Also instantiates the "Universe" Room and the Player, named "Everyman" (presumeably you can change the name afterwards).

Imported modules   
import copy
import pub
from pubcore import *
import pubverbs
import random
import re
import string
import types
Classes   

Actor

Base class of People or other active Creatures.

Box

Minimal Container plus Switch --

Container

Object which can contain other objects.

Countable

Countable object (can be plural). --

Drinkable

A class to handle liquids which should be possible to drink.

Edible

Edible
An object that can be eaten like bananas or lime even.

Exit

Exit / Entrance to a Room --

Garment

Clothes or other thing you wear.

Liquid

Liquid objects. --

Monitor

Monitor Tell messages --

NPC

Non-Player Character --

Player

Player's persona in the game --

Room

Basic Room object, a special Container.

Switch

A Thing with simple On-Off behavior --

Thing

Basic type for most PUB nouns. --

Timer

Timer switch --


Table of Contents

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