chiark / gitweb /
FishPond: Actually make fish be an instance object (in other bots)
[irc.git] / test-chiark.py
index b432deb1bbab307ea64cfaa424e65721fa253265..4cc48149809206e54e2efe774604628a50bdf547 100644 (file)
@@ -40,7 +40,7 @@ import commands as c
 
 # This fishpond is shared between trouts and flirts.  It doesn't have to be;
 # you can define as many ponds as you like.
-class fish (c.FishPond):
+class Fish (c.FishPond):
        cur_fish=5
        max_fish=5
        nofish_time=60
@@ -48,6 +48,8 @@ class fish (c.FishPond):
        fish_inc=2
        Boring_Git='Nobody'
 
+fish = Fish()
+
 # load a file full of flirts or trouts
 def __load(filename):
     try: