Skip to content
Draft
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
Binary file added icons/obj/smooth_structures/apoc/beach.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions icons/obj/smooth_structures/apoc/beach.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
output_name = "beach"
template = "bitmask/diagonal_32x32.toml"

[icon_size]
x = 50
y = 50

[output_icon_size]
x = 50
y = 50

[cut_pos]
x = 25
y = 25
Binary file not shown.
Binary file added icons/obj/smooth_structures/apoc/cave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions icons/obj/smooth_structures/apoc/cave.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
output_name = "beach"
template = "bitmask/diagonal_32x32.toml"

[icon_size]
x = 50
y = 50

[output_icon_size]
x = 50
y = 50

[cut_pos]
x = 25
y = 25
Binary file added icons/obj/smooth_structures/apoc/dirt.dmi
Binary file not shown.
Binary file added icons/obj/smooth_structures/apoc/dirt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions icons/obj/smooth_structures/apoc/dirt.png.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
output_name = "dirt"
template = "bitmask/diagonal_32x32.toml"

[icon_size]
x = 50
y = 50

[output_icon_size]
x = 50
y = 50

[cut_pos]
x = 25
y = 25
Binary file added icons/obj/smooth_structures/apoc/grass.dmi
Binary file not shown.
Binary file added icons/obj/smooth_structures/apoc/grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions icons/obj/smooth_structures/apoc/grass.png.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
output_name = "grass"
template = "bitmask/diagonal_32x32.toml"

[icon_size]
x = 50
y = 50

[output_icon_size]
x = 50
y = 50

[cut_pos]
x = 25
y = 25
Binary file added icons/obj/smooth_structures/apoc/rough.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions icons/obj/smooth_structures/apoc/rough.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
output_name = "beach"
template = "bitmask/diagonal_32x32.toml"

[icon_size]
x = 50
y = 50

[output_icon_size]
x = 50
y = 50

[cut_pos]
x = 25
y = 25
22 changes: 11 additions & 11 deletions modular_zapoc/modules/carpets/code/carpets.dm
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
/turf/open/floor/carpet/apoc
icon = 'modular_zapoc/modules/carpets/icons/redgoldcarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/redgoldcarpet.dmi'
icon_state = "redgoldcarpet-255"
base_icon_state = "redgoldcarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET
canSmoothWith = SMOOTH_GROUP_CARPET

/turf/open/floor/carpet/apoc/redsilver
icon = 'modular_zapoc/modules/carpets/icons/redsilvercarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/redsilvercarpet.dmi'
icon_state = "redsilvercarpet-255"
base_icon_state = "redsilvercarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_RED
canSmoothWith = SMOOTH_GROUP_CARPET_RED

/turf/open/floor/carpet/apoc/bluegold
icon = 'modular_zapoc/modules/carpets/icons/bluegoldcarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/bluegoldcarpet.dmi'
icon_state = "bluegoldcarpet-255"
base_icon_state = "bluegoldcarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_ROYAL_BLUE
canSmoothWith = SMOOTH_GROUP_CARPET_ROYAL_BLUE

/turf/open/floor/carpet/apoc/bluesilver
icon = 'modular_zapoc/modules/carpets/icons/bluesilvercarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/bluesilvercarpet.dmi'
icon_state = "bluesilvercarpet-255"
base_icon_state = "bluesilvercarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_BLUE
canSmoothWith = SMOOTH_GROUP_CARPET_BLUE

/turf/open/floor/carpet/apoc/cyan
icon = 'modular_zapoc/modules/carpets/icons/cyancarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/cyancarpet.dmi'
icon_state = "cyancarpet-255"
base_icon_state = "cyancarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_CYAN
canSmoothWith = SMOOTH_GROUP_CARPET_CYAN

/turf/open/floor/carpet/apoc/blackgold
icon = 'modular_zapoc/modules/carpets/icons/blackgoldcarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/blackgoldcarpet.dmi'
icon_state = "blackgoldcarpet-255"
base_icon_state = "blackgoldcarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_ROYAL_BLACK
canSmoothWith = SMOOTH_GROUP_CARPET_ROYAL_BLACK

/turf/open/floor/carpet/apoc/blacksilver
icon = 'modular_zapoc/modules/carpets/icons/blacksilvercarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/blacksilvercarpet.dmi'
icon_state = "blacksilvercarpet-255"
base_icon_state = "blacksilvercarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_BLACK
canSmoothWith = SMOOTH_GROUP_CARPET_BLACK

/turf/open/floor/carpet/apoc/purplegold
icon = 'modular_zapoc/modules/carpets/icons/purplegoldcarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/purplegoldcarpet.dmi'
icon_state = "purplegoldcarpet-255"
base_icon_state = "purplegoldcarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_PURPLE
canSmoothWith = SMOOTH_GROUP_CARPET_PURPLE

/turf/open/floor/carpet/apoc/greengold
icon = 'modular_zapoc/modules/carpets/icons/greengoldcarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/greengoldcarpet.dmi'
icon_state = "greengoldcarpet-255"
base_icon_state = "greengoldcarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_GREEN
canSmoothWith = SMOOTH_GROUP_CARPET_GREEN

/turf/open/floor/carpet/apoc/orangesilver
icon = 'modular_zapoc/modules/carpets/icons/orangesilvercarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/orangesilvercarpet.dmi'
icon_state = "orangesilvercarpet-255"
base_icon_state = "orangesilvercarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_ORANGE
canSmoothWith = SMOOTH_GROUP_CARPET_ORANGE

/turf/open/floor/carpet/apoc/hotel
icon = 'modular_zapoc/modules/carpets/icons/orangehotelcarpet.dmi'
icon = 'icons/obj/smooth_structures/apoc/carpet/orangehotelcarpet.dmi'
icon_state = "orangehotelcarpet-255"
base_icon_state = "orangehotelcarpet"
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_CARPET_DONK
Expand Down
Binary file not shown.
46 changes: 46 additions & 0 deletions modular_zapoc/modules/floors/code/autocutting.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/turf/open/misc/grass
icon_state = "grass1"
icon = 'modular_zapoc/modules/floors/icons/tiles.dmi'
smooth_icon = 'icons/obj/smooth_structures/apoc/grass.dmi'

/turf/open/misc/dirt
icon = 'modular_zapoc/modules/floors/icons/tiles.dmi'
smoothing_flags = SMOOTH_BITMASK
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_FLOOR_GRASS
canSmoothWith = SMOOTH_GROUP_FLOOR_GRASS + SMOOTH_GROUP_CLOSED_TURFS
var/smooth_icon = 'icons/obj/smooth_structures/apoc/dirt.dmi'

/turf/open/misc/dirt/Initialize(mapload)
. = ..()
if(smoothing_flags)
var/matrix/translation = new
translation.Translate(LARGE_TURF_SMOOTHING_X_OFFSET, LARGE_TURF_SMOOTHING_Y_OFFSET)
transform = translation
icon = smooth_icon

/turf/open/misc/dirt/dark
smooth_icon = null

/turf/open/misc/dirt/jungle
smooth_icon = null

/*
/turf/open/misc/beach/vamp
base_icon_state = "beach"
icon = 'icons/obj/smooth_structures/apoc/beach.dmi'

smoothing_flags = SMOOTH_BITMASK
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_FLOOR_GRASS
canSmoothWith = SMOOTH_GROUP_FLOOR_GRASS + SMOOTH_GROUP_CLOSED_TURFS
smooth_broken = TRUE
smooth_burnt = TRUE
layer = HIGH_TURF_LAYER

/turf/open/misc/beach/vamp/Initialize(mapload)
. = ..()
if(smoothing_flags)
var/matrix/translation = new
translation.Translate(LARGE_TURF_SMOOTHING_X_OFFSET, LARGE_TURF_SMOOTHING_Y_OFFSET)
transform = translation
//icon = smooth_icon
*/
Binary file added modular_zapoc/modules/floors/icons/tiles.dmi
Binary file not shown.
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// DM Environment file for tgstation.dme.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\computers\code\app_types.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\computers\code\app.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\computers\code\computer.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\frenzy\code\frenzy.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\combat\code\blocking\blocking.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\combat\code\blocking\blocking_hud.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\combat\code\blocking\blocking_keybind.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\combat\code\face_target.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\vampire_the_masquerade\code\blood_sorcery\pyramid.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\vampire_the_masquerade\code\blood_sorcery\mysticism.dm.
// All manual changes should be made outside the BEGIN_ and END_ blocks.
// New source code should be placed in .dm files: choose File/New --> Code File.

Expand Down Expand Up @@ -7091,4 +7091,5 @@
#include "modular_darkpack\modules\z_travel\code\manhole.dm"
#include "modular_darkpack\modules\z_travel\code\transfer_point.dm"
#include "modular_zapoc\modules\carpets\code\carpets.dm"
#include "modular_zapoc\modules\floors\code\autocutting.dm"
// END_INCLUDE
Loading