Crossfire Server, Trunk
|
Variables | |
activator = Crossfire.WhoIsActivator() | |
activatorname = activator.Name | |
string | cointype = "platinacoin" |
int | cost = 1 |
id = Crossfire.CreateObjectByName(cointype) | |
int | maxpot = 100000 |
string | message = "you win %d %s!" %(payoff,cointype) |
int | minpot = 200 |
int | pay = 0 |
int | payoff = cost*pay |
pot = Slots.checkslot() | |
Quantity | |
results = Slots.spin(spinners) | |
list | slotlist = ["Jester", "Lord", "Lady", "Prince", "Princess", "King", "Queen", "JackPot"] |
list | slotmajor = [.1, .15, .25, .3, .4, .5, .6, 1] |
list | slotminor = [1, 2, 3, 4, 5, 10, 20, 25] |
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 | |
platinumslots.activator = Crossfire.WhoIsActivator() |
Definition at line 9 of file platinumslots.py.
platinumslots.activatorname = activator.Name |
Definition at line 10 of file platinumslots.py.
string platinumslots.cointype = "platinacoin" |
Definition at line 17 of file platinumslots.py.
int platinumslots.cost = 1 |
Definition at line 20 of file platinumslots.py.
platinumslots.id = Crossfire.CreateObjectByName(cointype) |
Definition at line 51 of file platinumslots.py.
int platinumslots.maxpot = 100000 |
Definition at line 19 of file platinumslots.py.
string platinumslots.message = "you win %d %s!" %(payoff,cointype) |
Definition at line 55 of file platinumslots.py.
int platinumslots.minpot = 200 |
Definition at line 18 of file platinumslots.py.
list platinumslots.pay = 0 |
Definition at line 38 of file platinumslots.py.
Definition at line 49 of file platinumslots.py.
platinumslots.pot = Slots.checkslot() |
Definition at line 39 of file platinumslots.py.
platinumslots.Quantity |
Definition at line 52 of file platinumslots.py.
platinumslots.results = Slots.spin(spinners) |
Definition at line 37 of file platinumslots.py.
list platinumslots.slotlist = ["Jester", "Lord", "Lady", "Prince", "Princess", "King", "Queen", "JackPot"] |
Definition at line 23 of file platinumslots.py.
list platinumslots.slotmajor = [.1, .15, .25, .3, .4, .5, .6, 1] |
Definition at line 28 of file platinumslots.py.
list platinumslots.slotminor = [1, 2, 3, 4, 5, 10, 20, 25] |
Definition at line 27 of file platinumslots.py.
string platinumslots.slotname = '%s#%s' %(whoami.Name,whoami.Map.Path) |
Definition at line 13 of file platinumslots.py.
platinumslots.Slots = CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot) |
Definition at line 33 of file platinumslots.py.
int platinumslots.spinners = 4 |
Definition at line 30 of file platinumslots.py.
platinumslots.whoami = Crossfire.WhoAmI() |
Definition at line 11 of file platinumslots.py.
platinumslots.x = activator.X |
Definition at line 14 of file platinumslots.py.
platinumslots.y = activator.Y |
Definition at line 15 of file platinumslots.py.