[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 13:37:25 +00:00
committed by GitHub
co-authored by Ghommie Ghom
parent a9abe3423d
commit 1f665ef7f7
18 changed files with 143 additions and 76 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
name = "poster - [name]"
desc = "A large piece of space-resistant printed paper. [desc]"
AddComponent(/datum/component/beauty, 300)
AddElement(/datum/element/beauty, 300)
/obj/structure/sign/poster/proc/randomise(base_type)
var/list/poster_types = subtypesof(base_type)
@@ -28,7 +28,7 @@
if(LAZYLEN(diseases_to_add))
AddComponent(/datum/component/infective, diseases_to_add)
AddComponent(/datum/component/beauty, beauty)
AddElement(/datum/element/beauty, beauty)
var/turf/T = get_turf(src)
if(T && is_station_level(T.z))