Crossfire Server, Trunk
silverslots.py File Reference

Go to the source code of this file.

Namespaces

 silverslots
 

Variables

 silverslots.activator = Crossfire.WhoIsActivator()
 
 silverslots.activatorname = activator.Name
 
string silverslots.cointype = "silvercoin"
 
int silverslots.cost = 1
 
 silverslots.id = Crossfire.CreateObjectByName(cointype)
 
int silverslots.maxpot = 50000
 
string silverslots.message = "you win %d %s!" %(payoff,cointype)
 
int silverslots.minpot = 100
 
int silverslots.pay = 0
 
int silverslots.payoff = cost*pay
 
 silverslots.pot = Slots.checkslot()
 
 silverslots.Quantity
 
 silverslots.results = Slots.spin(spinners)
 
list silverslots.slotlist = ["Merchant", "Coin", "Diamond", "Imp", "Devil", "JackPot"]
 
list silverslots.slotmajor = [.10, .15, .20, .30, .5, 1]
 
list silverslots.slotminor = [1, 2, 4, 5, 10, 20]
 
string silverslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path)
 
 silverslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot)
 
int silverslots.spinners = 4
 
 silverslots.whoami = Crossfire.WhoAmI()
 
 silverslots.x = activator.X
 
 silverslots.y = activator.Y