Kevin Zheng
251c2d7313
Fix second chance kobold
...
Submitted by: Egorov Sergey (patches/453)
2022-05-08 00:08:04 -07:00
Kevin Zheng
8e4f8a6a7d
Fix gem positions
...
Fix position of piles behind grates. Automatically compute union of
positions.
Reported by: Egorov Sergey (patches/452)
2022-05-07 10:33:39 -07:00
Kevin Zheng
82079a2faa
Add script for amulet of finding
...
These pieces of jewelry help players remember locations on the world
map. Players can bind an amulet at any location on the world map.
Applying a bound amulet shows players a message indicating which
direction they should travel to return to the bound location.
Since this shares some code with the Rhyzian amulet, move the shared
code to CFWorld. While here, improve the getdir() function to round the
direction to the closest compass direction.
2022-03-27 22:30:53 -07:00
Nicolas Weeger
e0338dc2b2
Register 'autojail' and 'disinfect' as DM-only
2022-01-30 09:41:07 +01:00
Jason Zheng
0edce80939
Add tower defense game in the Darcap Fun Zone
...
Submitted by: Jason Zheng
2022-01-23 20:22:32 -08:00
Kevin Zheng
af0a4b094c
Change default state to fix existing maps
2022-01-23 11:21:22 -08:00
Kevin Zheng
271128cf3b
Improve QuestTriggerConnect
...
Add optional argument to invert trigger edge. Check for script arguments
and raise an error if usage is incorrect. Remove broken release state
trigger.
2022-01-09 11:57:43 -06:00
Kevin Zheng
7778e47f0f
Fix QuestApplyIf
2022-01-04 16:44:42 -06:00
Kevin Zheng
8249250568
New quest: Journey to the East
...
Find your way to the long-isolated island of Azumauindo.
This quest replaces the old way of getting to Azumauindo. Extend
Roll-o-Matic to work with ships. Improve QuestApplyIf to work on objects
whose apply event is also implemented using the plugin system.
Special thanks to: Jason Zheng
2022-01-03 18:43:13 -06:00
Kevin Zheng
927916a286
Remove extra release event
...
Remove extraneous release event when player steps on a
QuestTriggerConnect and does not satisfy the quest predicate.
While here, correct the polarity of the state flag to match the comments
in the server's trigger_connected() function.
2021-10-17 16:30:05 -07:00
SilverNexus
a5a2649089
Fix a space/tab error in ring of occidental mages python script.
2021-10-03 12:04:16 -04:00
Nicolas Weeger
05b472bb84
Add Python stubs for the Crossfire module
...
Documentation is really lacking, but should hopefully improve with time.
2021-10-02 17:45:24 +02:00
Kevin Zheng
cdfd9bb1ff
Un-trigger QuestTriggerConnect if player steps off
2021-08-28 13:41:16 -07:00
Kevin Zheng
f53892772e
Respond to standard greeting
2021-08-27 11:12:11 -07:00
Kevin Zheng
792afa0cba
Fix with Python 3
2021-08-27 11:12:11 -07:00
Nicolas Weeger
c75a143d75
Fix and clean script
2021-08-22 12:54:03 +02:00
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