mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Adds preset mineral walls for mappers. (#18958)
Icons for these would be helpful if anyone were to provide them, otherwise I'll have to shitsprite something up. --------- Co-authored-by: Mattia <liermattia@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ var/list/mineral_can_smooth_with = list(
|
||||
/turf/unsimulated/wall
|
||||
)
|
||||
|
||||
/turf/simulated/mineral //wall piece
|
||||
/turf/simulated/mineral
|
||||
name = "rock"
|
||||
icon = 'icons/turf/smooth/rock_dense.dmi'
|
||||
icon_state = "preview_wall"
|
||||
@@ -606,6 +606,61 @@ var/list/mineral_can_smooth_with = list(
|
||||
if(destination.CanZPass(H, UP))
|
||||
H.climb(UP, src, 20)
|
||||
|
||||
/** Preset mineral walls.
|
||||
* These are used to spawn specific types of mineral walls in the map.
|
||||
* Use one of the subtypes below or, in case a new ore is added but the preset isn't created, set preset_mineral_name to the ORE_X define.
|
||||
*/
|
||||
/turf/simulated/mineral/preset
|
||||
var/preset_mineral_name
|
||||
|
||||
/turf/simulated/mineral/preset/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
/turf/simulated/mineral/preset/LateInitialize()
|
||||
. = ..()
|
||||
change_mineral(preset_mineral_name, TRUE)
|
||||
|
||||
/turf/simulated/mineral/preset/phoron
|
||||
name = "phoron mineral wall"
|
||||
preset_mineral_name = ORE_PHORON
|
||||
|
||||
/turf/simulated/mineral/preset/coal
|
||||
name = "coal mineral wall"
|
||||
preset_mineral_name = ORE_COAL
|
||||
|
||||
/turf/simulated/mineral/preset/gold
|
||||
name = "gold mineral wall"
|
||||
preset_mineral_name = ORE_GOLD
|
||||
|
||||
/turf/simulated/mineral/preset/diamond
|
||||
name = "diamond mineral wall"
|
||||
preset_mineral_name = ORE_DIAMOND
|
||||
|
||||
/turf/simulated/mineral/preset/iron
|
||||
name = "iron mineral wall"
|
||||
preset_mineral_name = ORE_IRON
|
||||
|
||||
/turf/simulated/mineral/preset/platinum
|
||||
name = "platinum mineral wall"
|
||||
preset_mineral_name = ORE_PLATINUM
|
||||
|
||||
/turf/simulated/mineral/preset/bauxite
|
||||
name = "bauxite mineral wall"
|
||||
preset_mineral_name = ORE_BAUXITE
|
||||
|
||||
/turf/simulated/mineral/preset/galena
|
||||
name = "galena mineral wall"
|
||||
preset_mineral_name = ORE_GALENA
|
||||
|
||||
/turf/simulated/mineral/preset/uranium
|
||||
name = "uranium mineral wall"
|
||||
preset_mineral_name = ORE_URANIUM
|
||||
|
||||
/turf/simulated/mineral/preset/metallic_hydrogen
|
||||
name = "metallic_hydrogen mineral wall"
|
||||
preset_mineral_name = ORE_HYDROGEN
|
||||
|
||||
// Some extra types for the surface to keep things pretty.
|
||||
/turf/simulated/mineral/surface
|
||||
mined_turf = /turf/unsimulated/floor/asteroid/ash
|
||||
|
||||
Reference in New Issue
Block a user