Commit Graph

10 Commits (67ee1c62340e47a8c4bbcd9917a1695db4c28aa6)

Author SHA1 Message Date
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
anmaster d037e074c6 Replace deprecated string.split() amd string.lower() in /python/*/*.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11453 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-11 21:52:51 +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
tchize 0e5dbc2d13 Add a "go to sleep" script based on time of day
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7928 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-12-16 12:52:24 +00:00
tchize 4510e0ab0b time of day script modified to use python, and simplified in use.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7562 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-22 22:29:06 +00:00
tchize 42656ed898 timeofday based python script
updated existing script to use JSON notation
added a "replace in all map" script
added a test map
updated test maps to JSON notation
added helper tools: CFTimeOfDay and CFMapTransformer
fixed warnings in gridarta


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7546 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-19 23:21:00 +00:00
tchize 9335e0f4d2 add a werebeast script and demo
The demo "werebeast" is based on beholder transforming into black dragon
Updated sage opening door message


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7519 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-17 17:38:05 +00:00
qal21 9d449dde5b Fix filename comments
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7510 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-17 00:14:49 +00:00
tchize 91a9bf913d Add Timeofday generic scripts and a demo map
Those 4 script can be used as filter or triggerer based on current time. 
See test/tod for a demo map (conditionnal magic mouth, weapons that
attack only at day/night, grates that open in morning and close at dusk)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7509 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-16 13:27:03 +00:00