Commit Graph

19 Commits (3b1922570654a16b14e4e04bfad16c8af71112c2)

Author SHA1 Message Date
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
Kevin Zheng cdfd9bb1ff Un-trigger QuestTriggerConnect if player steps off 2021-08-28 13:41:16 -07: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
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
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
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 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
ryo_saeba cc07cbaa84 Don't start a quest if the player can't read a book.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18128 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-05-19 15:43:19 +00:00
ryo_saeba 36dcd6327b Correctly advance quest when something happened with a spell.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14892 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-07-22 20:28:12 +00:00
ryo_saeba 32553f2342 Don't cause an exception if it is not a player triggering.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14561 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-06-12 18:22:26 +00:00
ryo_saeba 39ae6d7f86 Script to drop items only if a certain quest step is reached.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13411 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-06-19 15:06:29 +00:00
ryo_saeba 930183356e Utility script to let an item be applied only for certain quest steps.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13389 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-06-12 16:51:54 +00:00
cavesomething 51a19486a4 Fix name of script in comments
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13183 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-05-13 19:08:41 +00:00
cavesomething 39d497e747 New Script to enable map connections to be triggered depending on the state of a quest.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13131 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-05-05 16:10:47 +00:00
cavesomething caf5e12e1c Two scripts which can be used to handle quest interaction with maps
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12971 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-04-26 15:35:12 +00:00