mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Remove crowbarring sound on blast doors and update the proc (#13282)
* Update pod door crowbarring * remove crowbar volume on all door subtypes
This commit is contained in:
@@ -204,7 +204,7 @@
|
||||
. = TRUE
|
||||
if(operating)
|
||||
return
|
||||
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
|
||||
if(!I.use_tool(src, user, 0, volume = 0))
|
||||
return
|
||||
try_to_crowbar(user, I)
|
||||
|
||||
|
||||
@@ -59,9 +59,18 @@
|
||||
/obj/machinery/door/poddoor/try_to_activate_door(mob/user)
|
||||
return
|
||||
|
||||
/obj/machinery/door/poddoor/try_to_crowbar(obj/item/I, mob/user)
|
||||
/obj/machinery/door/poddoor/try_to_crowbar(mob/user, obj/item/I)
|
||||
if(!density)
|
||||
return
|
||||
if(!hasPower())
|
||||
open()
|
||||
to_chat(user, "<span class='notice'>You start forcing [src] open...</span>")
|
||||
if(do_after(user, 50 * I.toolspeed, target = src))
|
||||
if(!hasPower())
|
||||
open()
|
||||
else
|
||||
to_chat(user, "<span class='warning'>[src] resists your efforts to force it!</span>")
|
||||
else
|
||||
to_chat(user, "<span class='warning'>[src] resists your efforts to force it!</span>")
|
||||
|
||||
// Whoever wrote the old code for multi-tile spesspod doors needs to burn in hell. - Unknown
|
||||
// Wise words. - Bxil
|
||||
|
||||
@@ -179,6 +179,7 @@
|
||||
slot_flags = SLOT_BACK
|
||||
force_unwielded = 5
|
||||
force_wielded = 24
|
||||
toolspeed = 0.25
|
||||
attack_verb = list("attacked", "chopped", "cleaved", "torn", "cut")
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
usesound = 'sound/items/crowbar.ogg'
|
||||
|
||||
Reference in New Issue
Block a user