Crossfire Server, Trunk
imperialslots.py File Reference

Go to the source code of this file.

Namespaces

 imperialslots
 

Variables

 imperialslots.activator = Crossfire.WhoIsActivator()
 
 imperialslots.activatorname = activator.Name
 
string imperialslots.cointype = "imperial"
 
int imperialslots.cost = 1
 
 imperialslots.id = Crossfire.CreateObjectByName(cointype)
 
int imperialslots.maxpot = 10000
 
string imperialslots.message = "you win %d %s!" %(payoff,cointype)
 
int imperialslots.minpot = 200
 
 imperialslots.object = activator.CheckInventory(cointype)
 
 imperialslots.pay = CFItemBroker.Item(object).subtract(cost)
 
int imperialslots.payoff = cost*pay
 
 imperialslots.pot = Slots.checkslot()
 
 imperialslots.Quantity
 
 imperialslots.results = Slots.spin(spinners)
 
list imperialslots.slotlist = ["Dread", "Dragon", "Knight", "Wizard", "Titan", "Septre", "Emperor", "JackPot"]
 
list imperialslots.slotmajor = [.1, .15, .20, .25, .30, .40, .50, 1]
 
list imperialslots.slotminor = [1, 2, 3, 4, 5, 6, 10, 20]
 
string imperialslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path)
 
 imperialslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot)
 
int imperialslots.spinners = 4
 
 imperialslots.whoami = Crossfire.WhoAmI()
 
 imperialslots.x = activator.X
 
 imperialslots.y = activator.Y