[MIRROR] Add "Hall of Fame" emergency shuttle [MDB IGNORE] (#22808)

* Add "Hall of Fame" emergency shuttle (#77074)

## About The Pull Request
This adds a new emergency shuttle called the **Hall of Fame**.

![2023-07-28 06 49
58](https://github.com/tgstation/tgstation/assets/5195984/d818058c-f031-472a-8314-8e4c9054c807)

It's designed around persistence. The goal is to have the shuttle store
memories, photos, and trophies for the crew to see!

## Why It's Good For The Game
Cool way for the crew to store and share memories.

## Changelog
🆑
add: Add a new 'Hall of Fame' emergency shuttle. It even comes with it's
own nifty photo album.
/🆑

* Add "Hall of Fame" emergency shuttle

---------

Co-authored-by: Tim <timothymtorres@gmail.com>
This commit is contained in:
SkyratBot
2023-08-01 03:50:56 +02:00
committed by GitHub
parent c24979cd09
commit 17e20e69b0
6 changed files with 2021 additions and 17 deletions

View File

@@ -1323,3 +1323,30 @@ INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_lava)
/obj/effect/mapping_helpers/requests_console/ore_update/payload(obj/machinery/requests_console/console)
console.receive_ore_updates = TRUE
/obj/effect/mapping_helpers/engraving
name = "engraving helper"
icon = 'icons/turf/wall_overlays.dmi'
icon_state = "engraving2"
late = TRUE
layer = ABOVE_NORMAL_TURF_LAYER
/obj/effect/mapping_helpers/engraving/Initialize(mapload)
. = ..()
return INITIALIZE_HINT_LATELOAD
/obj/effect/mapping_helpers/engraving/LateInitialize()
var/turf/closed/engraved_wall = get_turf(src)
if(!isclosedturf(engraved_wall) || !SSpersistence.saved_engravings.len || HAS_TRAIT(engraved_wall, TRAIT_NOT_ENGRAVABLE))
qdel(src)
return
var/engraving = pick_n_take(SSpersistence.saved_engravings)
if(!islist(engraving))
stack_trace("something's wrong with the engraving data! one of the saved engravings wasn't a list!")
qdel(src)
return
engraved_wall.AddComponent(/datum/component/engraved, engraving["story"], FALSE, engraving["story_value"])
qdel(src)