maps/python
kstenger a253caa600 New item: magic pet's whistle.
Why this item:
    In some cases pets may get angry at their owner and attack him.
    This whistle intends to give the player a chance to make his pets friendly again.
    This won't prevent the pet from getting angry again for whatever reason, which
    is ok.

Including: archetype, image, treasure list (for the whistle inventory to work 
           properly), python script which makes the "real work".

Hope to add a map soon to make this available to the players.

A    maps/trunk/python/items/magic_whistle.py
A    arch/trunk/misc/magic_whistle.trs
A    arch/trunk/misc/magic_whistle.arc
AM   arch/trunk/misc/magic_whistle.base.111.png


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18827 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-23 18:56:37 +00:00
..
IPO Change employee dialog. Part of patch #333: Attitude change to IPO employees, by Kevin Zheng. 2013-06-23 10:01:26 +00:00
casino The casino code for major wins (in all the different slot types) was missing a cast to integer, this resulted in a traceback on Python 3.x. 2009-02-14 18:00:40 +00:00
commands Add autojailing scripts for PK, activated by DMs. 2011-06-09 22:20:06 +00:00
dialog Patch #332: Add Eliza chatterbot script for Crossfire 2013-07-07 14:57:47 +00:00
events Don't log the bell, it works. 2012-04-22 14:10:25 +00:00
gods Fix bug #2933502: Valkyrie not working. 2010-09-03 16:05:25 +00:00
guilds Display the guild status and a member's status, give more information on what is valid. 2013-06-09 16:51:55 +00:00
items New item: magic pet's whistle. 2013-07-23 18:56:37 +00:00
maps Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
misc Apply (part of) patch #326: Make sailing around the world cost money, by Kevin Zheng. 2013-04-06 10:21:13 +00:00
monsters Fix dialog. 2010-05-15 11:26:25 +00:00
pshop Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
quests Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
start Adapt to renamed face names. 2011-06-26 18:33:01 +00:00
tod Replace deprecated string.split() amd string.lower() in /python/*/*.py 2009-02-11 21:52:51 +00:00
CFBank.py 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 2009-01-30 01:32:19 +00:00
CFBoard.py 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 2009-01-30 01:32:19 +00:00
CFCampfire.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
CFDataBase.py Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
CFDataFile.py Minor code cleanup in some python modules (removing unused variables, cleaning up some if tests, removing import statements for some modules that were then never used. 2009-10-14 16:13:29 +00:00
CFDialog.py Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
CFGamble.py Fix tab error in CFGamble.py 2009-02-11 21:20:20 +00:00
CFGuildClearance.py Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
CFGuilds.py Fix typo. 2013-06-09 16:54:22 +00:00
CFItemBroker.py Correctly handle items with nrof 0. 2011-05-29 18:27:46 +00:00
CFLog.py
CFMail.py 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 2009-01-30 01:32:19 +00:00
CFMapTransformer.py Minor code cleanup in some python modules (removing unused variables, cleaning up some if tests, removing import statements for some modules that were then never used. 2009-10-14 16:13:29 +00:00
CFMove.py Use the wrapper move_to() function, remove unused function. 2012-07-08 16:19:43 +00:00
CFTimeOfDay.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
CFWorld.py Minor code cleanup in some python modules (removing unused variables, cleaning up some if tests, removing import statements for some modules that were then never used. 2009-10-14 16:13:29 +00:00
Move_Fog.py fine tuned fog duration and speed 2010-08-17 23:37:34 +00:00
Moving_Fog.py Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
README

README

This directory is the proper directory for all python scripts for crossfire and the default location for importing CF modules.

The subdirectories are:

/: all shared files
/events: all script files called by a global server event
/items: all scripts embedded in archetypes
/IPO: all scripts relating to the Imperial Post and Bank system
/guilds: all scripts relating to guild management
/casino: all scripts related to the casino
/misc: other scripts

Script additions should be placed in a subdirectory, either existing, or when it makes sense, a new one.
Shared classes used for import should be placed in the root directory

All Python scripts added to this map repository should be tested with and valid for Python 2.3