ID:149401
 
Hey, I have not even hardly looked at my games(source side :)) for a while. So I have forgotten many things, but the site and all seems to be doing very well. I like the new channel layout, anyways on to my problem...
The line with the error has a * behind it.

/turf/buyzone
icon = 'buy.dmi'
verb/pumps() *
set category = "Buy"
var/selling = input("The available Pump-Action Guns","Your current Cash $[usr.cash]") in list("Talon - $55")
var/cost
if(selling == "Talon - $55")
cost = 55
var/choice = input("This transaction will cost [cost] dollars. You have [usr.cash] dollars") in list("Buy","Cancel")
if(choice == "Buy")
if(usr.cash >= cost)
usr.cash -= cost
usr << 'buy.wav'
alert("Gun bought succesfully.","Transaction Completed!")
if(selling=="Talon - $55") new/obj/Talon(usr)
else
alert("You don't have enough money!","Warning!")

see anything wrong with this? I get a :buysys.dm:3:error::empty type name (indentation error?)
Last time(about 2 months) I compiled it, no errors. But after downloading the new versions of BYOND it shows this when I compile, thanx for any help!
indentation error. Move everythingg below the icon statement back an indent. You can't apply a verb to an icon.
In response to Garthor
ah, must have accidently done that somehow? Any way thanx for catching that.