Lavaland: Add "official" Boss Arena to lavaland (#23251)

* ah fuck there we go

* Added new wall type, so its destroyable

* Update lavaland file with new wall and helper.

* Add new rock type.

* Add missing rock

* Added new rock to surround arena:
- Its now for visual enchancement just to make it look "older" than it is.

* Added more no_lava helper outside outpost

* changed walls to be destroyable by world gen.
This commit is contained in:
Venuska1117
2023-12-12 21:21:36 +01:00
committed by GitHub
parent c94325be4d
commit a0f0bf3110
5 changed files with 4559 additions and 3890 deletions
File diff suppressed because it is too large Load Diff
+2
View File
@@ -86,6 +86,8 @@
#define COLOR_DIAMOND "#d8d4ea"
#define COLOR_ANCIENT_ROCK "#575757"
#define COLOR_COLD_ANCIENT_ROCK "#575764"
#define COLOR_HARD_ROCK "#363636"
#define COLOR_FLOOR_HARD_ROCK "#bdbdbd"
#define COLOR_HEALING_GREEN "#375637"
//Color defines used by the assembly detailer.
@@ -151,6 +151,14 @@
planetary_atmos = TRUE
baseturf = /turf/simulated/floor/plating/lava/smooth/mapping_lava
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface_hard
oxygen = 14
nitrogen = 23
temperature = 300
planetary_atmos = TRUE
color = COLOR_FLOOR_HARD_ROCK
baseturf = /turf/simulated/floor/plating/lava/smooth/lava_land_surface
/turf/simulated/floor/plating/asteroid/airless
temperature = TCMB
oxygen = 0
+26
View File
@@ -235,6 +235,32 @@
return
return ..()
/turf/simulated/mineral/ancient/lava_land_surface_hard
name = "hardened volcanic rock"
desc = "A dense volcanic rock that appears to be resistant to everything except diamond and sonic tools!"
mine_time = 15 SECONDS
color = COLOR_HARD_ROCK
oxygen = 14
nitrogen = 23
temperature = 300
turf_type = /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface_hard
var/static/list/allowed_picks_typecache
/turf/simulated/mineral/ancient/lava_land_surface_hard/Initialize(mapload)
. = ..()
allowed_picks_typecache = typecacheof(list(
/obj/item/pickaxe/drill/jackhammer,
/obj/item/pickaxe/diamond,
/obj/item/pickaxe/drill/cyborg/diamond,
/obj/item/pickaxe/drill/diamonddrill,
))
/turf/simulated/mineral/ancient/lava_land_surface_hard/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/pickaxe) && !(is_type_in_typecache(I, allowed_picks_typecache)))
to_chat(user, "<span class='notice'>Only a diamond tools or a sonic jackhammer can break this rock.</span>")
return
return ..()
/turf/simulated/mineral/random/high_chance
color = COLOR_YELLOW
mineralChance = 25
+18
View File
@@ -91,3 +91,21 @@
if(heated)
to_chat(M.occupant, "<span class='userdanger'>The wall's intense heat completely reflects your [M.name]'s attack!</span>")
M.take_damage(20, BURN)
/turf/simulated/wall/boss
name = "ancient wall"
desc = "A thick metal wall, it look very old."
icon = 'icons/turf/walls/boss_wall.dmi'
icon_state = "boss_wall-0"
base_icon_state = "boss_wall"
explosion_block = 2
damage_cap = 600
hardness = 10
heat_resistance = 20000
can_dismantle_with_welder = FALSE
smoothing_flags = SMOOTH_BITMASK
smoothing_groups = list(SMOOTH_GROUP_WALLS, SMOOTH_GROUP_BOSS_WALLS)
canSmoothWith = list(SMOOTH_GROUP_BOSS_WALLS)
sheet_type = /obj/item/stack/sheet/runed_metal
sheet_amount = 1
girder_type = /obj/structure/girder/cult