mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-10 03:55:50 +00:00
lets not runtime thanks
This commit is contained in:
@@ -91,7 +91,7 @@ turf/simulated/mineral/floor/light_corner
|
|||||||
update_general()
|
update_general()
|
||||||
|
|
||||||
/turf/simulated/mineral/proc/make_floor_lavaland() // so when a turf is mined in lavaland, it places the correct one
|
/turf/simulated/mineral/proc/make_floor_lavaland() // so when a turf is mined in lavaland, it places the correct one
|
||||||
src.ChangeTurf(/turf/simulated/floor/outdoors/lavaland)
|
src.ChangeTurf(get_base_turf_by_area(src))
|
||||||
|
|
||||||
/turf/simulated/mineral/proc/make_wall()
|
/turf/simulated/mineral/proc/make_wall()
|
||||||
if(density && opacity)
|
if(density && opacity)
|
||||||
@@ -577,9 +577,8 @@ turf/simulated/mineral/floor/light_corner
|
|||||||
visible_message("<span class='notice'>An old dusty crate was buried within!</span>")
|
visible_message("<span class='notice'>An old dusty crate was buried within!</span>")
|
||||||
new /obj/structure/closet/crate/secure/loot(src)
|
new /obj/structure/closet/crate/secure/loot(src)
|
||||||
|
|
||||||
var/turf/T = src.loc
|
var/the_z = get_z(src)
|
||||||
var/area/A = get_area(T)
|
if(the_z == 20)
|
||||||
if(istype(A, /area/triumph_away/lavaland/))
|
|
||||||
src.make_floor_lavaland()
|
src.make_floor_lavaland()
|
||||||
else
|
else
|
||||||
make_floor()
|
make_floor()
|
||||||
|
|||||||
Reference in New Issue
Block a user