Add map laceholder objects for mine turfs (#3828)

changes:

Mine turfs now use a 32x32 icon on the map to make them easier to map with. In-game behavior (should be) unchanged.
This commit is contained in:
Lohikar
2017-11-18 18:46:59 +02:00
committed by Erki
parent 58519daeba
commit f53c99bea4
2 changed files with 7 additions and 2 deletions
+7 -2
View File
@@ -8,8 +8,9 @@
/turf/simulated/mineral //wall piece
name = "rock"
icon = 'icons/turf/smooth/rock_wall.dmi' // Until we get sprites.
icon = 'icons/turf/map_placeholders.dmi'
icon_state = "rock"
var/icon/actual_icon = 'icons/turf/smooth/rock_wall.dmi'
layer = 2.01
smooth = SMOOTH_MORE | SMOOTH_BORDER
canSmoothWith = list(
@@ -44,6 +45,8 @@
if (initialized)
crash_with("Warning: [src]([type]) initialized multiple times!")
icon = actual_icon
initialized = TRUE
turfs += src
@@ -492,7 +495,7 @@
// This means you can put grass on the asteroid etc.
/turf/simulated/floor/asteroid
name = "sand"
icon = 'icons/turf/smooth/ash.dmi'
icon = 'icons/turf/map_placeholders.dmi'
icon_state = "ash"
smooth = SMOOTH_MORE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
canSmoothWith = list(
@@ -524,6 +527,8 @@
crash_with("Warning: [src]([type]) initialized multiple times!")
initialized = TRUE
icon = base_icon
turfs += src
if(dynamic_lighting)