Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: Line Decals #305

Merged
merged 3 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions modular_bandastation/aesthetics/_aesthetics.dme
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
// Camera
#include "cameras/code/cameras.dm"

// Decals
#include "decals/code/floor_decals.dm"

// Disposal
#include "disposal/code/disposal.dm"

Expand Down
124 changes: 124 additions & 0 deletions modular_bandastation/aesthetics/decals/code/floor_decals.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
/obj/effect/turf_decal/line
name = "line decal"
icon = 'modular_bandastation/aesthetics/decals/icons/floor_decals.dmi'
icon_state = "line_corner"
layer = TURF_PLATING_DECAL_LAYER
alpha = 110

/// Automatically generates all subtypes for a decal with the given path.
#define LINE_DECAL_SUBTYPE_HELPER(path)\
##path/line {\
icon_state = "line";\
}\
##path/line/contrasted {\
icon_state = "line_contrasted";\
}\
##path/line/stripes {\
icon_state = "line_stripes";\
}\
##path/line/stripes/contrasted {\
icon_state = "line_stripes_contrasted";\
}\
##path/anticorner {\
icon_state = "line_anticorner";\
}\
##path/anticorner/contrasted {\
icon_state = "line_anticorner_contrasted";\
}\
##path/anticorner/stripes {\
icon_state = "line_anticorner_stripes";\
}\
##path/anticorner/stripes/contrasted {\
icon_state = "line_anticorner_stripes_contrasted";\
}\
##path/opposingcorners {\
icon_state = "line_opposing_corners";\
}\

/// Blue lines
/obj/effect/turf_decal/line/blue
name = "blue line decal"
color = "#52B4E9"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/blue)

/// Dark blue lines
/obj/effect/turf_decal/line/dark_blue
name = "dark blue line decal"
color = "#486091"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/dark_blue)

/// Green lines
/obj/effect/turf_decal/line/green
name = "green line decal"
color = "#9FED58"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/green)

/// Dark green lines
/obj/effect/turf_decal/line/dark_green
name = "dark green line decal"
color = "#439C1E"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/dark_green)

/// Yellow lines
/obj/effect/turf_decal/line/yellow
name = "yellow line decal"
color = "#EFB341"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/yellow)

/// Red lines
/obj/effect/turf_decal/line/red
name = "red line decal"
color = "#DE3A3A"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/red)

/// Dark red lines
/obj/effect/turf_decal/line/dark_red
name = "dark red line decal"
color = "#B11111"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/dark_red)

/// Bar lines
/obj/effect/turf_decal/line/bar
name = "bar line decal"
color = "#791500"
alpha = 130

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/bar)

/// Purple lines
/obj/effect/turf_decal/line/purple
name = "purple line decal"
color = "#D381C9"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/purple)

/// Brown lines
/obj/effect/turf_decal/line/brown
name = "brown line decal"
color = "#A46106"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/brown)

/// Neutral lines
/obj/effect/turf_decal/line/neutral
name = "neutral line decal"
color = "#D4D4D4"
alpha = 50

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/neutral)

/// Dark lines
/obj/effect/turf_decal/line/dark
name = "dark line decal"
color = "#0e0f0f"

LINE_DECAL_SUBTYPE_HELPER(/obj/effect/turf_decal/line/dark)

#undef LINE_DECAL_SUBTYPE_HELPER
Binary file not shown.
Loading