maps/python
ryo_saeba f07e438d1b Fix type error by converting explicitely to int.
Display message only if the wielder is a player.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@22059 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-04-07 18:35:48 +00:00
..
CFReputation Add reputation-based trigger 2018-12-30 05:15:57 +00:00
IPO Improve package sending help text in the IPO 2021-03-30 05:50:25 +00:00
casino
commands When dipping a scroll, remove knowledge marker and reset name. 2021-02-09 21:26:26 +00:00
dialog Fix print() 2019-11-27 23:25:27 +00:00
events Fix type error by converting explicitely to int. 2021-04-07 18:35:48 +00:00
gods Explicitly convert to int. 2020-12-27 16:31:47 +00:00
guilds Reduce guild arrest jail time 2017-08-15 23:41:45 +00:00
items Fix type error by converting explicitely to int. 2021-04-07 18:35:48 +00:00
maps Fix invalid conversion. 2021-02-12 13:15:55 +00:00
misc Add reputation-based trigger 2018-12-30 05:15:57 +00:00
monsters Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
pshop
quests Fix potential for NoneType as player if Owner is null on non-player activator. 2020-12-20 03:54:58 +00:00
start
tod Adjusted the error message to reflect the name of the script. 2015-05-17 19:11:40 +00:00
CFBank.py Restore original CFBank API 2017-07-27 06:35:06 +00:00
CFBoard.py
CFCampfire.py
CFDataBase.py
CFDataFile.py
CFDialog.py Fix script conditions, round 3. 2020-12-27 13:24:26 +00:00
CFGamble.py
CFGuildClearance.py
CFGuilds.py
CFItemBroker.py
CFLog.py
CFMail.py
CFMapTransformer.py
CFMove.py
CFTimeOfDay.py
CFWorld.py
Move_Fog.py
Moving_Fog.py Fix fog with Python 3 2021-01-05 17:08:34 +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