here is my code
/obj/Life_Capsul
icon = 'Items.dmi'
icon_state = "life"
if usr.Health >= 81 <<< line 20
usr << "Your not super man"
else
usr.Health += 20
usr << "You feel refreshed"
the error is
objs.dm:20:error: missing condition
Epic 2K.dmb - 2 errors, 0 warnings
ID:180179
Aug 11 2001, 12:03 pm
|
|
icon = 'Items.dmi'
icon_state = "life"
verb/something()
if usr.Health >= 81
usr << "Your not super man"
else
usr.Health += 20
usr << "You feel refreshed"
you cant just leave that if statement out in the middle of no where, you have to make it inside a verb or something.
also you did not tab anything right, i corrected it the example above