|
| | diamondslots.activator = Crossfire.WhoIsActivator() |
| |
| | diamondslots.activatorname = activator.Name |
| |
| string | diamondslots.cointype = "gem" |
| |
| int | diamondslots.cost = 1 |
| |
| | diamondslots.id = Crossfire.CreateObjectByName(cointype) |
| |
| int | diamondslots.maxpot = 10000 |
| |
| string | diamondslots.message = "you win %d %s!" %(payoff,cointype) |
| |
| int | diamondslots.minpot = 200 |
| |
| | diamondslots.object = activator.CheckInventory(cointype) |
| |
| | diamondslots.pay = CFItemBroker.Item(object).subtract(cost) |
| |
| int | diamondslots.payoff = cost*pay |
| |
| | diamondslots.pot = Slots.checkslot() |
| |
| | diamondslots.Quantity |
| |
| | diamondslots.results = Slots.spin(spinners) |
| |
| list | diamondslots.slotlist = ["Silver", "Gold", "Platinum", "Sapphire", "Emerald", "Ruby", "Diamond", "JackPot"] |
| |
| list | diamondslots.slotmajor = [.1, .15, .25, .30, .40, .50, .60, 1] |
| |
| list | diamondslots.slotminor = [1, 2, 3, 4, 5, 6, 10, 15] |
| |
| string | diamondslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path) |
| |
| | diamondslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot) |
| |
| int | diamondslots.spinners = 4 |
| |
| | diamondslots.whoami = Crossfire.WhoAmI() |
| |
| | diamondslots.x = activator.X |
| |
| | diamondslots.y = activator.Y |
| |