Yet Another Asteroid-Related Tile Update (read: asteroid tile variantizing) (#19237)

* makes asteroid tiles and snow use weighted variantize, adds snow plating

* GO FUCK YOURSELF!!!!

* hello? boner department, id like to order a DINNER. make it MAMA LUIGI

* test fix. hopefully. boner. boobies.

* did he know? (no)
This commit is contained in:
Flareguy
2023-08-24 22:40:04 -05:00
committed by GitHub
parent b874c9da08
commit 370cbfbbdd
34 changed files with 152 additions and 123 deletions

View File

@@ -71,6 +71,7 @@ tiles-reinforced-glass-floor = reinforced glass floor
tiles-green-circuit-floor = green circuit floor tiles-green-circuit-floor = green circuit floor
tiles-blue-circuit-floor = blue circuit floor tiles-blue-circuit-floor = blue circuit floor
tiles-snow = snow tiles-snow = snow
tiles-snow-plating = snowed plating
tiles-grass-floor = grass floor tiles-grass-floor = grass floor
tiles-planet-grass-floor = grass floor tiles-planet-grass-floor = grass floor
tiles-jungle-grass-floor = jungle grass floor tiles-jungle-grass-floor = jungle grass floor
@@ -78,15 +79,10 @@ tiles-dark-grass-floor = dark grass floor
tiles-light-grass-floor = light grass floor tiles-light-grass-floor = light grass floor
tiles-dirt-floor = dirt floor tiles-dirt-floor = dirt floor
tiles-asteroid-sand = asteroid sand tiles-asteroid-sand = asteroid sand
tiles-asteroid-sand-rocks = asteroid rocks tiles-asteroid-sand-dug = dug asteroid sand
tiles-asteroid-sand-pebbles = asteroid pebbles
tiles-asteroid-tile = asteroid tile tiles-asteroid-tile = asteroid tile
tiles-asteroid-plating = asteroid plating tiles-asteroid-plating = asteroid plating
tiles-asteroid-coarse-sand = asteroid coarse sand
tiles-asteroid-dug-coarse-sand = asteroid dug coarse sand
tiles-asteroid-ironsand = asteroid ironsand tiles-asteroid-ironsand = asteroid ironsand
tiles-asteroid-ironsand-pebbles = asteroid ironsand pebbles
tiles-asteroid-ironsand-rock = asteroid ironsand rock
tiles-cave = cave tiles-cave = cave
tiles-cave-drought = cave drought tiles-cave-drought = cave drought
tiles-flesh-floor = flesh floor tiles-flesh-floor = flesh floor

View File

@@ -7,13 +7,13 @@
- type: MapGrid - type: MapGrid
- type: BlobFloorPlanBuilder - type: BlobFloorPlanBuilder
floorTileset: floorTileset:
- FloorAsteroidCoarseSand0 - FloorAsteroidSand
blobDrawProb: 0.5 blobDrawProb: 0.5
radius: 6 radius: 6
floorPlacements: 16 floorPlacements: 16
- type: SimpleFloorPlanPopulator - type: SimpleFloorPlanPopulator
entries: entries:
FloorAsteroidCoarseSand0: FloorAsteroidSand:
- id: WallRock - id: WallRock
prob: 0.5 prob: 0.5
orGroup: rock orGroup: rock

View File

@@ -1146,13 +1146,26 @@
weather: true weather: true
# Asteroid # Asteroid
# TODO: Change the rock & pebbles into regular variants with a 20% chance to spawn (like SS13.) Give ironsand variants from /vg/station.
# TODO: Probably remove asteroid coarse sand if it isn't resprited by the time tile migrations exist. It was likely made to co-exist with the CEV-Eris style rocks and doesn't look too good nowadays.
- type: tile - type: tile
id: FloorAsteroidSand id: FloorAsteroidSand
name: tiles-asteroid-sand name: tiles-asteroid-sand
sprite: /Textures/Tiles/Asteroid/asteroid.png sprite: /Textures/Tiles/Asteroid/asteroid.png
variants: 13
placementVariants:
- 0.8
- 0.0166 #Should be roughly 20%.... I think??? I don't know dude, I'm just a YAML monkey.
- 0.0166
- 0.0166
- 0.0166
- 0.0166
- 0.0166
- 0.0166
- 0.0166
- 0.0166
- 0.0166
- 0.0116
- 0.0116
baseTurf: Space baseTurf: Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
@@ -1162,11 +1175,9 @@
weather: true weather: true
- type: tile - type: tile
id: FloorAsteroidSandRocks id: FloorAsteroidSandDug
name: tiles-asteroid-sand-rocks name: tiles-asteroid-sand
sprite: /Textures/Tiles/Asteroid/asteroid_rocks.png sprite: /Textures/Tiles/Asteroid/asteroid_dug.png
variants: 8
placementVariants: [ 0, 1, 2, 3, 4, 5, 6, 7 ]
baseTurf: Space baseTurf: Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
@@ -1176,25 +1187,24 @@
weather: true weather: true
- type: tile - type: tile
id: FloorAsteroidSandRocksRed id: FloorAsteroidSandRed
name: tiles-asteroid-sand-rocks name: tiles-asteroid-sand
sprite: /Textures/Tiles/Asteroid/asteroid_rocks_red.png sprite: /Textures/Tiles/Asteroid/asteroid_red.png
variants: 8 variants: 13
placementVariants: [ 0, 1, 2, 3, 4, 5, 6, 7 ] placementVariants:
baseTurf: Space - 0.8
isSubfloor: true - 0.0166
canCrowbar: false - 0.0166
footstepSounds: - 0.0166
collection: FootstepAsteroid - 0.0166
heatCapacity: 10000 - 0.0166
weather: true - 0.0166
- 0.0166
- type: tile - 0.0166
id: FloorAsteroidSandPebbles - 0.0166
name: tiles-asteroid-sand-pebbles - 0.0166
sprite: /Textures/Tiles/Asteroid/asteroid_pebbles.png - 0.0116
variants: 4 - 0.0116
placementVariants: [ 0, 1, 2, 3 ]
baseTurf: Space baseTurf: Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
@@ -1216,38 +1226,26 @@
weather: true weather: true
- type: tile - type: tile
id: FloorAsteroidCoarseSand0 id: FloorAsteroidIronsand
name: tiles-asteroid-coarse-sand name: tiles-asteroid-ironsand
sprite: /Textures/Tiles/Asteroid/asteroid_coarse_sand.png sprite: /Textures/Tiles/Asteroid/ironsand.png
variants: 3 variants: 15
placementVariants: placementVariants:
- 1.0 - 1.0
- 1.0 - 1.0
- 1.0 - 1.0
baseTurf: Space - 1.0
isSubfloor: true - 1.0
canCrowbar: false - 1.0
footstepSounds: - 1.0
collection: FootstepAsteroid - 1.0
heatCapacity: 10000 - 1.0
weather: true - 1.0
- 1.0
- type: tileAlias - 1.0
id: FloorBasaslt - 1.0
target: FloorBasalt - 1.0
- 1.0
- type: tileAlias
id: FloorAsteroidCoarseSand1
target: FloorAsteroidCoarseSand0
- type: tileAlias
id: FloorAsteroidCoarseSand2
target: FloorAsteroidCoarseSand0
- type: tile
id: FloorAsteroidCoarseSandDug
name: tiles-asteroid-dug-coarse-sand
sprite: /Textures/Tiles/Asteroid/asteroid_coarse_sand_dug.png
baseTurf: Space baseTurf: Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
@@ -1257,45 +1255,21 @@
weather: true weather: true
- type: tile - type: tile
id: FloorAsteroidIronsand1 id: FloorAsteroidSandUnvariantized
name: tiles-asteroid-sand
sprite: /Textures/Tiles/Asteroid/asteroid0.png
baseTurf: Space
isSubfloor: true
canCrowbar: false
footstepSounds:
collection: FootstepAsteroid
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsandUnvariantized
name: tiles-asteroid-ironsand name: tiles-asteroid-ironsand
sprite: /Textures/Tiles/ironsand1.png sprite: /Textures/Tiles/Asteroid/ironsand0.png
baseTurf: Space
isSubfloor: true
canCrowbar: false
footstepSounds:
collection: FootstepAsteroid
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsand2
name: tiles-asteroid-ironsand-pebbles
sprite: /Textures/Tiles/ironsand2.png
baseTurf: Space
isSubfloor: true
canCrowbar: false
footstepSounds:
collection: FootstepAsteroid
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsand3
name: tiles-asteroid-ironsand-pebbles
sprite: /Textures/Tiles/ironsand3.png
baseTurf: Space
isSubfloor: true
canCrowbar: false
footstepSounds:
collection: FootstepAsteroid
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsand4
name: tiles-asteroid-ironsand-rock
sprite: /Textures/Tiles/ironsand4.png
baseTurf: Space baseTurf: Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
@@ -1473,7 +1447,7 @@
baseTurf: Plating baseTurf: Plating
isSubfloor: false isSubfloor: false
canCrowbar: false canCrowbar: false
canAxe: false #You can't RCD these in SS13 apparently, so this is probably the next best thing canAxe: false
footstepSounds: footstepSounds:
collection: FootstepHull collection: FootstepHull
itemDrop: FloorTileItemSteel itemDrop: FloorTileItemSteel

View File

@@ -101,19 +101,19 @@
sprite: /Textures/Tiles/Planet/Snow/snow.png sprite: /Textures/Tiles/Planet/Snow/snow.png
variants: 13 variants: 13
placementVariants: placementVariants:
- 1.0 - 0.8
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0166
- 1.0 - 0.0116
- 1.0 - 0.0116
#cornerSprites: #cornerSprites:
# - /Textures/Tiles/Planet/Snow/single_edge.png # - /Textures/Tiles/Planet/Snow/single_edge.png
#cardinalSprites: #cardinalSprites:

View File

@@ -22,6 +22,18 @@
friction: 0.3 friction: 0.3
heatCapacity: 10000 heatCapacity: 10000
- type: tile
id: PlatingSnow
name: tiles-snow-plating
sprite: /Textures/Tiles/snow_plating.png #Not in the snow planet RSI because it doesn't have any metadata. Should probably be moved to its own folder later.
baseTurf: Lattice
isSubfloor: true
canAxe: true
footstepSounds:
collection: FootstepPlating
friction: 0.15 #a little less then actual snow
heatCapacity: 10000
- type: tile - type: tile
id: Lattice id: Lattice
name: tiles-lattice name: tiles-lattice

View File

@@ -0,0 +1,50 @@
- type: tileAlias
id: FloorBasaslt
target: FloorBasalt
- type: tileAlias
id: FloorAsteroidCoarseSand1
target: FloorAsteroidCoarseSand0
- type: tileAlias
id: FloorAsteroidCoarseSand2
target: FloorAsteroidCoarseSand0
# 2023-08-21
# Asteroid coarse sand has been nuked since it was made to fit in with the old CEV-Eris style rocks. This tile alias is inevitably not enough to fix every instance of it appearing since the tile is so common, but it's the only reasonable way forward since it's not the default anymore.
- type: tileAlias
id: FloorAsteroidSandRocks
target: FloorAsteroidSand
- type: tileAlias
id: FloorAsteroidSandRocksRed
target: FloorAsteroidSandRed
- type: tileAlias
id: FloorAsteroidSandPebbles
target: FloorAsteroidSand
- type: tileAlias
id: FloorAsteroidIronsand1
target: FloorAsteroidIronsand
- type: tileAlias
id: FloorAsteroidIronsand2
target: FloorAsteroidIronsand
- type: tileAlias
id: FloorAsteroidIronsand3
target: FloorAsteroidIronsand
- type: tileAlias
id: FloorAsteroidIronsand4
target: FloorAsteroidIronsand
- type: tileAlias
id: FloorAsteroidCoarseSand0
target: FloorAsteroidSand
- type: tileAlias
id: FloorAsteroidCoarseSandDug
target: FloorAsteroidSandDug

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 442 B

View File

@@ -79,15 +79,12 @@
{ {
"name": "snow12" "name": "snow12"
}, },
{
"name": "snowplating"
},
{ {
"name": "permafrost" "name": "permafrost"
}, },
{ {
"name": "edge0", "name": "edge0",
"directions": 4 "directions": 4
}, },
{ {
"name": "edge1", "name": "edge1",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -6,14 +6,14 @@
copyright: "CEV-Eris commit 28e589f0ff72a009adf17db767e90be39054f0f2" copyright: "CEV-Eris commit 28e589f0ff72a009adf17db767e90be39054f0f2"
source: "https://github.com/discordia-space/CEV-Eris/" source: "https://github.com/discordia-space/CEV-Eris/"
- files: [ "asteroid_rocks_red.png", "asteroid_tile.png", "elevator_shaft.png", "freezer.png", "green_circuit.png", "lino.png", "mono.png", "rock_vault.png", "showroom.png"] - files: [ "asteroid_red.png", "asteroid_tile.png", "elevator_shaft.png", "freezer.png", "green_circuit.png", "lino.png", "mono.png", "rock_vault.png", "showroom.png"]
license: "CC-BY-SA-3.0" license: "CC-BY-SA-3.0"
copyright: "vgstation13 at roughly commit e4d3ea7f69d21c3667be12b114fa935c4640cb05, asteroid_rocks_red and asteroid_tile taken from commit /vg/station at commit 02b9f6894af4419c9f7e699a22c402b086d8067e." copyright: "vgstation13 at roughly commit e4d3ea7f69d21c3667be12b114fa935c4640cb05, asteroid_red and asteroid_tile taken from commit /vg/station at commit 02b9f6894af4419c9f7e699a22c402b086d8067e."
source: "https://github.com/vgstation-coders/vgstation13" source: "https://github.com/vgstation-coders/vgstation13"
- files: [ "asteroid.png", "asteroid0.png", "asteroid1.png", "asteroid2.png", "asteroid3.png", "asteroid4.png", "asteroid5.png", "asteroid6.png", "asteroid7.png", "asteroid8.png", "asteroid9.png", "asteroid10.png", "asteroid_rocks.png", "asteroid_pebbles.png"] - files: [ "asteroid.png", "asteroid_dug.png", "asteroid0.png"]
license: "CC-BY-SA-3.0" license: "CC-BY-SA-3.0"
copyright: "Taken from /tg/station at commit 6665eec76c98a4f3f89bebcd10b34b47dcc0b8ae, asteroid_rocks and asteroid_pebbles modified from asteroid tiles 0-10." copyright: "Taken from /tg/station at commit 6665eec76c98a4f3f89bebcd10b34b47dcc0b8ae."
source: "https://github.com/tgstation/tgstation/" source: "https://github.com/tgstation/tgstation/"
- files: ["blue_circuit.png", "cropped_parallax.png", "eighties.png", "gold.png", "grass.png", "ironsand1.png", "ironsand2.png", "ironsand3.png", "ironsand4.png", "junglegrass.png", "lattice.png", "plating.png", "reinforced.png", "silver.png", "snow.png", "wood.png"] - files: ["blue_circuit.png", "cropped_parallax.png", "eighties.png", "gold.png", "grass.png", "ironsand1.png", "ironsand2.png", "ironsand3.png", "ironsand4.png", "junglegrass.png", "lattice.png", "plating.png", "reinforced.png", "silver.png", "snow.png", "wood.png"]
@@ -26,7 +26,7 @@
copyright: "Modified from reinforced.png by github user @Flareguy" copyright: "Modified from reinforced.png by github user @Flareguy"
source: "https://github.com/space-wizards/space-station-14/pull/18676" source: "https://github.com/space-wizards/space-station-14/pull/18676"
- files: ["asteroid_plating"] - files: ["asteroid_plating.png, snow_plating.png"]
license: "CC-BY-SA-3.0" license: "CC-BY-SA-3.0"
copyright: "Modified from plating.png by github user @Flareguy" copyright: "Modified from plating.png by github user @Flareguy"
source: "https://github.com/space-wizards/space-station-14/" source: "https://github.com/space-wizards/space-station-14/"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B