Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makes it so tar king's demon core can be applied to any outerwear instead of just hardsuits #21918

Merged
merged 7 commits into from
Apr 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions yogstation/code/modules/jungleland/jungle_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -672,19 +672,19 @@

/obj/item/demon_core
name = "demon core"
desc = "It glows with a faint light, you can feel the energy buzzing off of it"
desc = "It glows with a faint light. You can feel the energy radiating from it."
icon = 'yogstation/icons/obj/jungle.dmi'
icon_state = "demon_core"

/obj/item/demon_core/examine(mob/user)
. = ..()
. += "You can insert it into any hardsuit to give it a rechargeable shield."
. += "You can insert it into the super-matter engine, to double it's rad production."
. += "You can insert it into any outerwear to give it a rechargeable shield."
. += "You can insert it into a supermatter engine to double its rad production."

/obj/item/demon_core/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
if(!proximity_flag)
return ..()
if(istype(target,/obj/item/clothing/suit/space/hardsuit))
if(istype(target,/obj/item/clothing/suit))
target.AddComponent(/datum/component/shielded,'yogstation/icons/effects/effects.dmi',"tar_shield", 1, 30 SECONDS, ITEM_SLOT_OCLOTHING)
visible_message("[user] inserts [src] into [target]")
qdel(src)
Expand Down
Loading