mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
[EE] Adds a new medium midround event: Irradiated mouse (#31947)
* added irradiated mouse * mouse pulling buff * adds upgrade spells * cooldown on upgrades * icons and cats * radioactive sludge, health decrease, upgrades counter * objectives and sound * spells to new file + check if alive in life * afterimage * description fix, contaminate, comments * lintma? * removed empty lines, , -> :, new -> new() --------- Signed-off-by: Christer2222 <25958019+Christer2222@users.noreply.github.com>
This commit is contained in:
@@ -125,10 +125,10 @@
|
||||
cable.deconstruct()
|
||||
|
||||
/mob/living/basic/mouse/start_pulling(atom/movable/AM, state, force = pull_force, show_message = FALSE)// Prevents mouse from pulling things
|
||||
if(istype(AM, /obj/item/food/sliced/cheesewedge))
|
||||
if(istype(AM, /obj/item/food/sliced/cheesewedge) || istype(AM, /mob/living/basic/mouse))
|
||||
return ..() // Get dem
|
||||
if(show_message)
|
||||
to_chat(src, SPAN_WARNING("You are too small to pull anything except cheese."))
|
||||
to_chat(src, SPAN_WARNING("You are too small to pull anything except cheese and other mice."))
|
||||
return
|
||||
|
||||
/mob/living/basic/mouse/proc/on_atom_entered(datum/source, atom/movable/entered)
|
||||
|
||||
@@ -140,14 +140,23 @@
|
||||
//MICE!
|
||||
if(eats_mice && isturf(loc) && !incapacitated())
|
||||
for(var/mob/living/basic/mouse/M in view(1, src))
|
||||
if(!M.stat && Adjacent(M))
|
||||
custom_emote(EMOTE_VISIBLE, "splats \the [M]!")
|
||||
M.death()
|
||||
M.splat()
|
||||
movement_target = null
|
||||
walk(src, 0)
|
||||
stop_automated_movement = FALSE
|
||||
break
|
||||
if(M.stat == DEAD || !Adjacent(M))
|
||||
continue
|
||||
|
||||
if(istype(M, /mob/living/basic/mouse/irradiated_mouse))
|
||||
if(prob(50))
|
||||
death()
|
||||
return
|
||||
else
|
||||
name = "Schrödinger's [name]"
|
||||
|
||||
custom_emote(EMOTE_VISIBLE, "splats \the [M]!")
|
||||
M.death()
|
||||
M.splat()
|
||||
movement_target = null
|
||||
walk(src, 0)
|
||||
stop_automated_movement = FALSE
|
||||
break
|
||||
for(var/obj/item/toy/cattoy/T in view(1, src))
|
||||
if(T.cooldown < (world.time - 400))
|
||||
custom_emote(EMOTE_VISIBLE, "bats \the [T] around with its paw!")
|
||||
|
||||
Reference in New Issue
Block a user