forked from Fairyon/moul-assets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
""" |
|
Module: jfshJellyfish |
|
Age: Jellyfish |
|
Date: May 2006 |
|
Author: Derek Odell |
|
Jellyfish Logic |
|
""" |
|
|
|
from Plasma import * |
|
from PlasmaTypes import * |
|
|
|
# define the attributes that will be entered in max # |
|
#---------------------------------------------------# |
|
collectorGoal01 = ptAttribActivator(1, "Jellyfish Goal 01") |
|
|
|
# globals # |
|
#---------# |
|
|
|
|
|
#============================================================================================= |
|
|
|
class jfshJellyfish(ptResponder): |
|
########################### |
|
def __init__(self): |
|
ptResponder.__init__(self) |
|
self.id = 5341 |
|
self.version = 1 |
|
print "jfshJellyfish: init version = %d" % self.version |
|
|
|
########################### |
|
def OnFirstUpdate(self): |
|
"Nothing Here" |
|
|
|
########################### |
|
def OnServerInitComplete(self): |
|
"Nothing Here" |
|
|
|
########################### |
|
def OnNotify(self,state,id,events): |
|
if id == collectorGoal01.id: |
|
print "GOOOOOOOOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL!" |
|
|