mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
More interactions for small mobs (#6764)
Small mobs such as rats can now bite cables. Small mobs that can ventcrawl now interact with atmospheric machines that contain pumps Small mobs can no longer block airlocks by standing in them.
This commit is contained in:
@@ -202,6 +202,15 @@ var/list/possible_cable_coil_colours = list(
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/obj/structure/cable/attack_generic(var/mob/user)
|
||||
//Let those rats (and other small things) nibble the cables
|
||||
if (issmall(user) && !isDrone(user))
|
||||
to_chat(user, span("danger","You bite into \the [src]."))
|
||||
if(powernet && powernet.avail > 100) //100W should be sufficient to grill a rat
|
||||
spark(src)
|
||||
user.dust()
|
||||
..()
|
||||
|
||||
/obj/structure/cable/shuttle_move(turf/loc)
|
||||
..()
|
||||
SSmachinery.powernet_update_queued = TRUE
|
||||
|
||||
Reference in New Issue
Block a user