Commit Graph

391 Commits (d01ba7fa68553371b6c80658d2f9580920d4cc98)

Author SHA1 Message Date
silvernexus f254fc82a0 Update sword of Souls python code to reflect movement of handling exp scaling to caller in r21461
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21462 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-09-28 00:28:48 +00:00
silvernexus 647022710c Adjust weapon of Souls python code to use TotalExp field instead of PermExp
Requires server r21321, recommended to use server r21326 with this change. Some builds produce a barfing cfpython plugin in r21321, while some don't. All should work in r21326.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21327 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-09-02 01:32:14 +00:00
silvernexus 7ecd9c667a Add condition to make item reset in lose_buffs_on_drop.py only occur if the items has been used since last time it was reset.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21301 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-23 02:39:00 +00:00
silvernexus 219e1b9049 Make water dipped into a fountain be identified, so as to prevent infinite alchemy experience from repeated drinking of the water and re-dipping.
Still working out how to prevent the same with smithery on the empty bottle.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21300 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-22 23:40:52 +00:00
silvernexus f7c5f34c40 Add scripts for \(weapon\) of Souls. Depends on r21252 and r21253.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21254 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-07 04:13:52 +00:00
silvernexus 4baaabc21b Add a clause that only applies the curse when wielding, rather than both wielding and unwielding. Also add known_cursed to the affected fields so it shows up as cursed.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21251 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-07 00:50:43 +00:00
silvernexus 7f10491a7d Add a script to allow for items that don't detect as cursed, but become cursed when applied.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21250 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-06 13:47:10 +00:00
partmedia cc14782398 Initialize Python commands in one file
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21186 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-03-21 00:29:14 +00:00
partmedia 10da0ef45b Add 'dip' command
Dipping allows players to fill empty bottles from fountains.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21185 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-03-21 00:29:10 +00:00
partmedia 8bab615b69 Check object is player before calling QuestGetState()
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21064 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-12-27 04:57:31 +00:00
partmedia fc35ab5998 Fix print()
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21036 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-11-27 23:25:27 +00:00
partmedia 2e7ad261c0 Always print message when stopping
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20962 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-08-17 05:55:09 +00:00
partmedia 4ef80d1a51 Add herustic to get cart stuck less often
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20959 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-08-17 05:54:39 +00:00
partmedia 53265e910b Replace non-ASCII characters
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20934 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-08-10 04:39:13 +00:00
ryo_saeba 68d0bf7bea @ correctly split rings of Occidental Mages if needed before applying an effect.
This fixes issue #852.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20809 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-05-17 17:28:37 +00:00
ryo_saeba 31d8ee0e8e - remove obsolete file.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20808 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-05-16 18:26:17 +00:00
ryo_saeba 038a2e966e @ add conversion computations, and a description of existing coins.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20807 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-05-16 18:25:03 +00:00
partmedia 2b68d11846 Add reputation-based trigger
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20654 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-30 05:15:57 +00:00
partmedia a218dd2560 Update reputation information
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20651 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-30 00:55:36 +00:00
partmedia d7abe3b5f3 Separate schema files from init files
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20650 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-30 00:55:26 +00:00
silvernexus 13cb877bf4 Comment out bell.py event, since it is now its own plugin.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20619 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-24 20:43:49 +00:00
partmedia 6e482f80ea Reduce guild arrest jail time
Submitted by:   Jason Zheng

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20498 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-08-15 23:41:45 +00:00
partmedia d77739aad0 Add initial reputation support
As reputation support is experimental and still under development, the
database is being kept in memory and is lost after every server restart.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20493 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-08-15 22:49:01 +00:00
partmedia b6f456c365 Move deposit box code to separate file
Give deposit boxes their own script and update all the banks.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20450 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-27 06:35:26 +00:00
partmedia 739ca3508b Restore original CFBank API
Moving accounts to player files added unnecessary complexity. Restore
original API and add code to migrate accounts back from player files.

While here, wrap CFBank with a context manager so it can be used with
the Python 'with' statement.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20449 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-27 06:35:06 +00:00
partmedia 45f873736b Remove unused imports
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20448 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-27 06:34:58 +00:00
partmedia da5bba2708 Abolish bank fees
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20419 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-10 05:30:53 +00:00
akirschbaum c018d89c01 Remove redundant semicolons.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20286 282e977c-c81d-0410-88c4-b93c2d0d6712
2016-06-19 15:19:52 +00: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 591b77cb83 Do not mix spaces and TABs for indentation.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20284 282e977c-c81d-0410-88c4-b93c2d0d6712
2016-06-19 15:12:01 +00:00
silvernexus a874adeb8a Replace two uses of dict.has_key() in python dialog scripts with use of "in" operator.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20269 282e977c-c81d-0410-88c4-b93c2d0d6712
2016-05-21 03:50:17 +00:00
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