Commit Graph

12 Commits (84813f777d8aa869d8c1f039e835c46150e7ca26)

Author SHA1 Message Date
anmaster 84813f777d 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.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11481 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-14 18:00:40 +00:00
anmaster 9461ca36e9 Fix mixed tab/space indention in some casino python scripts.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11349 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-06 16:34:58 +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
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
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
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
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 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 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 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 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 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