Crossfire Server, Trunk
|
Public Member Functions | |
def | get_story (self) |
def | say (self) |
def | timer (self) |
Main handling class.
Definition at line 30 of file CFCampfire.py.
def CFCampfire.CFCampfire.get_story | ( | self | ) |
Returns a random story from the stories directory, internal use.
Definition at line 59 of file CFCampfire.py.
Referenced by CFCampfire.CFCampfire.say().
def CFCampfire.CFCampfire.say | ( | self | ) |
Called when the player talks to the firecamp.
Definition at line 33 of file CFCampfire.py.
References CFCampfire.CFCampfire.get_story().
def CFCampfire.CFCampfire.timer | ( | self | ) |
Called when the firecamp's timer expire. Sends more of the story.
Definition at line 65 of file CFCampfire.py.
References make_face_from_files.int, CFBank.open(), split(), and make_face_from_files.str.