Gang tags no longer rotate based on the user's dir, this was fugly and the sprites were NOT designed to do this.

This commit is contained in:
Remie Richards
2015-08-10 02:14:15 +01:00
parent b7ca110654
commit 83327ca40b
+6 -3
View File
@@ -5,6 +5,7 @@
icon_state = "rune1"
layer = 2.1
anchored = 1
var/do_icon_rotate = TRUE
/obj/effect/decal/cleanable/crayon/examine()
set src in view(2)
@@ -22,14 +23,16 @@
type = pick(gang_name_pool)
icon_state = type
var/matrix/M = matrix()
M.Turn(rotation)
src.transform = M
if(rotation && do_icon_rotate)
var/matrix/M = matrix()
M.Turn(rotation)
src.transform = M
color = main
/obj/effect/decal/cleanable/crayon/gang
layer = 3.6 //Harder to hide
do_icon_rotate = FALSE //These are designed to always face south, so no rotation please.
var/datum/gang/gang
/obj/effect/decal/cleanable/crayon/gang/New(location, var/datum/gang/G, var/e_name = "gang tag", var/rotation = 0)