Fix befriending pets

Fixes Runtime and Renault's expected job titles for being befriended.
This commit is contained in:
Arokha Sieyes
2017-03-08 18:03:04 -05:00
parent dfb7d2008f
commit bc3e4291c3
2 changed files with 5 additions and 2 deletions

View File

@@ -194,6 +194,7 @@
var/mob/living/carbon/human/H = usr
if(istype(H) && (!befriend_job || H.job == befriend_job))
friend = usr
prey_excludes |= usr //VOREStation Add - Friends not food!
. = 1
else if(usr == friend)
. = 1 //already friends, but show success anyways
@@ -217,6 +218,7 @@
item_state = "cat"
icon_living = "cat"
icon_dead = "cat_dead"
befriend_job = "Chief Medical Officer" //VOREStation Add
/mob/living/simple_animal/cat/kitten
name = "kitten"

View File

@@ -270,6 +270,7 @@
return
friend = usr
prey_excludes |= usr
set_dir(get_dir(src, friend))
say("Yap!")
@@ -281,9 +282,9 @@
//Captain fox
/mob/living/simple_animal/fox/fluff/Renault
name = "Renault"
desc = "Renault, the Captain's trustworthy fox. I wonder what it says?"
desc = "Renault, the Colony Director's trustworthy fox. I wonder what it says?"
isPredator = 1
befriend_job = "Captain"
befriend_job = "Colony Director"
/mob/living/simple_animal/fox/fluff/Renault/New()
if(!vore_organs.len)