anchor.diff:  				light.pixel_x = pixel_x - offset - 64
   				light.pixel_y = pixel_y - offset - 64
   
  -		if(p.client.moving && (istype(loc.loc, /area/outside) || istype(loc.loc, /area/newareas/outside)))
  +		if(p.client.moving && loc && (istype(loc.loc, /area/outside) || istype(loc.loc, /area/newareas/outside)))
   			if(++stepCount > 1000 && prob(1))
   				stepCount = 0
   
  -				var/prize = PET_LOST_AND_FOUND
  -				var/obj/items/i = new prize (loc)
  -
  -				i.prizeDrop(p.ckey)
  -
  -				p << infomsg("Your [p.name] has found \a [i.name] while walking.")
  +				if(prob(10))
  +					var/g = rand(2, 500)
  +					p << infomsg("Your [name] has found [g] gold while walking.")
  +					p.gold.add(g)
  +				else
  +					var/prize = PET_LOST_AND_FOUND
  +					var/obj/items/i = new prize (loc)
  +
  +					i.prizeDrop(p.ckey)
  +
  +					p << infomsg("Your [name] has found \a [i.name] while walking.")
   
   	Click()
   		..()
  
positive.code: 					 amount = 3,
  					 angle  = new /Random(0, 360),
  					 speed  = 5,
  					 life   = new /Random(4,8))
  
  		SetSize(pet.currentSize)
  
  
negative.code: 			if(!overridetext) hearers(owner) << infomsg("[owner] puts \his [src.name] away.")
  
  	proc/addExp(mob/Player/owner, amount)
  		if(quality > MAX_PET_LEVEL)
  			exp = 0
  			return
  
  