with this proc added to a mob's verb list it produces a curious runtime.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
/client/proc/borer_infest()
set category = "Alien"
set name = "Infest"
set desc = "Infest a suitable humanoid host."
var/mob/living/simple_animal/borer/B = src.mob //line 601
if(!istype(B)) return
B.infest()
Expected Results:
it works as intended
Actual Results:
runtime error: undefined variable /mob/living/simple_animal/borer/var/mob
proc name: Infest (/client/proc/borer_infest)
source file: borer.dm,601
usr: the cortical borer (697) (/mob/living/simple_animal/borer)
src: the cortical borer (697) (/mob/living/simple_animal/borer)
call stack:
the cortical borer (697) (/mob/living/simple_animal/borer): Infest()
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds:
none so far