|
Crossfire Server, Trunk
1.75.0
|
Variables | |
| activator = Crossfire.WhoIsActivator() | |
| activatorname = activator.Name | |
| string | cointype = "silvercoin" |
| int | cost = 1 |
| id = Crossfire.CreateObjectByName(cointype) | |
| int | maxpot = 50000 |
| string | message = "you win %d %s!" %(payoff,cointype) |
| int | minpot = 100 |
| int | pay = 0 |
| int | payoff = cost*pay |
| pot = Slots.checkslot() | |
| Quantity | |
| results = Slots.spin(spinners) | |
| list | slotlist = ["Merchant", "Coin", "Diamond", "Imp", "Devil", "JackPot"] |
| list | slotmajor = [.10, .15, .20, .30, .5, 1] |
| list | slotminor = [1, 2, 4, 5, 10, 20] |
| string | slotname = '%s#%s' %(whoami.Name,whoami.Map.Path) |
| Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot) | |
| int | spinners = 4 |
| whoami = Crossfire.WhoAmI() | |
| x = activator.X | |
| y = activator.Y | |
| silverslots.activator = Crossfire.WhoIsActivator() |
Definition at line 8 of file silverslots.py.
| silverslots.activatorname = activator.Name |
Definition at line 9 of file silverslots.py.
| string silverslots.cointype = "silvercoin" |
Definition at line 16 of file silverslots.py.
| int silverslots.cost = 1 |
Definition at line 19 of file silverslots.py.
| silverslots.id = Crossfire.CreateObjectByName(cointype) |
Definition at line 50 of file silverslots.py.
| int silverslots.maxpot = 50000 |
Definition at line 18 of file silverslots.py.
Definition at line 54 of file silverslots.py.
| int silverslots.minpot = 100 |
Definition at line 17 of file silverslots.py.
| list silverslots.pay = 0 |
Definition at line 37 of file silverslots.py.
Definition at line 48 of file silverslots.py.
| silverslots.pot = Slots.checkslot() |
Definition at line 38 of file silverslots.py.
| silverslots.Quantity |
Definition at line 51 of file silverslots.py.
| silverslots.results = Slots.spin(spinners) |
Definition at line 36 of file silverslots.py.
| list silverslots.slotlist = ["Merchant", "Coin", "Diamond", "Imp", "Devil", "JackPot"] |
Definition at line 22 of file silverslots.py.
| list silverslots.slotmajor = [.10, .15, .20, .30, .5, 1] |
Definition at line 27 of file silverslots.py.
| list silverslots.slotminor = [1, 2, 4, 5, 10, 20] |
Definition at line 26 of file silverslots.py.
| string silverslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path) |
Definition at line 12 of file silverslots.py.
| silverslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot) |
Definition at line 32 of file silverslots.py.
| int silverslots.spinners = 4 |
Definition at line 29 of file silverslots.py.
| silverslots.whoami = Crossfire.WhoAmI() |
Definition at line 10 of file silverslots.py.
| silverslots.x = activator.X |
Definition at line 13 of file silverslots.py.
| silverslots.y = activator.Y |
Definition at line 14 of file silverslots.py.