Commit Graph

413 Commits (18abd151e11c3f6b1f1c30e507389a7751de66f1)

Author SHA1 Message Date
Kevin Zheng 18abd151e1 Add 'resetdialog' for DMs to reset dialog state
Help DMs test and debug dialogs by adding a hidden 'resetdialog' match
that resets per-character dialog state.
2021-07-24 21:03:56 -07:00
Nicolas Weeger f5f6429bf9 Store factions/reputation information in a file instead of memory. 2021-05-28 19:15:17 +02:00
Nicolas Weeger 5272e27aba Remove executable flag on maps. 2021-05-13 12:28:34 +02:00
ryo_saeba f07e438d1b Fix type error by converting explicitely to int.
Display message only if the wielder is a player.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@22059 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-04-07 18:35:48 +00:00
partmedia faf3b3b81e Improve package sending help text in the IPO
Submitted by:   DraugTheWhopper (patch #391)

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@22048 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-03-30 05:50:25 +00:00
ryo_saeba 78e2a9e5a2 Let monsters be killed.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21985 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-02-18 21:18:28 +00:00
ryo_saeba 0eebb87d62 Fix invalid conversion.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21951 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-02-12 13:15:55 +00:00
ryo_saeba ce70165a3d Improve Darcap's Manor, add more rewards, tune monsters down.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21950 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-02-12 12:18:06 +00:00
ryo_saeba c0321c16da When dipping a scroll, remove knowledge marker and reset name.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21932 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-02-09 21:26:26 +00:00
ryo_saeba 430ed500b9 Allow empty flasks to be filled.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21776 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-01-16 18:16:31 +00:00
partmedia bca81dce31 Fix fog with Python 3
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21723 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-01-05 17:08:34 +00:00
partmedia fd90a065eb Blank scrolls when dipped in a fountain
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21719 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-01-04 17:45:54 +00:00
partmedia 59f89d8acc Add 'report' command to report issues in-game
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21706 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-01-02 23:47:28 +00:00
ryo_saeba 54f8ec403b Explicitly convert to int.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21650 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-27 16:31:47 +00:00
ryo_saeba 93c80bd357 Fix script conditions, round 3.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21649 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-27 13:24:26 +00:00
ryo_saeba 02f585973c Fix script conditions, round 2.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21648 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-27 13:07:28 +00:00
ryo_saeba 9dbb9fdaa9 Fix script conditions not working with Python3.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21647 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-27 12:38:58 +00:00
silvernexus a05c8eb384 Fix potential for NoneType as player if Owner is null on non-player activator.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21627 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-20 03:54:58 +00:00
ryo_saeba 8d8bbdcb39 Use 'Cast' instead of 'CastAbility'.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21604 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-12 16:44:09 +00:00
ryo_saeba 4318122384 Add spell casting script for arrows, adapted from patch https://sourceforge.net/p/crossfire/patches/364/
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21599 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-12 16:12:36 +00:00
silvernexus b5943ff60b Fix handling in autojail when a player is killed by starvation.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21519 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-10-20 18:37:10 +00:00
silvernexus d0debad84d Prevent attempt to dereference None player in QuestAdvance.py.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21518 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-10-20 18:14:35 +00:00
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