[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Mon Apr 2 12:38:05 CDT 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/04/02 12:38
User : ryo
Edit Summary: fix code issue
@@ -67,9 +67,12 @@
* ''Type'': object type, as defined in ''include/define.h''
* ''Move'': movement types, as defined in ''define/define.h''
Example:
- ''whoami.Say("%s => %d"%(Crossfire.DirectionName[Crossfire.Direction.NORTH],Crossfire.Direction.NORTH))'' will write ''NORTH => 1''
+ <code>
+ whoami.Say("%s => %d"%(Crossfire.DirectionName[Crossfire.Direction.NORTH], Crossfire.Direction.NORTH))
+ </code>
+ will write <code>NORTH => 1</code>
**Warning**: Python doesn't know about constants, thus scripts can modify those values. Doing this can lead to weird results, and should be avoided at all cost. Note that the C code itself is immune to the changes, only the scripts would suffer.
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1175535387
New Revision: http://wiki.metalforge.net/doku.php/cfpython
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list