Commit Graph

258 Commits (99754039685b958d505767f47eb5c2670ccd40a2)

Author SHA1 Message Date
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
ryo_saeba f160ec0d3a Small quest, that may be expanded later. New manor outside Scorn.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7939 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-12-16 22:10:28 +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 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
ryo_saeba d546bf6a8e Fun item Eracc can use for his maps :)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7570 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-24 23:28:05 +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
gros f57f3a6895 Corrected a glitch in IPO Colette's answer.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7532 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-18 18:52:50 +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
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 21b86eeaa0 Add callbacks to even more customize the rules.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7421 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-10-28 14:54:24 +00:00
lalo be265d8082 documenting the intent of Valkyrie's altar
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7307 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-10-08 18:30:07 +00:00
rjtanner 0c12e4b464 Update maps to use the new potion name (invulnerability is now shielding)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7259 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-09-27 04:47:51 +00:00
ryo_saeba c20242d682 Improve IPO help, give prices and max weight. Clean code some.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6782 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-07-16 22:15:30 +00:00
ryo_saeba 58defe2894 Fix damage getting really big, more fun effects.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6733 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-06-30 21:58:54 +00:00
ryo_saeba 3f9e90d075 Experience rewarder script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6415 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-06-04 18:38:35 +00:00
ryo_saeba d366678c26 Final steps and scripts for the Lursendis quest.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6405 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-06-03 16:02:23 +00:00
ryo_saeba 3ccfe258be Create utility library for movement.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6364 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-29 21:18:04 +00:00
ryo_saeba 369769316a Wrong name ordering.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6363 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-28 21:13:54 +00:00
ryo_saeba 89b3bef6e2 Typo.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6332 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-24 18:51:30 +00:00
ryo_saeba 9ec02092c0 Small farm, with special chicken - don't bother'em.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6331 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-24 18:19:11 +00:00
akirschbaum 45d36cb162 Spelling corrections.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6245 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-12 22:46:19 +00:00
gros 0aa089654c Added dialog utility classes, to help creating scripted dialogs.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6212 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-08 10:01:23 +00:00
ryo_saeba 841806b2a4 Force sync so file is valid.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6201 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-07 18:25:02 +00:00
ryo_saeba 0dc753ac81 Smoking pipe script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6182 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-05 16:56:02 +00:00
ryo_saeba 5f1609c4f9 Wagon that should facilitate player's moving between towns.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6148 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-29 16:21:23 +00:00
ryo_saeba a4cb2ddb5a Adapt scripts to latest Python plugin.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6087 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-21 22:44:30 +00:00
ryo_saeba 93ee7c5d4b Scripted house (in Navar), first version.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6063 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-18 20:46:51 +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
akirschbaum 8de8411641 Remove trailing whitespace.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5862 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-03-24 13:15:00 +00:00
ryo_saeba 9cc6be1815 Windows requires binary mode to work correctly (newline issues).
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5606 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-24 11:08:57 +00:00
ryo_saeba bc8bf40ba3 Fix slot machines.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5546 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-15 20:15:53 +00:00
rjtanner d354b24d97 Major updates to the guild (map) templates - fixed many of the altars, exits and other features. Updated the README file to summarize these changes. RJT, Feb-12-2007
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5528 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-13 02:03:01 +00:00
ryo_saeba d7f17e1e6b Fix joining script. Non members can't use the guild oracle.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5524 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-12 22:39:10 +00:00
ryo_saeba 49d9a8c40c Fixed typos, it's now possible to buy guilds, and manage through the Oracle.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5521 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-12 22:20:48 +00:00
aaron_baugher 2c48a84283 New package arch and image for IPO
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5476 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-11 03:56:14 +00:00
aaron_baugher 704b698a20 New carton arch and images for IPO
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5411 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-09 01:11:34 +00:00
aaron_baugher 1abd8198b4 Improved look of IPO package system
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5409 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-09 00:18:23 +00:00
qal21 e5bb0bd8c0 Spelling correction in comment in CFWorld.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5001 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-10-06 18:44:09 +00:00
qal21 4505f8df6e Add Rhyzian amulet quest.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5000 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-10-06 18:40:46 +00:00
qal21 3370818173 Remove tabs from multi-line string in python/IPO/banksay.py. Fixes bug #1551381.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@4971 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-24 15:38:00 +00:00
qal21 59c3fa1f29 Minor cleanup of slot code. Seperated payout values from logic. Still need to clean code up further and eliminate duplicated code.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4929 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-16 04:07:07 +00:00
qal21 a9e82d0988 Fix minor win jackpots on plat, imperial, and diamond slot machines. Courtesy of the anonymous submitter of tracker item #1559643.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4928 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-16 03:29:53 +00:00
lalo c2bcf26d79 changing the altar of Valkyrie to use flesh exp if available
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4903 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-09 16:59:07 +00:00
lalo af11015768 new god: Valkyrie, of warriors, scourge of magic
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4890 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-06 20:56:44 +00:00
ryo_saeba 488f56d370 Patch #1550744 (Python scripts should not hardcode timezones) courtesy Mark Kidder
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4861 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-02 14:26:26 +00:00
ryo_saeba f35b57e7d7 Talking fireplace scripts.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4826 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-08-21 21:48:14 +00:00
ryo_saeba df4912aa7f Needed to avoid polluting
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4734 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-07-31 22:14:43 +00:00
ryo_saeba 98637096b5 Remove obsolete files
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4398 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-15 14:56:48 +00:00
ryo_saeba 2ec3b7dc93 Check if path exists to not display an error message
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4316 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-08 10:21:47 +00:00
ryo_saeba 0839462784 Remove obsolete files
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4315 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-08 09:31:39 +00:00
ryo_saeba d8108b3fa3 Split event files, make subdirs.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4311 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-07 23:44:05 +00:00
ryo_saeba 2e41e003cc Force binary mode to avoid newline madness
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4083 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-12-04 11:20:34 +00:00
akirschbaum 8faeb88028 Properly set plural names of delivered objects.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4060 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-28 21:12:03 +00:00
akirschbaum 305639ac33 Fix syntax error in script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4029 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-11 07:14:32 +00:00
akirschbaum 35c3d0fc93 Make it work with with new Python plugin; remove debug output; make source-code formatting consistent.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4028 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 22:20:56 +00:00
akirschbaum a4251b7005 Bug fixes: make it work with with new Python plugin, do not make it talk to itself, prevent abuse with out of range amounts; make source-code formatting consistent.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4026 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 21:41:28 +00:00
akirschbaum 82aeffd187 Bug fixes: make it work with with new Python plugin, add 'yes' for help message, do not make it talk to itself.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4025 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 20:16:27 +00:00
akirschbaum 0a48aa8c1e Lots of bug fixes: make it work with new Python plugin, fix truncated help message, set plural names of created objects, reword messages, prevent re-use of already sent packets, add safeguards for array-access; make source-code formatting consistent.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4024 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 19:28:00 +00:00
akirschbaum d198652a0b Disallow player name '#' since this key is used for the file head line.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4023 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 19:21:15 +00:00
akirschbaum 528fe2e638 Fix spelling errors.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4022 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 19:17:44 +00:00
akirschbaum b69e3f48d4 Fix misnamed method names; fix looping over inventories.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3999 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-06 20:45:49 +00:00
ryo_saeba 60cc3fa85d Fix case
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3981 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-05 10:40:24 +00:00
bbotbuilder fbb05257b8 Prevent more warnings
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3910 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-19 20:45:03 +00:00
bbotbuilder bac5af7626 Adding to prevent the server from giving a warning about it being
missing, which was resulting in lots of spam to the console.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3909 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-19 20:12:15 +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
gros 098e3e2016 Adapted the casino-related scripts to CFPython 2.0.
Gros - 18/10/2005


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3900 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-18 18:45:23 +00:00
gros 3b77421609 Update of the maps for CFPython version 2.0.
Update of the IPO-related scripts.
Gros - 18/10/2005


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3899 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-18 18:13:28 +00:00
ryo_saeba 1b4bfe0c53 GPS script
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3840 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-08 09:47:06 +00:00
ryo_saeba 6f459478b5 Improved post office, can now send/receive items
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3742 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-09-30 20:00:30 +00:00
ryo_saeba f294079e74 Log, then check mail - if mail fails, log is still written.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3498 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-07-22 19:32:16 +00:00
ryo_saeba c698b65fcb Removed unused file, marked as 'don't use' since august
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3240 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-05-03 18:36:47 +00:00
akirschbaum 849cba5a48 Fix spelling errors.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3192 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-04-09 12:00:30 +00:00
ryo_saeba d1d8b472f0 Applied patch #1145089 (cavesomething) to add region support
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3142 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-03-15 21:44:56 +00:00
akirschbaum 148649ceac Fix deposit option.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3121 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-03-09 22:24:47 +00:00
akirschbaum 61a317db6b Fix spelling error.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3110 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-03-09 20:12:45 +00:00
akirschbaum c30b65ab9e Fix spelling error.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3101 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-03-06 21:29:43 +00:00
temitchell 657874fe28 Add README doc for python scripts
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3064 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-02-11 16:39:51 +00:00
temitchell 29b0e49a49 - add (brief) readme for python guilds.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3004 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 05:47: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 8eff925ffa - updates to datafile for guild scripts
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3002 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:45:17 +00:00
temitchell 7cf2013a82 - remove python path bootstrapping - init script not appends module path
for us.
- add guild functions to init and remove scripts


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3001 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:42:58 +00:00
temitchell 054dbeace8 Adding Python Guild framework.
Initial (and not usable as yet) commit of guild templates and guild
scripts for new more automated guild system. - requires Python 2.1 or
better.
TODO - guild maps need finishing, lots more work and much debuging.
Guild points system needs some work (a good formula).


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3000 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:02:10 +00:00
akirschbaum 7836fd619b Add script for bootstrapping code. The script runs right after the python plugin is loaded.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2971 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-10-21 18:57:42 +00:00
temitchell ebb8e5dbe8 - fix help message - add info command which dumps the record.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2917 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-09-19 05:56:52 +00:00
temitchell d185c2a08a - fix tiny bug where player logging in has no record gets a record
made.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2903 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-09-01 03:08:04 +00:00
temitchell 6a517e7fe6 - add new CF module - classes CFDataFile and CFData
- replace crossfirelog shelf with plain text datafile (less efficient
but more accessable) - add logging for kick and muzzle
- add more dm commands for seen (chicken oracle, guy in goths...)
- make sure you make a datafiles dir in var/crossfire or have make
install do it for you.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2902 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-09-01 02:03:26 +00:00
temitchell bbfcc09ebd - move arch item scripts to their own folder
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2892 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-08-28 00:57:30 +00:00
temitchell 16d1e0224e - change path finding to use os.path - hopefully this will fix these
scripts for the (new) windows server
- CFgetPaths is now dead and will be removed - change your scripts if
you use it.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2891 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-08-28 00:19:39 +00:00
temitchell 4dda2986e3 - oops fix long stnading error preventing bank accounts being deleted
when player quits.. (blush)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2868 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-08-03 02:02:27 +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
mwedel 91ae0535c9 commit modified ring of occidental mages, which reduces the stats.
This should balance the item - much harder to get it to have 30 stats
now.
Updated version by Lalo Martins, applied by Mark Wedel
2004-04-17


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2731 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-04-18 06:50:45 +00:00
temitchell 55d9353f1c - fixed issue with slotmachines where items created reset number of
existing items in the same space.
(using itemborker to set number of items add or remove as a safer way to
manage this.)
- touched up bank dialogue (and incorporated itembroker code)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2413 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-10-25 02:20:08 +00:00
temitchell 10663a71db - oops forgot the decimal that made the serbice charges work.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2386 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-10-09 04:28:09 +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
temitchell cd7c8c7da5 - fixed this stupid mistake (added quotes around bank DB name)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2358 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-09-28 22:13:15 +00:00
temitchell 3f638c3192 - minor change to allow multiple bank databases
(not advising that happen, but the bank class should be as
modular as possible IMHO) and so I did it.
Added README from unlinked with changes


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2357 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-09-28 21:49:46 +00:00
temitchell 1c179567fc - touchups for banking system
Bank now uses imperials (1000 gold) for withdrawls and can do enchanges
of currency to platinum.  Added a cleanup routine in the
python_remove script to delete account when players quit.
A transaction fee was implemented for deposits (default 5%)
requires use of new arch "imperial" (bank notes with no
intrinsic value)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2350 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-09-28 16:49:09 +00:00
temitchell f20666f7fc - add in DM check so that seen script gives DM the last IP used by the
player they are asking about.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2277 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-08-01 02:24:28 +00:00
temitchell 42c4b9eb73 - breaking out seen into it's own script, the bank stuff into it's own
script and removing the part if the seen command that hands out players
IP addresses to other players.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2269 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-07-25 05:27:20 +00:00
temitchell 16f371200d - small fix to make the slots deal with plurality
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2173 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-06-09 03:50:32 +00:00
temitchell 9dcd72efa0 - move the ImperialPost python files to the python directory, unclude system pathfinding from CFPython
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@1992 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-02-02 20:05:42 +00:00
temitchell 0f7f451615 - using new directory getting functions in the Plugin, makes python more better
- converted the slots over, now easier to install
- added a script that returns the directories for easy use


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@1990 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-02-02 07:50:10 +00:00
mwedel 575cf6d5a8 Various updates -
scorn/oldcity/oldcity2: Add some missing floor tiles.
scorn/temples/gnarg: Link in with with new maps.
world/world_105_116, world/world_127_114: Updated with gnard and
   cd maps.
python: added directory - same as in old maps.
quests/cd/* - move over fro old maps, just new directory.
styles: Added directory - same as in old maps.  Used for random maps.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@1694 282e977c-c81d-0410-88c4-b93c2d0d6712
2002-09-04 06:49:14 +00:00