null rod buffs part 2

This commit is contained in:
DeityLink
2014-11-03 04:14:08 +01:00
parent c268089596
commit ed02be9f0d
29 changed files with 571 additions and 211 deletions

View File

@@ -31,7 +31,7 @@ var/list/directional = list(
/obj/structure/window/full,
/obj/structure/stool/bed/chair,
/obj/structure/table,
/obj/machinery/light
/obj/machinery/light,
)
var/list/exception = list(
@@ -137,6 +137,9 @@ proc
if(C.lying && !isalienadult(C))//because adult aliens have their own resting sprite
add.Turn(90)
if(isobserver(A))
add.ChangeOpacity(0.5)
// Find the new dimensions of the flat icon to fit the added overlay
addX1 = min(flatX1, I:pixel_x+1)
addX2 = max(flatX2, I:pixel_x+add.Width())