mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
pre_attack change (#30305)
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
var/obj/item/mod/control/mod = attacked_atom
|
||||
if(mod.active || mod.activating)
|
||||
to_chat(user, "<span class='warning'>Deactivate the suit!</span>")
|
||||
return TRUE
|
||||
return FINISH_ATTACK
|
||||
if(!istype(mod.theme, compatible_theme))
|
||||
to_chat(user, "<span class='warning'>Theme is not compatible!</span>")
|
||||
return TRUE
|
||||
return FINISH_ATTACK
|
||||
mod.set_mod_skin(skin)
|
||||
to_chat(user, "<span class='notice'>You apply the theme to [mod].</span>")
|
||||
qdel(src)
|
||||
return TRUE
|
||||
return FINISH_ATTACK
|
||||
|
||||
/obj/item/mod/skin_applier/asteroid
|
||||
skin = "asteroid"
|
||||
|
||||
Reference in New Issue
Block a user