Files
Paradise/code/modules/mod/mod_paint.dm
CRUNCH da1ebd039d Adds Materials to Every Autolathe and Protolathe Item (except for ammo boxes, IK mags, and Dart Boxes) (#31445)
* Holy fuck there's so much shit I'm not even done

* oh god there's so many

* it is done

* Update autolathe_designs.dm

* Update circuitboard.dm
2026-01-30 21:25:40 +00:00

38 lines
1.6 KiB
Plaintext

/obj/item/mod/skin_applier
name = "MOD skin applier"
desc = "This one-use skin applier will add a skin to MODsuits of a specific type. This one applies to standard modsuits."
icon = 'icons/obj/clothing/modsuit/mod_construction.dmi'
icon_state = "skinapplier"
materials = list(MAT_METAL = 6000, MAT_GLASS = 3000, MAT_PLASMA = 1000)
var/skin = "civilian"
var/compatible_theme = /datum/mod_theme/standard
/obj/item/mod/skin_applier/Initialize(mapload)
. = ..()
name = "MOD [skin] skin applier"
/obj/item/mod/skin_applier/pre_attack(atom/target, mob/living/user, params)
if(!ismodcontrol(target))
return ..()
var/obj/item/mod/control/mod = target
if(mod.active || mod.activating)
to_chat(user, SPAN_WARNING("Deactivate the suit!"))
return FINISH_ATTACK
if(!istype(mod.theme, compatible_theme))
to_chat(user, SPAN_WARNING("Theme is not compatible!"))
return FINISH_ATTACK
mod.set_mod_skin(skin)
to_chat(user, SPAN_NOTICE("You apply the theme to [mod]."))
qdel(src)
return FINISH_ATTACK
/obj/item/mod/skin_applier/asteroid
skin = "asteroid"
compatible_theme = /datum/mod_theme/mining
desc = "This one-use skin applier will add a skin to MODsuits of a specific type. This one applies to mining modsuits, and makes them spaceproof. Enjoy the days when you had MODsuits on the asteroid. Wait a minute."
/obj/item/mod/skin_applier/corpsman
skin = "corpsman"
compatible_theme = /datum/mod_theme/medical
desc = "This one-use skin applier will add a skin to MODsuits of a specific type. This one applies to medical modsuits. You look like a corpse, man! Or was it a corps man?"