Crossfire Server, Trunk
goldslots.py File Reference

Go to the source code of this file.

Namespaces

 goldslots
 

Variables

 goldslots.activator = Crossfire.WhoIsActivator()
 
 goldslots.activatorname = activator.Name
 
string goldslots.cointype = "goldcoin"
 
int goldslots.cost = 1
 
 goldslots.id = Crossfire.CreateObjectByName(cointype)
 
int goldslots.maxpot = 50000
 
string goldslots.message = "you win %d %s!" %(payoff,cointype)
 
int goldslots.minpot = 100
 
int goldslots.pay = 0
 
int goldslots.payoff = cost*pay
 
 goldslots.pot = Slots.checkslot()
 
 goldslots.Quantity
 
 goldslots.results = Slots.spin(spinners)
 
list goldslots.slotlist = ["Club", "Staff", "Shield", "Sword", "Wand", "Scroll", "JackPot"]
 
list goldslots.slotmajor = [.10, .15, .20, .25, .35, .50, 1]
 
list goldslots.slotminor = [1, 2, 3, 4, 5, 10, 20]
 
string goldslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path)
 
 goldslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot)
 
int goldslots.spinners = 4
 
 goldslots.whoami = Crossfire.WhoAmI()
 
 goldslots.x = activator.X
 
 goldslots.y = activator.Y