chiark
/
gitweb
/
~matthewv
/
irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FishPond: Actually make fish be an instance object (in other bots)
[irc.git]
/
methsoc.py
diff --git
a/methsoc.py
b/methsoc.py
index eea952fba4cc1c1b5d521f3af7f993e842708cce..31988642dfd057dfc98d7ae9b96b6f3a23842c1a 100644
(file)
--- a/
methsoc.py
+++ b/
methsoc.py
@@
-37,7
+37,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.
# This fishpond is shared between trouts and flirts. It doesn't have to be;
# you can define as many ponds as you like.
-class
f
ish (c.FishPond):
+class
F
ish (c.FishPond):
cur_fish=5
max_fish=5
nofish_time=60
cur_fish=5
max_fish=5
nofish_time=60
@@
-45,6
+45,8
@@
class fish (c.FishPond):
fish_inc=2
Boring_Git='Nobody'
fish_inc=2
Boring_Git='Nobody'
+fish = Fish()
+
# load a file full of flirts or trouts
def __load(filename):
try:
# load a file full of flirts or trouts
def __load(filename):
try: