ID:148023
 
mob/Enemies/Blue_Slime
icon = 'Monsters.dmi'
icon_state = "BlueSlime"
//We don't need to define name because when we define Ankle_Bleeder as the type, the name will by default be set to Ankle Bleeder (without the underscore.).
Level = 5
HP = 30
MAX_HP = 30
MP = 0
MAX_MP = 0
Min_Damage = 2
Max_Damage = 6
Strength = 5
Defense = 6
AC = 4
AGI = 6
DEX = 3
Zenny = 0
EXP = 0
EXP_To_Next = 0
EXP_Give = 28
Zenny_Give = 21
New()
spawn()
Wander()

mob/var/Spawned_by

/obj/Bat_Spawn_Point
var/My_Spawn
New()
spawn()
SpawnCycle()
proc/SpawnCycl()
if(My_Spawned == null)
sleep(100)
var/mob/Enemies/Bat/M = new (src.loc)
My_Spawned = M
M.Spawned_By = src
spawn(10)
SpawnCycle()

it says duplicate definition with by is there a way i can stop that?
Darkfirewolf5 wrote:
mob/var/Spawned_by

/obj/Bat_Spawn_Point
var/My_Spawn
New()
spawn()
SpawnCycle()
proc/SpawnCycl()
if(My_Spawned == null)
sleep(100)
var/mob/Enemies/Bat/M = new (src.loc)
My_Spawned = M
M.Spawned_By = src
spawn(10)
SpawnCycle()

it says duplicate definition with by is there a way i can stop that?

I Dont quite get your question, But look at the lines that ive made bold, see the difference?
Darkfirewolf5 wrote:
mob/var/Spawned_by

it says duplicate definition with by is there a way i can stop that?

If you mean spawned by, then this means that you probably defined this elsewhere in your source code. Try searching for it. (Manually would be best, as opposed to the search feature)

~>Volte