Commit Graph

30 Commits (40521c75f5846b1b199c44abd0c32fb1985c742d)

Author SHA1 Message Date
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
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 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
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 e0057f4c39 Apply (part of) patch #326: Make sailing around the world cost money, by Kevin Zheng.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18659 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-04-06 10:21:13 +00:00
ryo_saeba 3c158c16a7 Clean debug statement.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18320 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-07-01 17:09:15 +00:00
ryo_saeba ee50bbdeec Remove 'print' used to debug.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18319 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-07-01 16:28:18 +00:00
ryo_saeba bfc9f612ab Remove debug statement.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18318 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-07-01 14:33:51 +00:00
ryo_saeba 5ce8d01ed6 Script to record a list of players having done something great.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@16384 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-12-30 21:39:42 +00:00
cavesomething 52549351f5 Move npc_dialog.py to the dialog directory rather than misc/
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12991 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-04-27 08:40:30 +00:00
anmaster a1b802da6d Avoid features in the python scripts that are removed from python 3.0. This is confirmed to still work on at least python 2.5 and as far as I understand the docs also python 2.4
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11284 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-01-30 01:32:19 +00:00
anmaster fdbcb1b6ff Run whitespace cleanup script in maps/python.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11283 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-01-30 01:22:22 +00:00
kbulgrien 1bb1e16719 - Reformat for readability. No functional change.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10637 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-21 07:46:17 +00:00
kbulgrien cb381c6b26 - More clearly document how to write JSONs when pre or postconditions are not
needed by a particular rule.  For the inexperienced, this was a showstopper.
- Dispense with the user defined exception and replace the old handling with a
  more effective debug log message combined with a generic exception.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10636 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-21 07:43:24 +00:00
kbulgrien ba2f19f2dc Modify CFDialog.py to use a list of strings for the keywords instead of the "|"
delimited string for consistency and to reduce the need to specially parse the
string.  There seems no particular reason to stay with the "|" delimiter (and
@match use of it does not seem compelling enough to override the benefit of
removing the oddball parameter from both CFDialog.py and npc_dialog.py scripts.
This commit also updates every known dialog that is affected.  Also updated
are the comments in both dialog scripts to reflect the change.  In CFDialog.py
also pluralize some identifers to better reflect that they are used for lists.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10469 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-15 07:55:59 +00:00
kbulgrien 0e01ae159d Add a comment that references ../scorn/kar/gork.msg as an example of how an
npc_dialog.py conversation can be made player friendly by using multiple
precondition flag values.  Without using this capability, conversation paths
can tend to be too linear or rigid and therefore produce unnecessary player
frustratation.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10467 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-15 05:04:45 +00:00
kbulgrien 5b1661b029 Avoid DeprecationWarning: raising a string exception is deprecated by making
a user-defined exception handler.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10423 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-14 04:44:17 +00:00
kbulgrien 7e26094865 - Documentation improvements and an additional example. No functional changes.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10422 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-14 02:45:07 +00:00
ryo_saeba d1e9a82abd Part of patch #1677738: Purple worm (with pythonscript and map), by Mike B.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@8691 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-04-05 07:46:32 +00:00
tchize fb457124b3 Make the gork's treasure quest use python for npc dialog. It's now mandatory to go throught full dialog to get the treasure key, knowing password is not enough
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@8009 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-12-22 13:44:37 +00:00
tchize 0f8c2e86ab Update match rules of CFDialog, add a script to use it
easily in maps, update newbie house so the wise sigmund
can provide more interactive support to players



git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7968 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-12-18 22:29:42 +00:00
tchize cfa5773ef8 Add a simple to use script that make use of NPC dialog
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7930 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-12-16 15:15:41 +00:00
tchize d0f032623a Modified all print of script to calls to Crossfire.Log(Crossfire.Log(Debug|Error|Info|Monster),message)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7496 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-08 23:36:22 +00:00
ryo_saeba 8e6bdd1c89 Make script more robust if enemy changes, only process players.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5951 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-06 20:32:18 +00:00
ryo_saeba b9b9e56026 Script: greeting message to enemy.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5949 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-06 19:58:53 +00:00
ryo_saeba f866c12b64 Script to have critters say things when they die.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5920 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-02 20:00:11 +00:00
gros 044d3851de Update of the Global Events scripts to the new 2.0 CFPython.
Update of the Guild-related scripts to the new 2.0 CFPython.
Update of the remaining scripts to the new 2.0 CFPython.
Gros - 18/10/2005


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3901 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-18 18:53:37 +00:00
temitchell 32e9cfab2c - remove item scripts long ago moved into items
- update scripts to remove path (init script does it for us)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3003 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:48:06 +00:00
temitchell 4b57ac9506 - move event scripts into their own directory
- add README
- add disguise script (warning usage still subject to bug 878949)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2867 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-08-02 23:38:50 +00:00
temitchell 7ad3e359d6 -fix banksay.py (was a small issue with a missing =)
-add reusable script for adding/removing items
-add two new slotmachines
-add an insult generator


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2376 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-10-06 03:41:36 +00:00