rt_medieval wall smoothing (#7251)

This commit is contained in:
silicons
2025-07-19 10:48:03 -04:00
committed by GitHub
parent b5871ca232
commit 011e27a2d7
35 changed files with 127 additions and 15 deletions

View File

@@ -12,6 +12,10 @@
abstract_type = /turf/simulated/wall/rt_medieval
integrity_flags = INTEGRITY_INDESTRUCTIBLE
material_system = FALSE
base_icon_state = "wall"
icon_state = "wall-0"
// needed due to base wall being steel :/
color = null
// TODO: destructible sprites, consturction, shift these slowly into
// materials system. wall themes/styles?
@@ -21,46 +25,38 @@
name = "archaic terrain wall"
desc = "You don't how this was made, but it doesn't look very welcoming."
icon = 'icons/turf/walls/rt_medieval/boss.dmi'
icon_state = "boss"
/turf/simulated/wall/rt_medieval/brick
name = "archaic brick wall"
desc = "An archaic wall made from brick. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/brick.dmi'
icon_state = "brick"
/turf/simulated/wall/rt_medieval/stone
name = "archaic stone wall"
desc = "An archaic wall made from stone. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/stone.dmi'
icon_state = "stone"
/turf/simulated/wall/rt_medieval/stone/brick
name = "archaic stone brick wall"
desc = "An archaic wall made from stone brick. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/stone/brick.dmi'
icon_state = "stone_brick"
/turf/simulated/wall/rt_medieval/stone/craft
name = "archaic craft stone wall"
desc = "An archaic wall made from textured stone. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/stone/craft.dmi'
icon_state = "stone_craft"
/turf/simulated/wall/rt_medieval/stone/moss_red
name = "archaic mossy stone wall"
desc = "An archaic wall made from stone. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/stone/moss_red.dmi'
icon_state = "stone_moss_red"
/turf/simulated/wall/rt_medieval/stone/moss_green
name = "archaic mossy stone wall"
desc = "An archaic wall made from stone. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/stone/moss_green.dmi'
/turf/simulated/wall/rt_medieval/stone/moss_blue
name = "archaic mossy stone wall"
desc = "An archaic wall made from stone. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/stone/moss_blue.dmi'
icon_state = "stone_moss_blue"
/turf/simulated/wall/rt_medieval/wood
name = "archaic wooden wall"
desc = "An archaic wall made from wood. It looks sturdy."
icon = 'icons/turf/walls/rt_medieval/wood.dmi'
icon_state = "wood"

View File

@@ -3,6 +3,8 @@
* Surely, *surely*, such a nice, amazing thing wouldn't be entirely shitcode.
* Right?
*
* TODO: /turf/simulated/wall/material; do not have steel defines on base.
*
* ## Material System
*
* By default, walls are made out of /datum/material's.

View File

@@ -0,0 +1,3 @@
# Icon cutter templates
Templates for the automated icon cutter.

View File

@@ -0,0 +1,3 @@
# Implementation Templates
Organized templates for Citadel RP's features.

View File

@@ -0,0 +1,14 @@
template = "impl/wall_default.toml"
output_name = "wall"
smooth_diagonally = false
[positions]
convex = 0
horizontal = 1
vertical = 2
concave = 3
[cut_pos]
x = 16
y = 16

View File

@@ -0,0 +1,14 @@
mode = "BitmaskSlice"
produce_dirs = false
[icon_size]
x = 32
y = 32
[output_icon_pos]
x = 0
y = 0
[output_icon_size]
x = 32
y = 32

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 0
vertical = 1
horizontal = 2
concave = 3
flat = 4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 0
vertical = 1
horizontal = 2
flat = 3
concave = 4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 931 B

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 1
vertical = 4
horizontal = 0
concave = 3
flat = 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 0
vertical = 1
horizontal = 2
concave = 3
flat = 4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 992 B

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 0
vertical = 1
horizontal = 2
concave = 3
flat = 4

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 0
vertical = 1
horizontal = 2
concave = 3
flat = 4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 0
vertical = 1
horizontal = 2
concave = 3
flat = 4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,10 @@
template = "impl/wall/rt_medieval.toml"
smooth_diagonally = true
[positions]
convex = 0
vertical = 1
horizontal = 2
concave = 3
flat = 4

View File

@@ -141,7 +141,7 @@ export const IconCutterTarget = new Juke.Target({
const standard_inputs = [
`icons/**/*.png.toml`,
`icons/**/*.dmi.toml`,
`cutter_templates/**/*.toml`,
`icon_cutter_templates/**/*.toml`,
cutter_path,
];
// Alright we're gonna search out any existing toml files and convert
@@ -169,7 +169,7 @@ export const IconCutterTarget = new Juke.Target({
await Juke.exec(cutter_path, [
"--dont-wait",
"--templates",
"cutter_templates",
"icon_cutter_templates",
"icons",
]);
},