mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-03 22:13:50 +00:00
Fix befriending pets
Fixes Runtime and Renault's expected job titles for being befriended.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user