mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-06 22:39:04 +00:00
63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
|
|
|
|
/obj/item/stack/sticky_tape
|
|
name = "sticky tape"
|
|
singular_name = "sticky tape"
|
|
desc = "Used for sticking to things for sticking said things to people."
|
|
icon = 'icons/obj/tapes.dmi'
|
|
icon_state = "tape_w"
|
|
var/prefix = "sticky"
|
|
item_flags = NOBLUDGEON
|
|
amount = 5
|
|
max_amount = 5
|
|
resistance_flags = FLAMMABLE
|
|
grind_results = list(/datum/reagent/cellulose = 5)
|
|
|
|
var/list/conferred_embed = EMBED_HARMLESS
|
|
var/overwrite_existing = FALSE
|
|
|
|
/obj/item/stack/sticky_tape/afterattack(obj/item/I, mob/living/user)
|
|
if(!istype(I))
|
|
return
|
|
|
|
if(I.embedding && I.embedding == conferred_embed)
|
|
to_chat(user, "<span class='warning'>[I] is already coated in [src]!</span>")
|
|
return
|
|
|
|
user.visible_message("<span class='notice'>[user] begins wrapping [I] with [src].</span>", "<span class='notice'>You begin wrapping [I] with [src].</span>")
|
|
|
|
if(do_after(user, 30, target=I))
|
|
I.embedding = conferred_embed
|
|
I.AddElement(/datum/element/embed, I.embedding)
|
|
to_chat(user, "<span class='notice'>You finish wrapping [I] with [src].</span>")
|
|
use(1)
|
|
I.name = "[prefix] [I.name]"
|
|
|
|
if(istype(I, /obj/item/grenade))
|
|
var/obj/item/grenade/sticky_bomb = I
|
|
sticky_bomb.sticky = TRUE
|
|
|
|
/obj/item/stack/sticky_tape/super
|
|
name = "super sticky tape"
|
|
singular_name = "super sticky tape"
|
|
desc = "Quite possibly the most mischevious substance in the galaxy. Use with extreme lack of caution."
|
|
icon_state = "tape_y"
|
|
prefix = "super sticky"
|
|
conferred_embed = EMBED_HARMLESS_SUPERIOR
|
|
|
|
/obj/item/stack/sticky_tape/pointy
|
|
name = "pointy tape"
|
|
singular_name = "pointy tape"
|
|
desc = "Used for sticking to things for sticking said things inside people."
|
|
icon_state = "tape_evil"
|
|
prefix = "pointy"
|
|
conferred_embed = EMBED_POINTY
|
|
|
|
/obj/item/stack/sticky_tape/pointy/super
|
|
name = "super pointy tape"
|
|
singular_name = "super pointy tape"
|
|
desc = "You didn't know tape could look so sinister. Welcome to Space Station 13."
|
|
icon_state = "tape_spikes"
|
|
prefix = "super pointy"
|
|
conferred_embed = EMBED_POINTY_SUPERIOR
|