mob
icon = 'person.dmi'
bug
icon = 'bug.dmi' var
HP = 30
Wealth
proc
DeathCheck()
if (HP <= 0)
world << "[src] died" if (HP <= 0)
world << "[src] died" del(src)
Del()
var/obj/gold/G = new(loc) G.amount = rand(1,100)
..()
Login()
icon_state = gender ..() verb
say(msg as text)
world << "[usr]:[msg]"
attack(mob/M as mob in oview(1)) usr << "You attack [M]!" oview() << "[usr] attacks [M]!" var/damage = rand(1,10) world << "[damage] damage!" M.HP -= damage M.DeathCheck()
testworld.dm:28: Inconsistent indentation.
testworld.dm:29: Inconsistent indentation.
testworld.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)
It keeps tellin me its an error but i donno how to fix it...(its the 4th, 5th and 6th line from the bottom)
ID:144676
Sep 30 2006, 3:42 am
|
|
Sep 30 2006, 4:33 am
|
|
Check tabs
|