bankloan.dm:6:error::empty type name (indentation error?)
and how can i fix it with this coding heres my coding
mob
NPC// the Bank Keeper
Banker
icon = 'banker.dmi'
icon_state = "banker"
Click()
if(!(usr in oview(2,src)))
return
var/choice=input(usr,"Hey [usr.name]! What can I do for you?","Bank") as null|anything in list("Get Loan","Pay Loan")
if(choice=="Get Loan")
if(alert(usr,"We are currently offering $10,000 loans, with %1.4 - %1.6 interest. Would you like one?","Loan","Yes","No")=="Yes")
usr.zenni += 10000
usr.loan += 10000
usr.loan()
How can i fix this?
Try that.