mirror of
https://github.com/Skyrat-SS13/Skyrat-tg.git
synced 2026-07-19 03:45:14 +01:00
c004527c46
* Enhanced delam/tram counter * Update persistence.dm * Update VoidRaptor.dmm --------- Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
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]")
|