obj/bullets |
This code may not be perfect, as it is just a quick example, similar to what my game's actual code is, but the error would be the same.
Can somebody tell me why Target.damage is not defined, even though Target(which should be recognized as /obj/bullets/), should have a variable named 'damage'.
src.Damage is being perfectly fine, and not causing errors.
I also tried defining damage under all /obj, not /obj/bullets.
I also used Bump(obj/Target) and not (mob/Target)
The same error occurs.
Here is the exact error:
"Objects.dm: 3244:error: Target.damage: undefined var"
Help would be appreciated,
--JaiZo
