mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
no more regal rat runtimes, and, cheeeeeeeeeeeese can now be eaten by it (#62032)
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
. = ..()
|
||||
RegisterSignal(src, COMSIG_RAT_INTERACT, .proc/on_rat_eat)
|
||||
|
||||
/obj/item/food/cheese/proc/on_rat_eat(mob/living/simple_animal/hostile/regalrat/king)
|
||||
/obj/item/food/cheese/proc/on_rat_eat(datum/source, mob/living/simple_animal/hostile/regalrat/king)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
king.cheese_heal(src, rat_heal, span_green("You eat [src], restoring some health."))
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
if (QDELETED(target))
|
||||
return
|
||||
|
||||
if (target.reagents && target.is_injectable(src, allowmobs = TRUE))
|
||||
if (target.reagents && target.is_injectable(src, allowmobs = TRUE) && !istype(target, /obj/item/food/cheese))
|
||||
src.visible_message(span_warning("[src] starts licking [target] passionately!"),span_notice("You start licking [target]..."))
|
||||
if (do_mob(src, target, 2 SECONDS, interaction_key = "regalrat"))
|
||||
target.reagents.add_reagent(/datum/reagent/rat_spit,rand(1,3),no_react = TRUE)
|
||||
|
||||
@@ -48,7 +48,7 @@ GLOBAL_LIST_INIT(wire_node_generating_types, typecacheof(list(/obj/structure/gri
|
||||
AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE)
|
||||
RegisterSignal(src, COMSIG_RAT_INTERACT, .proc/on_rat_eat)
|
||||
|
||||
/obj/structure/cable/proc/on_rat_eat(mob/living/simple_animal/hostile/regalrat/king)
|
||||
/obj/structure/cable/proc/on_rat_eat(datum/source, mob/living/simple_animal/hostile/regalrat/king)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
if(avail())
|
||||
|
||||
@@ -522,7 +522,7 @@
|
||||
H.destinationTag = 1
|
||||
|
||||
|
||||
/obj/machinery/disposal/proc/on_rat_rummage(mob/living/simple_animal/hostile/regalrat/king)
|
||||
/obj/machinery/disposal/proc/on_rat_rummage(datum/source, mob/living/simple_animal/hostile/regalrat/king)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
INVOKE_ASYNC(src, /obj/machinery/disposal/.proc/rat_rummage, king)
|
||||
|
||||
Reference in New Issue
Block a user