mob
var
aggressive
Monsters
New()
..()
spawn() src.Monster_AI()
density = 1
Earth
icon = 'Monsters.dmi'
Non_Aggressive
race = "Animal"
New()
..()
exp = rand(150,300)
zenni = rand(50,100)
Del()
var/mob/Monsters/M = src.type
M = src
M.loc = initial(src.loc)
world<<M
..()
Rabbit
icon_state = "Rabbit"
strength = 1
defense = 1
powerlevel = 100
maxpowerlevel = 100
What I'm wondering is when they are deleted (dead by the client) give it a specific time to pass by using spawn() and have them respawn, I did this without spawn() because I needed to see right away that it works, however it does not. If anyone could help that would be much appreciated. Also thank you in advance!
Should be new src.type
M = src
Shouldn't happen at all
Though deleting and re-creating mobs like that isn't very efficient