Crossfire Server, Trunk
|
Data Structures | |
class | GuildDues |
Functions | |
def | find_mailbox (object) |
def | FindCoin (object) |
def | formatted_amount (amount) |
Variables | |
activator = Crossfire.WhoIsActivator() | |
dictionary | ArchType = {"SILVER":"silvercoin","GOLD":"goldcoin","PLATINUM":"platinacoin","JADE":"jadecoin","AMBERIUM":"ambercoin", "IMPERIAL NOTE":"imperial","TEN IMPERIAL NOTE":"imperial10","ONE HUNDRED IMPERIAL NOTE":"imperial100"} |
list | buddylist = ['buddy','buddy','buddy','buddy','pal','friend','friend','friend','friend','dude','chum', 'sweetie'] |
dictionary | CoinTypes |
dues = GuildDues() | |
list | exclaimlist = ['Hey','Hey','Hey','Hey', 'Now just a minute', 'AHEM', 'OK...Wait a minute', 'Look chowderhead'] |
list | remarklist = ['Excellent','Thank You','Thank You','Thank You', 'Thank You', 'Great', 'OK', 'Wonderful', 'Swell', 'Dude', 'Big Spender'] |
whoami = Crossfire.WhoAmI() | |
Script for paying Guild Dues, and to handle Jack in the mainfloor. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # author:Avion temitchell@sourceforge.net # # Heavily modified by Nicolas Weeger, 2010-11-14
def guild_dues.find_mailbox | ( | object | ) |
Definition at line 58 of file guild_dues.py.
def guild_dues.FindCoin | ( | object | ) |
Definition at line 65 of file guild_dues.py.
Referenced by guild_dues.GuildDues.do_buy().
def guild_dues.formatted_amount | ( | amount | ) |
Format a price as a string, giving full coin descriptions. Returns 'no money' if amount is 0.
Definition at line 51 of file guild_dues.py.
Referenced by guild_dues.GuildDues.do_balance(), guild_dues.GuildDues.do_buy(), and guild_dues.GuildDues.do_withdraw().
guild_dues.activator = Crossfire.WhoIsActivator() |
Definition at line 49 of file guild_dues.py.
dictionary guild_dues.ArchType = {"SILVER":"silvercoin","GOLD":"goldcoin","PLATINUM":"platinacoin","JADE":"jadecoin","AMBERIUM":"ambercoin", "IMPERIAL NOTE":"imperial","TEN IMPERIAL NOTE":"imperial10","ONE HUNDRED IMPERIAL NOTE":"imperial100"} |
Definition at line 43 of file guild_dues.py.
list guild_dues.buddylist = ['buddy','buddy','buddy','buddy','pal','friend','friend','friend','friend','dude','chum', 'sweetie'] |
Definition at line 47 of file guild_dues.py.
dictionary guild_dues.CoinTypes |
Definition at line 32 of file guild_dues.py.
guild_dues.dues = GuildDues() |
Definition at line 344 of file guild_dues.py.
list guild_dues.exclaimlist = ['Hey','Hey','Hey','Hey', 'Now just a minute', 'AHEM', 'OK...Wait a minute', 'Look chowderhead'] |
Definition at line 46 of file guild_dues.py.
list guild_dues.remarklist = ['Excellent','Thank You','Thank You','Thank You', 'Thank You', 'Great', 'OK', 'Wonderful', 'Swell', 'Dude', 'Big Spender'] |
Definition at line 45 of file guild_dues.py.
guild_dues.whoami = Crossfire.WhoAmI() |
Definition at line 48 of file guild_dues.py.