mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
Standardizes name and path of plastique/plastic explosive/c4 to C4
This commit is contained in:
@@ -368,11 +368,11 @@ var/list/uplink_items = list()
|
||||
item = /obj/item/weapon/aiModule/syndicate
|
||||
cost = 7
|
||||
|
||||
/datum/uplink_item/device_tools/plastic_explosives
|
||||
/datum/uplink_item/device_tools/c4
|
||||
name = "Composition C-4"
|
||||
desc = "C-4 is plastic explosive of the common variety Composition C. You can use it to breach walls or connect a signaler to its wiring to make it remotely detonable. \
|
||||
It has a modifiable timer with a minimum setting of 10 seconds."
|
||||
item = /obj/item/weapon/plastique
|
||||
item = /obj/item/weapon/c4
|
||||
cost = 1
|
||||
|
||||
/datum/uplink_item/device_tools/powersink
|
||||
|
||||
@@ -17,16 +17,16 @@ var/const/WIRE_EXPLODE = 1
|
||||
if(!mended)
|
||||
explode()
|
||||
|
||||
/datum/wires/explosive/plastic
|
||||
holder_type = /obj/item/weapon/plastique
|
||||
/datum/wires/explosive/c4
|
||||
holder_type = /obj/item/weapon/c4
|
||||
|
||||
/datum/wires/explosive/plastic/CanUse(var/mob/living/L)
|
||||
var/obj/item/weapon/plastique/P = holder
|
||||
/datum/wires/explosive/c4/CanUse(var/mob/living/L)
|
||||
var/obj/item/weapon/c4/P = holder
|
||||
if(P.open_panel)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/datum/wires/explosive/plastic/explode()
|
||||
var/obj/item/weapon/plastique/P = holder
|
||||
/datum/wires/explosive/c4/explode()
|
||||
var/obj/item/weapon/c4/P = holder
|
||||
P.explode(get_turf(P))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user