ID:141535
 
Code:
mob
icon = 'Person.dmi'
icon_state = "Kumamon"

var
HP = 30
wealth
bug
icon = 'bug.dmi'
icon_state = "bug"


Login()
icon_state = gender
..()
proc
DeathCheck()
if (HP <= 0)
world << "[src] dies!"
del(src)
verb
attack(mob/M as mob in oview(1))
usr << "You attack [M]!"
oview() << "[usr] attacks [M]!"
var/damage = rand(10,20)
world << "[damage] damage"
M.HP -= damage
M.DeathCheck()

Say(msg as text)
view() << "[usr] says: [msg]"

verb
OOC(msg as text)
world << "[usr] OOC: [msg]"

verb
Whisper(msg as text)
oview(3) << "[usr] whispers: [msg]"

verb
Emote(msg as text)
world << "*[usr] [msg]*"
obj
Digidollars
icon = 'Digidollars.dmi'
icon_state = "Digidollars"
var
amount
verb
get()
set src in view(1)
usr << "You pick up [amount] gold."
usr.wealth += amount
del(src)


Problem description:

My person icon wont appear and I can attack my gold, also can someone help me to show the wealth and HP of the player?
    icon = 'Person.dmi'
icon_state = "Kumamon"

Do you have an icon Person.dmi with a state called Kumamon?

And for attacking your gold, that's because your gold is a type of mob. Unindent the line "obj" and everything below it.