mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #7016 from VOREStation/aro-moreicon
Further make shuttle corners look better
This commit is contained in:
@@ -123,12 +123,19 @@
|
|||||||
|
|
||||||
//Well if this isn't our first rodeo, we know EXACTLY what we landed on, and it looks like this.
|
//Well if this isn't our first rodeo, we know EXACTLY what we landed on, and it looks like this.
|
||||||
if(landed_holder && !interior_corner)
|
if(landed_holder && !interior_corner)
|
||||||
var/mutable_appearance/landed_on = new(landed_holder)
|
//Space gets special treatment
|
||||||
landed_on.layer = FLOAT_LAYER //Not turf
|
if(ispath(landed_holder.turf_type, /turf/space))
|
||||||
landed_on.plane = FLOAT_PLANE //Not turf
|
var/image/spaceimage = image(landed_holder.icon, landed_holder.icon_state)
|
||||||
us.underlays = list(landed_on)
|
spaceimage.plane = SPACE_PLANE
|
||||||
appearance = us
|
underlays = list(spaceimage)
|
||||||
update_breaklights()
|
else
|
||||||
|
var/mutable_appearance/landed_on = new(landed_holder)
|
||||||
|
landed_on.layer = FLOAT_LAYER //Not turf
|
||||||
|
landed_on.plane = FLOAT_PLANE //Not turf
|
||||||
|
us.underlays = list(landed_on)
|
||||||
|
appearance = us
|
||||||
|
|
||||||
|
spawn update_breaklights() //So that we update the breaklight overlays only after turfs are connected
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!under)
|
if(!under)
|
||||||
@@ -171,7 +178,7 @@
|
|||||||
|
|
||||||
appearance = us
|
appearance = us
|
||||||
|
|
||||||
update_breaklights()
|
spawn update_breaklights() //So that we update the breaklight overlays only after turfs are connected
|
||||||
|
|
||||||
return under
|
return under
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user