Fix indentation in CFGamble.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11330 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
364f9f2d3c
commit
b4042eae5e
|
@ -14,9 +14,9 @@ class SlotMachine:
|
||||||
#sets up the file that holds all the slotmachine jackpots
|
#sets up the file that holds all the slotmachine jackpots
|
||||||
#make sure this points to your writable var/crossfire directory
|
#make sure this points to your writable var/crossfire directory
|
||||||
#you can delete that file to reset all the slotmachine jackpots
|
#you can delete that file to reset all the slotmachine jackpots
|
||||||
slotfile = os.path.join(Crossfire.LocalDirectory(),'SlotMachine_file')
|
slotfile = os.path.join(Crossfire.LocalDirectory(),'SlotMachine_file')
|
||||||
slotdb = {}
|
slotdb = {}
|
||||||
def __init__(self,slotname,slotlist,minpot,maxpot):
|
def __init__(self,slotname,slotlist,minpot,maxpot):
|
||||||
slotdb = shelve.open(self.slotfile)
|
slotdb = shelve.open(self.slotfile)
|
||||||
self.slotname = slotname
|
self.slotname = slotname
|
||||||
self.slotlist = slotlist
|
self.slotlist = slotlist
|
||||||
|
|
Loading…
Reference in New Issue