Fix syntax error in script.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4029 282e977c-c81d-0410-88c4-b93c2d0d6712
master
akirschbaum 2005-11-11 07:14:32 +00:00
parent 35c3d0fc93
commit 305639ac33
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ if (activator.PayAmount(cost*10)):#goldcoin
id = activator.Map.CreateObject(cointype, x, y)
CFItemBroker.Item(id).add(payoff)
if payoff == 1:
message == "you win %d %s!" %(payoff,cointype)
message = "you win %d %s!" %(payoff,cointype)
else:
message = "You win %d %ss!!" %(payoff,cointype)
break

View File

@ -94,7 +94,7 @@ if (activator.PayAmount(cost*50)):#platinumcoin
break
else:
message = "Better luck next time!"
activator.Write(message,activator)
activator.Write(message)
activator.Write("%d in the Jackpot, Play again?" %Slots.checkslot())
else:
activator.Write("Sorry, you do not have enough money")