mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Smooth lattice now has new sprites (also some code updates for smooth lattice)
Sprites by veyveyr. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1448 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -549,6 +549,7 @@
|
||||
for(var/obj/lattice/LAT in src.loc)
|
||||
if(LAT != src)
|
||||
del(LAT)
|
||||
icon = 'smoothlattice.dmi'
|
||||
icon_state = "latticeblank"
|
||||
updateOverlays()
|
||||
for (var/dir in cardinal)
|
||||
@@ -570,6 +571,20 @@
|
||||
// del(src)
|
||||
spawn(1)
|
||||
overlays = list()
|
||||
|
||||
var/dir_sum = 0
|
||||
|
||||
for (var/direction in cardinal)
|
||||
if(locate(/obj/lattice, get_step(src, direction)))
|
||||
dir_sum += direction
|
||||
else
|
||||
if(!(istype(get_step(src, direction), /turf/space)))
|
||||
dir_sum += direction
|
||||
|
||||
icon_state = "lattice[dir_sum]"
|
||||
return
|
||||
|
||||
/*
|
||||
overlays += icon(icon,"lattice-middlebar") //the nw-se bar in the cneter
|
||||
for (var/dir in cardinal)
|
||||
if(locate(/obj/lattice, get_step(src, dir)))
|
||||
@@ -590,6 +605,7 @@
|
||||
|
||||
if(!(overlays))
|
||||
icon_state = "latticefull"
|
||||
*/
|
||||
|
||||
/obj/list_container
|
||||
name = "list container"
|
||||
|
||||
Reference in New Issue
Block a user