[MIRROR] Beauty is now an element. Fixing an issue with enter/exit area comsigs. (#3639)

* Beauty is now an element. Fixing an issue with enter/exit area comsigs. (#57147)

Co-authored-by: Ghommie <425422238+Ghommie@ users.noreply.github.com>

* Beauty is now an element. Fixing an issue with enter/exit area comsigs.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Ghommie <425422238+Ghommie@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-02-25 14:37:25 +01:00
committed by GitHub
parent a9abe3423d
commit 1f665ef7f7
18 changed files with 143 additions and 76 deletions
+1 -1
View File
@@ -320,7 +320,7 @@
. = ..()
AddComponent(/datum/component/tactical)
AddComponent(/datum/component/two_handed, require_twohands=TRUE, force_unwielded=10, force_wielded=10)
AddComponent(/datum/component/beauty, 500)
AddElement(/datum/element/beauty, 500)
/obj/item/kirbyplants/attackby(obj/item/I, mob/living/user, params)
. = ..()
+1 -1
View File
@@ -19,7 +19,7 @@
/obj/structure/statue/Initialize()
. = ..()
AddElement(art_type, impressiveness)
AddComponent(/datum/component/beauty, impressiveness * 75)
AddElement(/datum/element/beauty, impressiveness * 75)
AddComponent(/datum/component/simple_rotation, ROTATION_ALTCLICK | ROTATION_CLOCKWISE, CALLBACK(src, .proc/can_user_rotate), CALLBACK(src, .proc/can_be_rotated), null)
/obj/structure/statue/proc/can_be_rotated(mob/user)