mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Moves the C4 overlay to the float layer for mobs. (#45754)
* Fixes C4 stuff * Only does it on mobs.
This commit is contained in:
@@ -97,8 +97,10 @@
|
||||
I.throw_speed = max(1, (I.throw_speed - 3))
|
||||
I.throw_range = max(1, (I.throw_range - 3))
|
||||
I.embedding = I.embedding.setRating(embed_chance = 0)
|
||||
else if(istype(AM, /mob/living))
|
||||
plastic_overlay.layer = FLOAT_LAYER
|
||||
|
||||
target.add_overlay(plastic_overlay, TRUE)
|
||||
target.add_overlay(plastic_overlay)
|
||||
to_chat(user, "<span class='notice'>You plant the bomb. Timer counting down from [det_time].</span>")
|
||||
addtimer(CALLBACK(src, .proc/prime), det_time*10)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user