Commit Graph

360 Commits (d06afef63f1fcd7a7767a5718d278fac2577382e)

Author SHA1 Message Date
partmedia 1999bd9174 Add monster fight arena to Darcap funzone
Submitted by:   Daniel Ziem (patch #346)

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20224 282e977c-c81d-0410-88c4-b93c2d0d6712
2016-02-17 02:30:29 +00:00
ryo_saeba 99ffa0637f Sort rankings with case unsensitivity.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20209 282e977c-c81d-0410-88c4-b93c2d0d6712
2016-01-02 13:57:27 +00:00
silvernexus 7875896cc4 Tweak documentation to match the actual file name.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19940 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-05-18 15:53:34 +00:00
silvernexus 28b9d2af1d Adjusted the error message to reflect the name of the script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19934 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-05-17 19:11:40 +00:00
partmedia e35d5a504d Python cleanup
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19887 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-04-04 21:08:09 +00:00
partmedia 22ff65025f Change name of sent mail scrolls
This prevents sent mail from being sent again, thus working around the
issue in Bug #803.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19852 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-03-18 21:43:01 +00:00
partmedia 6ab5d4865e Various style and functional cleanups
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19798 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-02-23 02:16:02 +00:00
partmedia e504a2c8f9 Remove checking
Checks are cumbersome, underutilized, and only marginally useful. They
can only be used to pay other players, and it is easy to write a check
without having enough money to cover it.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19797 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-02-23 02:15:57 +00:00
partmedia 3c68ec9441 Fix bank deposit boxes
Deposit boxes are now truly deposit boxes rather than ATMs. When closed,
they only deposit the value of items placed inside.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19796 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-02-23 02:15:47 +00:00
partmedia 2d1dbf9876 Use new player bank account functions
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19795 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-02-23 02:15:37 +00:00
partmedia 87a2390eaf Add new functions for player bank accounts
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19794 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-02-23 02:15:27 +00:00
partmedia 5e156514e2 Make it possible for players to rent private shops.
Submitted by:   Alex Tokar

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19491 282e977c-c81d-0410-88c4-b93c2d0d6712
2014-05-25 21:55:18 +00:00
partmedia cf0075f096 Remove empty file.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18911 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-10 13:57:23 +00:00
partmedia d25f0c3373 Fix executable flags.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18910 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-10 13:57:14 +00:00
partmedia 41e103699d Attitude change from bank employees.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18890 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-05 03:10:07 +00:00
partmedia acd83e3f0d Implement check depositing.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18889 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-05 03:09:56 +00:00
partmedia bc33ca3fde Create checks instead of template-making them.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18887 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-04 12:56:28 +00:00
partmedia e9217fa751 Fix checking by adding template to IPO storage.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18886 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-04 12:56:15 +00:00
ryo_saeba de60ca2d56 Fix script, frypan and stove had changed positions.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18883 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-04 11:10:52 +00:00
partmedia 206c0842b3 Re-implement strAmount() as a wrapper to standard function.
Thanks to Nicholas for pointing this out!

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18882 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-04 10:35:05 +00:00
partmedia 98b82a1de2 Do not display the decimal point if it is not necessary.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18875 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:28:50 +00:00
partmedia 84764f325b Implement and use new silver-to-string function.
Also take this opportunity to fix the bank profit calculations.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18874 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:28:40 +00:00
partmedia eba15f3400 Update messages and TODOs.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18873 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:28:30 +00:00
partmedia 58f73d4414 Update explanatory comment in CFBank.py.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18872 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:28:21 +00:00
partmedia 04d5b13678 Temporarily disable the broken ATMs.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18871 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:28:11 +00:00
partmedia c5ae44f735 Attempt to fix 'checks' command.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18870 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:28:02 +00:00
partmedia d32cc6b138 Improve deposit command.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18869 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:27:52 +00:00
partmedia d929037033 Reimplement depositing money.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18868 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:27:40 +00:00
partmedia b1c420da44 Rename profit resetting command to make more sense.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18867 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:27:30 +00:00
partmedia 611bfca465 Add TODOs.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18866 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:27:21 +00:00
partmedia 584da84ab8 Improve 'balance' output.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18865 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:27:10 +00:00
partmedia a33156dfca Finish moving commands to separate functions.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18864 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:27:00 +00:00
partmedia c0f1d72783 Implement common utility methods.
Reimplment 'balance' and 'withdraw' using the new utility methods. Move
'deposit' into its own function but don't touch it yet.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18863 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:26:50 +00:00
partmedia 0528e6f203 Correctly close bank and fix 'profits' display.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18862 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:26:39 +00:00
partmedia e1777f2cb3 Correctly close bank file in CFBank.py.
Open bank file with writeback set to false (default); setting it to True
was not needed and caused a mysterious bug on my system. The Python
reference manual recommends closing the database after writing data, so
remove all sync() calls and instead force a close() in the end.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18861 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:26:30 +00:00
partmedia f37051dcda Use more intuitive variable names.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18860 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:26:20 +00:00
partmedia b8483cdb67 Trim source file header and whitespace formatting.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18859 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:26:10 +00:00
partmedia 0c76ba7826 Implement new withdrawal command.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18858 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:26:00 +00:00
partmedia 342ac2430a Offload trivial commands to their separate functions.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18857 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:25:47 +00:00
partmedia 75a5fcd61c Stick help message in separate function.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18856 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:25:37 +00:00
partmedia f87de491cd Split deposit box code into separate functions.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18855 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:25:23 +00:00
partmedia a11526d65f Clean up unused variables and comment the rest.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18854 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:25:07 +00:00
partmedia 2f7bd9cc2d Whitespace and formatting changes.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18853 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:24:54 +00:00
partmedia f4ce687d13 Remove executable flag.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18849 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-29 03:04:17 +00:00
kstenger 5eb73d7cbf Using the new Crossfire.AttackMovement.PETMOVE constants.
Reduce the affected area to the surrounding 10x10 square.



git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18831 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-23 19:53:32 +00:00
kstenger a253caa600 New item: magic pet's whistle.
Why this item:
    In some cases pets may get angry at their owner and attack him.
    This whistle intends to give the player a chance to make his pets friendly again.
    This won't prevent the pet from getting angry again for whatever reason, which
    is ok.

Including: archetype, image, treasure list (for the whistle inventory to work 
           properly), python script which makes the "real work".

Hope to add a map soon to make this available to the players.

A    maps/trunk/python/items/magic_whistle.py
A    arch/trunk/misc/magic_whistle.trs
A    arch/trunk/misc/magic_whistle.arc
AM   arch/trunk/misc/magic_whistle.base.111.png


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18827 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-23 18:56:37 +00:00
partmedia 82f00e3526 Patch #332: Add Eliza chatterbot script for Crossfire
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18751 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-07 14:57:47 +00:00
ryo_saeba f6e102ee42 Change employee dialog. Part of patch #333: Attitude change to IPO employees, by Kevin Zheng.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18741 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-06-23 10:01:26 +00:00
ryo_saeba 533b711d5a Adjust mailscroll price. Part of patch #333: Attitude change to IPO employees, by Kevin Zheng.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18740 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-06-23 09:54:26 +00:00
ryo_saeba 7d0bbade44 Fix typo.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18735 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-06-09 16:54:22 +00:00