From 3a699c696b65389764ae6c035b1bab313cf92ff2 Mon Sep 17 00:00:00 2001 From: Aylong <69762909+Aylong220@users.noreply.github.com> Date: Mon, 9 Oct 2023 00:00:21 +0300 Subject: [PATCH] Fix: Grass opacity fix (#379) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Что этот PR делает Трава теперь не мешает шмалять в гейте Gate Lizard ## Почему это хорошо для игры Странный вопрос ## Изображения изменений Код ## Тестирование Да ## Changelog :cl: fix: Трава теперь не мешает стрелять в гейте Gate Lizard. /:cl: --- modular_ss220/maps220/code/floors.dm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modular_ss220/maps220/code/floors.dm b/modular_ss220/maps220/code/floors.dm index 3d6cce39dbe9..178ea0f26f90 100644 --- a/modular_ss220/maps220/code/floors.dm +++ b/modular_ss220/maps220/code/floors.dm @@ -35,11 +35,11 @@ icon = 'icons/turf/floors/grass.dmi' icon_state = "grass" base_icon_state = "grass" + baseturf = /turf/simulated/floor/indestructible/grass smoothing_flags = SMOOTH_BITMASK smoothing_groups = list(SMOOTH_GROUP_TURF, SMOOTH_GROUP_GRASS) canSmoothWith = list(SMOOTH_GROUP_GRASS, SMOOTH_GROUP_JUNGLE_GRASS) layer = ABOVE_OPEN_TURF_LAYER - mouse_opacity = MOUSE_OPACITY_TRANSPARENT footstep = FOOTSTEP_GRASS barefootstep = FOOTSTEP_GRASS clawfootstep = FOOTSTEP_GRASS @@ -51,15 +51,26 @@ icon = 'icons/turf/floors/junglegrass.dmi' icon_state = "junglegrass" base_icon_state = "junglegrass" + baseturf = /turf/simulated/floor/indestructible/grass/jungle smoothing_groups = list(SMOOTH_GROUP_TURF, SMOOTH_GROUP_GRASS, SMOOTH_GROUP_JUNGLE_GRASS) /turf/simulated/floor/indestructible/grass/no_creep + baseturf = /turf/simulated/floor/indestructible/grass/no_creep smoothing_flags = null smoothing_groups = null canSmoothWith = null layer = GRASS_UNDER_LAYER transform = null +/turf/simulated/floor/indestructible/grass/remove_plating(mob/user) + return + +/turf/simulated/floor/indestructible/grass/crowbar_act(mob/user, obj/item/I) + return + +/turf/simulated/floor/indestructible/grass/try_replace_tile(obj/item/stack/tile/T, mob/user, params) + return + // Shuttle /turf/simulated/floor/indestructible/transparent_floor icon = 'modular_ss220/maps220/icons/shuttle.dmi'