mob
icon = 'person.dmi'
var
level = 1
health = 30
maxhealth = 30
strength = 3
exp = 0
max_exp = 100
Login()
world << "[usr] has joined the quest to destroy the darkness!!" icon_state = gender
loc = locate(1,1,1)
..()
mob
slime
icon = 'slime.dmi'
var
health = 100
Eternal Darkness.dm:10:error:health :duplicate definition
Eternal Darkness.dm:27:error:health :previous definition
Problem description:
This was in developers forum but I put it here cuz its code >.>
You really can't do that. When you define in under the pearent-type then there is no need to define it under another type path under the same pearent-type and also you actually are unable to do that. So just get rid of the health variable under the slime.