currency.currency_olc
index
/home/thindil/Projekty/anaria/server/lib/pymodules/currency/currency_olc.py

currency_olc.py
 
Extends oedit and medit with an option for editing their worths.

 
Modules
       
currency.currency
olc

 
Functions
       
currolc_choice_exec(sock, thing)
When the editor chooses to edit the thing's worth, push them into the
currency OLC.
currolc_chooser(sock, thing, option)
Try to pick a denomination to set.
currolc_extend_menu(sock, thing)
Display the thing's value on the main medit or oedit screen.
currolc_menu(sock, thing)
Display a list of denominations, and the thing's current value for each.
currolc_parser(sock, thing, choice, arg)
After picking a denomination to set, parse which value that denomination
is to be set to. Do not allow negative values.
currolc_to_proto(thing)
Return a Python statement embedded in a prototype that will set the
thing's worth.