Part 2 - Missing stuff from original families port
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
GLOBAL_LIST(gang_tags)
|
||||
|
||||
/obj/effect/decal/cleanable/crayon
|
||||
name = "rune"
|
||||
desc = "Graffiti. Damn kids."
|
||||
@@ -45,6 +47,8 @@
|
||||
data["pixel_x"] = pixel_x
|
||||
if(pixel_y != initial(pixel_y))
|
||||
data["pixel_y"] = pixel_y
|
||||
/obj/effect/decal/cleanable/crayon/NeverShouldHaveComeHere(turf/T)
|
||||
return isgroundlessturf(T)
|
||||
|
||||
/obj/effect/decal/cleanable/crayon/PersistenceLoad(list/data)
|
||||
. = ..()
|
||||
@@ -63,3 +67,18 @@
|
||||
pixel_x = data["pixel_x"]
|
||||
if(data["pixel_y"])
|
||||
pixel_y = data["pixel_y"]
|
||||
|
||||
/obj/effect/decal/cleanable/crayon/gang
|
||||
name = "Leet Like Jeff K gang tag"
|
||||
desc = "Looks like someone's claimed this area for Leet Like Jeff K."
|
||||
icon = 'icons/obj/gang/tags.dmi'
|
||||
layer = BELOW_MOB_LAYER
|
||||
var/datum/team/gang/my_gang
|
||||
|
||||
/obj/effect/decal/cleanable/crayon/gang/Initialize(mapload, main, type, e_name, graf_rot, alt_icon = null)
|
||||
. = ..()
|
||||
LAZYADD(GLOB.gang_tags, src)
|
||||
|
||||
/obj/effect/decal/cleanable/crayon/gang/Destroy()
|
||||
LAZYREMOVE(GLOB.gang_tags, src)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user