Hello.
As you guys might already know, I'll upload a Worldmap for Tux' 21st birthday. (the 23rd thing was a writing mistake )
I want to make a shop where you can get items by unlocking achievements (collecting all the coins in a level, killing all the enemies ), and by purchasing coins into items. I figured out the script that subtracts a certain amount of coins. Now the problem is that you get the item even though you don't have enough money. I searched on the GitHub Supertux page for conditioned scripting, but I didn't find anything.
Can anybody help me?