mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 15:04:21 +00:00
Conflicts resolved, excluding the .dme
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
<<<<<<< HEAD
|
|
||||||
//Cat
|
//Cat
|
||||||
/mob/living/simple_animal/cat
|
/mob/living/simple_animal/cat
|
||||||
name = "cat"
|
name = "cat"
|
||||||
@@ -64,8 +63,8 @@
|
|||||||
handle_flee_target()
|
handle_flee_target()
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/PunchTarget()
|
/mob/living/simple_animal/cat/PunchTarget()
|
||||||
if(istype(target_mob,/mob/living/simple_animal/mouse))
|
if(ismouse(target_mob))
|
||||||
var/mob/living/simple_animal/mouse/mouse = target_mob
|
var/mob/living/simple_mob/animal/passive/mouse/mouse = target_mob
|
||||||
mouse.splat()
|
mouse.splat()
|
||||||
visible_emote(pick("bites \the [mouse]!","toys with \the [mouse].","chomps on \the [mouse]!"))
|
visible_emote(pick("bites \the [mouse]!","toys with \the [mouse].","chomps on \the [mouse]!"))
|
||||||
return mouse
|
return mouse
|
||||||
@@ -73,7 +72,7 @@
|
|||||||
..()
|
..()
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/Found(var/atom/found_atom)
|
/mob/living/simple_animal/cat/Found(var/atom/found_atom)
|
||||||
if(istype(found_atom,/mob/living/simple_animal/mouse) && SA_attackable(found_atom))
|
if(ismouse(found_atom) && SA_attackable(found_atom))
|
||||||
return found_atom
|
return found_atom
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/proc/handle_flee_target()
|
/mob/living/simple_animal/cat/proc/handle_flee_target()
|
||||||
@@ -174,7 +173,6 @@
|
|||||||
icon_living = "kitten"
|
icon_living = "kitten"
|
||||||
icon_dead = "kitten_dead"
|
icon_dead = "kitten_dead"
|
||||||
gender = NEUTER
|
gender = NEUTER
|
||||||
holder_type = /obj/item/weapon/holder/cat/kitten //VOREStation Edit
|
|
||||||
|
|
||||||
// Leaving this here for now.
|
// Leaving this here for now.
|
||||||
/obj/item/weapon/holder/cat/fluff/bones
|
/obj/item/weapon/holder/cat/fluff/bones
|
||||||
@@ -197,209 +195,4 @@
|
|||||||
|
|
||||||
/mob/living/simple_animal/cat/kitten/New()
|
/mob/living/simple_animal/cat/kitten/New()
|
||||||
gender = pick(MALE, FEMALE)
|
gender = pick(MALE, FEMALE)
|
||||||
..()
|
..()
|
||||||
|
|
||||||
// VOREStation Edit - Adds generic tactical kittens
|
|
||||||
/obj/item/weapon/holder/cat/kitten
|
|
||||||
icon_state = "kitten"
|
|
||||||
w_class = ITEMSIZE_SMALL
|
|
||||||
=======
|
|
||||||
//Cat
|
|
||||||
/mob/living/simple_animal/cat
|
|
||||||
name = "cat"
|
|
||||||
desc = "A domesticated, feline pet. Has a tendency to adopt crewmembers."
|
|
||||||
tt_desc = "E Felis silvestris catus"
|
|
||||||
intelligence_level = SA_ANIMAL
|
|
||||||
icon_state = "cat2"
|
|
||||||
item_state = "cat2"
|
|
||||||
icon_living = "cat2"
|
|
||||||
icon_dead = "cat2_dead"
|
|
||||||
icon_rest = "cat2_rest"
|
|
||||||
|
|
||||||
investigates = 1
|
|
||||||
specific_targets = 1 //Only targets with Found()
|
|
||||||
run_at_them = 0 //DOMESTICATED
|
|
||||||
view_range = 5
|
|
||||||
|
|
||||||
turns_per_move = 5
|
|
||||||
see_in_dark = 6
|
|
||||||
|
|
||||||
response_help = "pets"
|
|
||||||
response_disarm = "gently pushes aside"
|
|
||||||
response_harm = "kicks"
|
|
||||||
|
|
||||||
min_oxy = 16 //Require atleast 16kPA oxygen
|
|
||||||
minbodytemp = 223 //Below -50 Degrees Celcius
|
|
||||||
maxbodytemp = 323 //Above 50 Degrees Celcius
|
|
||||||
|
|
||||||
holder_type = /obj/item/weapon/holder/cat
|
|
||||||
mob_size = MOB_SMALL
|
|
||||||
|
|
||||||
has_langs = list("Cat")
|
|
||||||
speak_chance = 1
|
|
||||||
speak = list("Meow!","Esp!","Purr!","HSSSSS")
|
|
||||||
speak_emote = list("purrs", "meows")
|
|
||||||
emote_hear = list("meows","mews")
|
|
||||||
emote_see = list("shakes their head", "shivers")
|
|
||||||
say_maybe_target = list("Meow?","Mew?","Mao?")
|
|
||||||
say_got_target = list("MEOW!","HSSSS!","REEER!")
|
|
||||||
|
|
||||||
meat_amount = 1
|
|
||||||
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat
|
|
||||||
|
|
||||||
var/turns_since_scan = 0
|
|
||||||
var/mob/flee_target
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/Life()
|
|
||||||
. = ..()
|
|
||||||
if(!.) return
|
|
||||||
|
|
||||||
if(prob(2)) //spooky
|
|
||||||
var/mob/observer/dead/spook = locate() in range(src,5)
|
|
||||||
if(spook)
|
|
||||||
var/turf/T = spook.loc
|
|
||||||
var/list/visible = list()
|
|
||||||
for(var/obj/O in T.contents)
|
|
||||||
if(!O.invisibility && O.name)
|
|
||||||
visible += O
|
|
||||||
if(visible.len)
|
|
||||||
var/atom/A = pick(visible)
|
|
||||||
visible_emote("suddenly stops and stares at something unseen[istype(A) ? " near [A]":""].")
|
|
||||||
|
|
||||||
handle_flee_target()
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/PunchTarget()
|
|
||||||
if(ismouse(target_mob))
|
|
||||||
var/mob/living/simple_mob/animal/passive/mouse/mouse = target_mob
|
|
||||||
mouse.splat()
|
|
||||||
visible_emote(pick("bites \the [mouse]!","toys with \the [mouse].","chomps on \the [mouse]!"))
|
|
||||||
return mouse
|
|
||||||
else
|
|
||||||
..()
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/Found(var/atom/found_atom)
|
|
||||||
if(ismouse(found_atom) && SA_attackable(found_atom))
|
|
||||||
return found_atom
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/proc/handle_flee_target()
|
|
||||||
//see if we should stop fleeing
|
|
||||||
if (flee_target && !(flee_target in ListTargets(view_range)))
|
|
||||||
flee_target = null
|
|
||||||
GiveUpMoving()
|
|
||||||
|
|
||||||
if (flee_target && !stat && !buckled)
|
|
||||||
if (resting)
|
|
||||||
lay_down()
|
|
||||||
if(prob(25)) say("HSSSSS")
|
|
||||||
stop_automated_movement = 1
|
|
||||||
walk_away(src, flee_target, 7, 2)
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/react_to_attack(var/atom/A)
|
|
||||||
if(A == src) return
|
|
||||||
flee_target = A
|
|
||||||
turns_since_scan = 5
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/ex_act()
|
|
||||||
. = ..()
|
|
||||||
react_to_attack(src.loc)
|
|
||||||
|
|
||||||
//Basic friend AI
|
|
||||||
/mob/living/simple_animal/cat/fluff
|
|
||||||
var/mob/living/carbon/human/friend
|
|
||||||
var/befriend_job = null
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/fluff/Life()
|
|
||||||
. = ..()
|
|
||||||
if(!. || ai_inactive || !friend) return
|
|
||||||
|
|
||||||
var/friend_dist = get_dist(src,friend)
|
|
||||||
|
|
||||||
if (friend_dist <= 4)
|
|
||||||
if(stance == STANCE_IDLE)
|
|
||||||
if(set_follow(friend))
|
|
||||||
handle_stance(STANCE_FOLLOW)
|
|
||||||
|
|
||||||
if (friend_dist <= 1)
|
|
||||||
if (friend.stat >= DEAD || friend.health <= config.health_threshold_softcrit)
|
|
||||||
if (prob((friend.stat < DEAD)? 50 : 15))
|
|
||||||
var/verb = pick("meows", "mews", "mrowls")
|
|
||||||
audible_emote(pick("[verb] in distress.", "[verb] anxiously."))
|
|
||||||
else
|
|
||||||
if (prob(5))
|
|
||||||
visible_emote(pick("nuzzles [friend].",
|
|
||||||
"brushes against [friend].",
|
|
||||||
"rubs against [friend].",
|
|
||||||
"purrs."))
|
|
||||||
else if (friend.health <= 50)
|
|
||||||
if (prob(10))
|
|
||||||
var/verb = pick("meows", "mews", "mrowls")
|
|
||||||
audible_emote("[verb] anxiously.")
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/fluff/verb/become_friends()
|
|
||||||
set name = "Become Friends"
|
|
||||||
set category = "IC"
|
|
||||||
set src in view(1)
|
|
||||||
|
|
||||||
if(!friend)
|
|
||||||
var/mob/living/carbon/human/H = usr
|
|
||||||
if(istype(H) && (!befriend_job || H.job == befriend_job))
|
|
||||||
friend = usr
|
|
||||||
. = 1
|
|
||||||
else if(usr == friend)
|
|
||||||
. = 1 //already friends, but show success anyways
|
|
||||||
|
|
||||||
if(.)
|
|
||||||
set_dir(get_dir(src, friend))
|
|
||||||
visible_emote(pick("nuzzles [friend].",
|
|
||||||
"brushes against [friend].",
|
|
||||||
"rubs against [friend].",
|
|
||||||
"purrs."))
|
|
||||||
else
|
|
||||||
usr << "<span class='notice'>[src] ignores you.</span>"
|
|
||||||
return
|
|
||||||
|
|
||||||
//RUNTIME IS ALIVE! SQUEEEEEEEE~
|
|
||||||
/mob/living/simple_animal/cat/fluff/Runtime
|
|
||||||
name = "Runtime"
|
|
||||||
desc = "Her fur has the look and feel of velvet, and her tail quivers occasionally."
|
|
||||||
tt_desc = "E Felis silvestris medicalis" //a hypoallergenic breed produced by NT for... medical purposes? Sure.
|
|
||||||
gender = FEMALE
|
|
||||||
icon_state = "cat"
|
|
||||||
item_state = "cat"
|
|
||||||
icon_living = "cat"
|
|
||||||
icon_dead = "cat_dead"
|
|
||||||
icon_rest = "cat_rest"
|
|
||||||
befriend_job = "Chief Medical Officer"
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/kitten
|
|
||||||
name = "kitten"
|
|
||||||
desc = "D'aaawwww"
|
|
||||||
icon_state = "kitten"
|
|
||||||
item_state = "kitten"
|
|
||||||
icon_living = "kitten"
|
|
||||||
icon_dead = "kitten_dead"
|
|
||||||
gender = NEUTER
|
|
||||||
|
|
||||||
// Leaving this here for now.
|
|
||||||
/obj/item/weapon/holder/cat/fluff/bones
|
|
||||||
name = "Bones"
|
|
||||||
desc = "It's Bones! Meow."
|
|
||||||
gender = MALE
|
|
||||||
icon_state = "cat3"
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/fluff/bones
|
|
||||||
name = "Bones"
|
|
||||||
desc = "That's Bones the cat. He's a laid back, black cat. Meow."
|
|
||||||
gender = MALE
|
|
||||||
icon_state = "cat3"
|
|
||||||
item_state = "cat3"
|
|
||||||
icon_living = "cat3"
|
|
||||||
icon_dead = "cat3_dead"
|
|
||||||
icon_rest = "cat3_rest"
|
|
||||||
holder_type = /obj/item/weapon/holder/cat/fluff/bones
|
|
||||||
var/friend_name = "Erstatz Vryroxes"
|
|
||||||
|
|
||||||
/mob/living/simple_animal/cat/kitten/New()
|
|
||||||
gender = pick(MALE, FEMALE)
|
|
||||||
..()
|
|
||||||
>>>>>>> 3155d58... Merge pull request #5735 from Neerti/hopefully_last_master_sync
|
|
||||||
@@ -149,12 +149,9 @@
|
|||||||
/turf/simulated/open/is_space()
|
/turf/simulated/open/is_space()
|
||||||
var/turf/below = GetBelow(src)
|
var/turf/below = GetBelow(src)
|
||||||
return !below || below.is_space()
|
return !below || below.is_space()
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
|
|
||||||
/turf/simulated/open/is_safe_to_enter(mob/living/L)
|
/turf/simulated/open/is_safe_to_enter(mob/living/L)
|
||||||
if(L.can_fall())
|
if(L.can_fall())
|
||||||
if(!locate(/obj/structure/stairs) in GetBelow(src))
|
if(!locate(/obj/structure/stairs) in GetBelow(src))
|
||||||
return FALSE
|
return FALSE
|
||||||
return ..()
|
return ..()
|
||||||
>>>>>>> 3155d58... Merge pull request #5735 from Neerti/hopefully_last_master_sync
|
|
||||||
@@ -36,10 +36,6 @@
|
|||||||
summon_amt = 10
|
summon_amt = 10
|
||||||
range = 3
|
range = 3
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
summon_type = list(/mob/living/simple_animal/hostile/creature/vore) // Vorestation Edit
|
|
||||||
=======
|
|
||||||
summon_type = list(/mob/living/simple_mob/creature)
|
summon_type = list(/mob/living/simple_mob/creature)
|
||||||
>>>>>>> 3155d58... Merge pull request #5735 from Neerti/hopefully_last_master_sync
|
|
||||||
|
|
||||||
hud_state = "wiz_creature"
|
hud_state = "wiz_creature"
|
||||||
@@ -9,12 +9,8 @@ var/list/ventcrawl_machinery = list(
|
|||||||
/obj/item/device/radio/borg,
|
/obj/item/device/radio/borg,
|
||||||
/obj/item/weapon/holder,
|
/obj/item/weapon/holder,
|
||||||
/obj/machinery/camera,
|
/obj/machinery/camera,
|
||||||
<<<<<<< HEAD
|
|
||||||
/mob/living/simple_animal/borer,
|
/mob/living/simple_animal/borer,
|
||||||
/obj/belly, //VOREStation Edit,
|
/obj/belly, //VOREStation Edit,
|
||||||
=======
|
|
||||||
/mob/living/simple_mob/animal/borer,
|
|
||||||
>>>>>>> 3155d58... Merge pull request #5735 from Neerti/hopefully_last_master_sync
|
|
||||||
/obj/screen
|
/obj/screen
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user