mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-05 06:05:58 +01:00
b3d040fb2f
## About The Pull Request Gives a makeover to the delam and tram hit counters and adds some new functionality.    https://github.com/tgstation/tgstation/assets/83487515/871fb0fd-8b92-45c5-877b-c122a034608c - The signs now remember your last 'best' score and show the crew if they're trending in the right or wrong direction since the last incident. - Safety Moth PSA panel. In the future this will dynamically change based on the current events, or function as a status display. - Tram hit counters no longer waste processing every tram hit. Previously each sign independently managed tracking, which meant that deconstructing or constructing a sign would reset it to 0 and it would become out of sync with the other signs. - Can be repaired, EMP'd ## Why It's Good For The Game Provide a little motivation to reach for that high score. The PSA changing to for example, find a locker during a delam event. ## Changelog 🆑 LT3 image: Delam and tram flipsigns have been replaced with information displays fix: Tram hit count is centrally managed instead of independently on each sign, so they won't get out of sync /🆑
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
/obj/structure/sign/clock
|
|
name = "wall clock"
|
|
desc = "It's your run-of-the-mill wall clock showing both the local Coalition Standard Time and the galactic Treaty Coordinated Time. Perfect for staring at instead of working."
|
|
icon_state = "clock"
|
|
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/clock, 32)
|
|
|
|
/obj/structure/sign/clock/examine(mob/user)
|
|
. = ..()
|
|
. += span_info("The current CST (local) time is: [station_time_timestamp()].")
|
|
. += span_info("The current TCT (galactic) time is: [time2text(world.realtime, "hh:mm:ss")].")
|
|
|
|
/obj/structure/sign/calendar
|
|
name = "wall calendar"
|
|
desc = "It's an old-school wall calendar. Sure, it might be obsolete with modern technology, but it's still hard to imagine an office without one."
|
|
icon_state = "calendar"
|
|
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/calendar, 32)
|
|
|
|
/obj/structure/sign/calendar/examine(mob/user)
|
|
. = ..()
|
|
. += span_info("The current date is: [time2text(world.realtime, "DDD, MMM DD")], [CURRENT_STATION_YEAR].")
|
|
if(length(GLOB.holidays))
|
|
. += span_info("Events:")
|
|
for(var/holidayname in GLOB.holidays)
|
|
. += span_info("[holidayname]")
|