Fix syntax error in script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4029 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
35c3d0fc93
commit
305639ac33
|
@ -84,7 +84,7 @@ if (activator.PayAmount(cost*10)):#goldcoin
|
||||||
id = activator.Map.CreateObject(cointype, x, y)
|
id = activator.Map.CreateObject(cointype, x, y)
|
||||||
CFItemBroker.Item(id).add(payoff)
|
CFItemBroker.Item(id).add(payoff)
|
||||||
if payoff == 1:
|
if payoff == 1:
|
||||||
message == "you win %d %s!" %(payoff,cointype)
|
message = "you win %d %s!" %(payoff,cointype)
|
||||||
else:
|
else:
|
||||||
message = "You win %d %ss!!" %(payoff,cointype)
|
message = "You win %d %ss!!" %(payoff,cointype)
|
||||||
break
|
break
|
||||||
|
|
|
@ -94,7 +94,7 @@ if (activator.PayAmount(cost*50)):#platinumcoin
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
message = "Better luck next time!"
|
message = "Better luck next time!"
|
||||||
activator.Write(message,activator)
|
activator.Write(message)
|
||||||
activator.Write("%d in the Jackpot, Play again?" %Slots.checkslot())
|
activator.Write("%d in the Jackpot, Play again?" %Slots.checkslot())
|
||||||
else:
|
else:
|
||||||
activator.Write("Sorry, you do not have enough money")
|
activator.Write("Sorry, you do not have enough money")
|
||||||
|
|
Loading…
Reference in New Issue