mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
You can shove all small mobs in the glass jar now (#10484)
This commit is contained in:
@@ -496,7 +496,7 @@ mob/living/simple_animal/bullet_act(var/obj/item/projectile/Proj)
|
||||
attacked_with_item(O, user)
|
||||
|
||||
//TODO: refactor mob attackby(), attacked_by(), and friends.
|
||||
/mob/living/simple_animal/proc/attacked_with_item(obj/item/O, mob/user)
|
||||
/mob/living/simple_animal/proc/attacked_with_item(obj/item/O, mob/user, var/proximity)
|
||||
if(istype(O, /obj/item/trap/animal) || istype(O, /obj/item/gun))
|
||||
O.attack(src, user)
|
||||
return
|
||||
@@ -506,8 +506,10 @@ mob/living/simple_animal/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(prob(15) && !istype(src, /mob/living/simple_animal/hostile)) //Aggressive animals don't purr before biting your face off.
|
||||
visible_message("<b>[capitalize_first_letters(src.name)]</b> [speak_emote.len ? pick(speak_emote) : "rumbles"].") //purring
|
||||
return
|
||||
if(istype(O, /obj/item/glass_jar))
|
||||
return FALSE
|
||||
if(!O.force)
|
||||
visible_message("<b>\The [user]</b> gently taps \the [src] with \the [O].")
|
||||
visible_message(SPAN_NOTICE("<b>\The [user]</b> gently taps \the [src] with \the [O]."))
|
||||
poke()
|
||||
return FALSE
|
||||
|
||||
@@ -813,4 +815,4 @@ mob/living/simple_animal/bullet_act(var/obj/item/projectile/Proj)
|
||||
#undef BLOOD_NONE
|
||||
#undef BLOOD_LIGHT
|
||||
#undef BLOOD_MEDIUM
|
||||
#undef BLOOD_HEAVY
|
||||
#undef BLOOD_HEAVY
|
||||
|
||||
Reference in New Issue
Block a user