|
Crossfire Server, Trunk
1.75.0
|
Variables | |
| activator = Crossfire.WhoIsActivator() | |
| activatorname = activator.Name | |
| string | cointype = "goldcoin" |
| 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 = ["Club", "Staff", "Shield", "Sword", "Wand", "Scroll", "JackPot"] |
| list | slotmajor = [.10, .15, .20, .25, .35, .50, 1] |
| list | slotminor = [1, 2, 3, 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 | |
| goldslots.activator = Crossfire.WhoIsActivator() |
Definition at line 9 of file goldslots.py.
| goldslots.activatorname = activator.Name |
Definition at line 10 of file goldslots.py.
| string goldslots.cointype = "goldcoin" |
Definition at line 17 of file goldslots.py.
| int goldslots.cost = 1 |
Definition at line 20 of file goldslots.py.
| goldslots.id = Crossfire.CreateObjectByName(cointype) |
Definition at line 51 of file goldslots.py.
| int goldslots.maxpot = 50000 |
Definition at line 19 of file goldslots.py.
Definition at line 55 of file goldslots.py.
| int goldslots.minpot = 100 |
Definition at line 18 of file goldslots.py.
| list goldslots.pay = 0 |
Definition at line 38 of file goldslots.py.
Definition at line 49 of file goldslots.py.
| goldslots.pot = Slots.checkslot() |
Definition at line 39 of file goldslots.py.
| goldslots.Quantity |
Definition at line 52 of file goldslots.py.
| goldslots.results = Slots.spin(spinners) |
Definition at line 37 of file goldslots.py.
| list goldslots.slotlist = ["Club", "Staff", "Shield", "Sword", "Wand", "Scroll", "JackPot"] |
Definition at line 23 of file goldslots.py.
| list goldslots.slotmajor = [.10, .15, .20, .25, .35, .50, 1] |
Definition at line 28 of file goldslots.py.
| list goldslots.slotminor = [1, 2, 3, 4, 5, 10, 20] |
Definition at line 27 of file goldslots.py.
| string goldslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path) |
Definition at line 13 of file goldslots.py.
| goldslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot) |
Definition at line 33 of file goldslots.py.
| int goldslots.spinners = 4 |
Definition at line 30 of file goldslots.py.
| goldslots.whoami = Crossfire.WhoAmI() |
Definition at line 11 of file goldslots.py.
| goldslots.x = activator.X |
Definition at line 14 of file goldslots.py.
| goldslots.y = activator.Y |
Definition at line 15 of file goldslots.py.