Adds 2 new ruins, a space and lavaland relay (#29335)

* Adds a space and lavaland ruin

* random shelves

* oops

* and this one

* desc update
This commit is contained in:
Qwertytoforty
2025-05-22 10:08:42 -04:00
committed by GitHub
parent 88c949fe46
commit 9329d265ab
17 changed files with 658 additions and 2 deletions
@@ -198,3 +198,57 @@
icon = 'icons/effects/random_spawners.dmi'
icon_state = "fancy_table"
loot_type_path = /obj/structure/table/wood/fancy
/obj/effect/spawner/random/relay_beacon
name = "relay_beacon"
icon_state = "circuit_board"
loot = list(
/obj/machinery/bluespace_beacon = 4,
/obj/structure/broken_bluespace_beacon = 6,
)
/obj/effect/spawner/random/maybe_carp
name = "maybe carp"
icon = 'icons/effects/spawner_icons.dmi'
icon_state = "Carp"
spawn_loot_chance = 50
loot = list(
/mob/living/simple_animal/hostile/carp = 4,
/mob/living/simple_animal/hostile/carp/megacarp = 1
)
/obj/effect/spawner/random/rarely_meteor_strike
name = "rarely meteor strike"
icon_state = "meteor"
spawn_loot_chance = 6
loot = list(
/obj/effect/abstract/meteor_strike
)
/obj/effect/abstract/meteor_strike/Initialize(mapload)
. = ..()
explosion(loc, pick(0, 0, 1), rand(1, 3), rand(3, 6), 4, 0, 0, 5, cause = "A spaceruin suffered a meteor strike")
/obj/effect/spawner/random/random_pacman
name = "random pacman"
icon_state = "pacman"
loot = list(
/obj/machinery/power/port_gen/pacman = 17,
/obj/machinery/power/port_gen/pacman/super = 4,
/obj/machinery/power/port_gen/pacman/mrs = 2,
/obj/machinery/power/port_gen/pacman/upgraded = 4,
/obj/machinery/power/port_gen/pacman/super/upgraded = 2,
/obj/machinery/power/port_gen/pacman/mrs/upgraded = 1,
/obj/structure/machine_frame = 10,
)
/obj/effect/spawner/random/pacman_fuel
name = "random pacman fuel"
icon_state = "pacman"
spawn_loot_chance = 90
loot = list(
/obj/item/stack/sheet/mineral/plasma/ten = 14,
/obj/item/stack/sheet/mineral/uranium/ten = 5,
/obj/item/stack/sheet/mineral/diamond/ten = 1,
)
@@ -237,6 +237,9 @@ GLOBAL_LIST_INIT(sandbag_recipes, list (
. = ..()
recipes = GLOB.diamond_recipes
/obj/item/stack/sheet/mineral/diamond/ten
amount = 10
/obj/item/stack/sheet/mineral/diamond/fifty
amount = 50
@@ -258,6 +261,9 @@ GLOBAL_LIST_INIT(sandbag_recipes, list (
. += ""
. += "It finds uses in a great number of applications, including medicine, nuclear power generation, radiation shielding, cybernetic and robotic components, as well as weapons."
/obj/item/stack/sheet/mineral/uranium/ten
amount = 10
/obj/item/stack/sheet/mineral/uranium/fifty
amount = 50
@@ -295,6 +301,9 @@ GLOBAL_LIST_INIT(sandbag_recipes, list (
. = ..()
recipes = GLOB.plasma_recipes
/obj/item/stack/sheet/mineral/plasma/ten
amount = 10
/obj/item/stack/sheet/mineral/plasma/fifty
amount = 50
+1 -1
View File
@@ -13,7 +13,7 @@
var/number_of_rods = 1
smoothing_flags = SMOOTH_BITMASK
smoothing_groups = list(SMOOTH_GROUP_LATTICE)
canSmoothWith = list(SMOOTH_GROUP_LATTICE, SMOOTH_GROUP_FLOOR, SMOOTH_GROUP_WALLS, SMOOTH_GROUP_TURF, SMOOTH_GROUP_WINDOW_FULLTILE)
canSmoothWith = list(SMOOTH_GROUP_LATTICE, SMOOTH_GROUP_FLOOR, SMOOTH_GROUP_WALLS, SMOOTH_GROUP_TURF, SMOOTH_GROUP_WINDOW_FULLTILE, SMOOTH_GROUP_CATWALK)
/obj/structure/lattice/Initialize(mapload)
. = ..()
+1 -1
View File
@@ -20,7 +20,7 @@ GLOBAL_LIST_INIT(shelf_colors, list("basic", "sci", "sup", "serv", "med", "sec",
/obj/structure/shelf/Initialize(mapload)
. = ..()
var/area/A = get_area(src)
AddComponent(/datum/component/shelver/basic_shelf, random_pickup_locations_ = istype(A, /area/station/maintenance))
AddComponent(/datum/component/shelver/basic_shelf, random_pickup_locations_ = istype(A, /area/station/maintenance) || istype(A, /area/ruin/lavaland_relay))
update_icon()
set_style(shelf_style)