Icon smoothing subsystem update (#17383)

* sfasdf

* sfsaf

* sadfas

* sdfasdf
This commit is contained in:
Fluffy
2023-09-27 10:23:15 +00:00
committed by GitHub
parent 5623822d0d
commit 870f97c1c7
34 changed files with 370 additions and 175 deletions
+4 -4
View File
@@ -5,7 +5,7 @@
icon = 'icons/turf/smooth/lava.dmi'
icon_state = "smooth"
gender = PLURAL
smooth = SMOOTH_TRUE | SMOOTH_BORDER
smoothing_flags = SMOOTH_TRUE | SMOOTH_BORDER
light_color = LIGHT_COLOR_LAVA
light_range = 2
canSmoothWith = list(
@@ -61,7 +61,7 @@
base_icon = 'icons/turf/basalt.dmi'
base_icon_state = "basalt"
light_color = LIGHT_COLOR_LAVA
smooth = SMOOTH_FALSE
smoothing_flags = SMOOTH_FALSE
canSmoothWith = null
openspace_override_type = /turf/simulated/open/chasm/airless
@@ -78,7 +78,7 @@
base_icon = 'icons/turf/basalt.dmi'
base_icon_state = "basalt"
light_color = LIGHT_COLOR_LAVA
smooth = SMOOTH_FALSE
smoothing_flags = SMOOTH_FALSE
canSmoothWith = null
openspace_override_type = /turf/simulated/open/chasm/airless
@@ -115,7 +115,7 @@
name = "ash"
icon_state = "ash"
desc = "A fine grey ash. Looks pretty tightly packed."
smooth = SMOOTH_MORE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
smoothing_flags = SMOOTH_MORE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
base_icon = 'icons/turf/smooth/ash.dmi'
base_icon_state = "ash"
footstep_sound = /singleton/sound_category/sand_footstep
+7 -7
View File
@@ -7,7 +7,7 @@
density = TRUE
gender = PLURAL
opacity = TRUE
smooth = SMOOTH_TRUE
smoothing_flags = SMOOTH_TRUE
color = "#6e632f"
/turf/unsimulated/mineral/konyang
@@ -30,7 +30,7 @@ var/list/mineral_can_smooth_with = list(
layer = ON_TURF_LAYER
// canSmoothWith is set in Initialize().
smooth = SMOOTH_MORE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
smoothing_flags = SMOOTH_MORE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
smoothing_hints = SMOOTHHINT_CUT_F | SMOOTHHINT_ONLY_MATCH_TURF | SMOOTHHINT_TARGETS_NOT_UNIQUE
initial_gas = null
@@ -82,7 +82,7 @@ var/list/mineral_can_smooth_with = list(
has_opaque_atom = TRUE
if(smooth)
if(smoothing_flags)
canSmoothWith = mineral_can_smooth_with
pixel_x = -4
pixel_y = -4
@@ -178,7 +178,7 @@ var/list/mineral_can_smooth_with = list(
/turf/unsimulated/mineral,
/turf/unsimulated/mineral/asteroid
)
smooth = SMOOTH_MORE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
smoothing_flags = SMOOTH_MORE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
smoothing_hints = SMOOTHHINT_CUT_F | SMOOTHHINT_ONLY_MATCH_TURF | SMOOTHHINT_TARGETS_NOT_UNIQUE
/turf/unsimulated/mineral/asteroid/Initialize(mapload)
@@ -202,7 +202,7 @@ var/list/mineral_can_smooth_with = list(
has_opaque_atom = TRUE
if(smooth)
if(smoothing_flags)
canSmoothWith = asteroid_can_smooth_with
pixel_x = -4
pixel_y = -4
@@ -626,7 +626,7 @@ var/list/mineral_can_smooth_with = list(
icon = 'icons/turf/map_placeholders.dmi'
icon_state = ""
desc = "An exposed developer texture. Someone wasn't paying attention."
smooth = SMOOTH_FALSE
smoothing_flags = SMOOTH_FALSE
smoothing_hints = SMOOTHHINT_CUT_F | SMOOTHHINT_ONLY_MATCH_TURF | SMOOTHHINT_TARGETS_NOT_UNIQUE
gender = PLURAL
base_icon = 'icons/turf/map_placeholders.dmi'
@@ -673,7 +673,7 @@ var/list/asteroid_floor_smooth = list(
if(mapload && permit_ao)
queue_ao()
if(smooth)
if(smoothing_flags)
canSmoothWith = asteroid_floor_smooth
pixel_x = -4
pixel_y = -4