Crossfire Server, Trunk
platinumslots.py File Reference

Go to the source code of this file.

Namespaces

 platinumslots
 

Variables

 platinumslots.activator = Crossfire.WhoIsActivator()
 
 platinumslots.activatorname = activator.Name
 
string platinumslots.cointype = "platinacoin"
 
int platinumslots.cost = 1
 
 platinumslots.id = Crossfire.CreateObjectByName(cointype)
 
int platinumslots.maxpot = 100000
 
string platinumslots.message = "you win %d %s!" %(payoff,cointype)
 
int platinumslots.minpot = 200
 
int platinumslots.pay = 0
 
int platinumslots.payoff = cost*pay
 
 platinumslots.pot = Slots.checkslot()
 
 platinumslots.Quantity
 
 platinumslots.results = Slots.spin(spinners)
 
list platinumslots.slotlist = ["Jester", "Lord", "Lady", "Prince", "Princess", "King", "Queen", "JackPot"]
 
list platinumslots.slotmajor = [.1, .15, .25, .3, .4, .5, .6, 1]
 
list platinumslots.slotminor = [1, 2, 3, 4, 5, 10, 20, 25]
 
string platinumslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path)
 
 platinumslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot)
 
int platinumslots.spinners = 4
 
 platinumslots.whoami = Crossfire.WhoAmI()
 
 platinumslots.x = activator.X
 
 platinumslots.y = activator.Y