Kevin Zheng
273c571df1
Update documentation
2024-03-29 12:17:56 -07:00
Kevin Zheng
0b0bc8440c
Fix guild bank accounts
...
Use with statement to CFBank.open() so that close() is always correctly
called.
Change the guild account name to used the fixed string /guilds/ in front
of the guild name to avoid hash codes changing between Python versions.
DMs will need to manually move guild balances to the new account names.
2024-03-21 15:40:56 -07:00
Kevin Zheng
3fddffdb70
Use CFBank.open() to avoid repeating database name
2024-03-18 13:17:15 -07:00
akirschbaum
2fc8c10923
Do not use mutliple statements in one line.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20285 282e977c-c81d-0410-88c4-b93c2d0d6712
2016-06-19 15:13:49 +00:00
akirschbaum
5e430c833f
Remove trailing whitespace.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18703 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-05-09 11:08:11 +00:00
kstenger
8aae10354b
Minor fixes to do_pay(): 'type' was used as a variable name but it's a reserved word, length check was wrong, check for zero amount, plural message improved.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18700 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-04-30 19:47:41 +00:00
kstenger
beb58156f7
Fixing python indentation
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18697 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-04-29 01:11:11 +00:00
ryo_saeba
a183694955
Fix probably broken crystal room price (12 jade instead of 2 platinum).
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@15997 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-12-01 22:21:11 +00:00
ryo_saeba
fb2353fff7
Rewrite prices, fix inverted Thaumaturgy room and desk.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@15996 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-12-01 22:20:35 +00:00
ryo_saeba
e3fcdc8f7c
Reduce the price of cards by a factor of 10.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@15995 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-12-01 22:16:53 +00:00
ryo_saeba
fbb4326c14
Reformat to put cards at top.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@15994 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-12-01 22:12:56 +00:00
ryo_saeba
9ad3927f51
Fix Jeweler's room coordinates preventing it from being bought.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14837 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-07-10 09:50:37 +00:00
ryo_saeba
4ec2680733
Improve the 'buy' command, don't show already bought extensions.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14495 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-05-29 16:45:27 +00:00
ryo_saeba
34dfc48087
Use actual deposit value instead of hardcoded value.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14107 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-11-20 11:17:06 +00:00
ryo_saeba
6763e0722f
Rewrite.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14089 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-11-14 14:21:37 +00:00
ryo_saeba
2ce05da4a2
Display balance in a nicer way. Better 'buy' list.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13985 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-10-10 11:25:30 +00:00
Alestan
89eff881a4
fixed problems caused by svn up.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13758 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-09-07 02:59:33 +00:00
Alestan
bd21022abc
fixed syntax error.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13757 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-09-07 02:42:28 +00:00
Alestan
ae753bff28
added a common clearance checker for the guilds and rewrote parts of the guild scripts. Also updated the guild maps to use the new scripts
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13751 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-09-07 00:38:39 +00:00
Alestan
841596b4c3
removed unused text files and made Jack say how much money is needed to purchase something for the guild
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13703 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-09-02 19:36:49 +00:00
alestan
7bd104454a
fixed bugs with guild scripts
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13629 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-08-16 22:55:32 +00:00
meflin2
acee4824da
more python guild updates
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12727 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-03-25 17:33:10 +00:00
meflin2
ff54b9d8b3
alestan python guild updates
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12514 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-02-27 19:14:29 +00:00
meflin2
b0682c5cea
alestan python guild updates
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12511 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-02-26 23:04:32 +00:00
meflin2
614e64549c
alestan python guild updates
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12510 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-02-26 18:14:37 +00:00
anmaster
d037e074c6
Replace deprecated string.split() amd string.lower() in /python/*/*.py
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11453 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-11 21:52:51 +00:00
anmaster
8ed8d77f9b
Fix tabs in python/guilds/guild_dues.py
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11287 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-01-30 01:51:41 +00:00
anmaster
fdbcb1b6ff
Run whitespace cleanup script in maps/python.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11283 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-01-30 01:22:22 +00:00
rjtanner
ee41ba1844
Implemented, with changes backported from svn trunk, python guild hall patch: [ 1782975 ] Python guilds template. - applied, needs to check all is ok
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@8579 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-03-22 06:28:26 +00:00
rjtanner
0c12e4b464
Update maps to use the new potion name (invulnerability is now shielding)
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7259 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-09-27 04:47:51 +00:00
ryo_saeba
49d9a8c40c
Fixed typos, it's now possible to buy guilds, and manage through the Oracle.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5521 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-12 22:20:48 +00:00
gros
044d3851de
Update of the Global Events scripts to the new 2.0 CFPython.
...
Update of the Guild-related scripts to the new 2.0 CFPython.
Update of the remaining scripts to the new 2.0 CFPython.
Gros - 18/10/2005
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3901 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-18 18:53:37 +00:00
temitchell
054dbeace8
Adding Python Guild framework.
...
Initial (and not usable as yet) commit of guild templates and guild
scripts for new more automated guild system. - requires Python 2.1 or
better.
TODO - guild maps need finishing, lots more work and much debuging.
Guild points system needs some work (a good formula).
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3000 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:02:10 +00:00