diff --git a/_maps/RandomRuins/SpaceRuins/hilbertshoteltestingsite.dmm b/_maps/RandomRuins/SpaceRuins/hilbertshoteltestingsite.dmm
new file mode 100644
index 000000000000..44ad3b51ef2c
--- /dev/null
+++ b/_maps/RandomRuins/SpaceRuins/hilbertshoteltestingsite.dmm
@@ -0,0 +1,964 @@
+//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
+"a" = (
+/turf/open/space/basic,
+/area/template_noop)
+"b" = (
+/turf/open/floor/plating/asteroid/airless,
+/area/ruin/unpowered/no_grav)
+"c" = (
+/turf/closed/wall/r_wall/rust,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"d" = (
+/turf/closed/wall/r_wall,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"e" = (
+/obj/machinery/porta_turret/syndicate{
+ desc = "A ballistic machine gun auto-turret that fires bluespace bullets.";
+ lethal_projectile = /obj/item/projectile/magic/teleport;
+ name = "displacement turret";
+ stun_projectile = /obj/item/projectile/magic/teleport
+ },
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"f" = (
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"g" = (
+/obj/structure/table/glass,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"h" = (
+/obj/structure/table/glass,
+/obj/item/stack/sheet/bluespace_crystal{
+ amount = 37
+ },
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"i" = (
+/obj/structure/table/glass,
+/obj/item/bodybag/bluespace,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"j" = (
+/turf/open/floor/plasteel/stairs/left,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"k" = (
+/turf/open/floor/plasteel/stairs/medium,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"l" = (
+/turf/open/floor/plasteel/stairs/right,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"m" = (
+/obj/structure/table/glass,
+/obj/item/reagent_containers/syringe/bluespace,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"n" = (
+/obj/structure/table/glass,
+/obj/item/stock_parts/matter_bin/bluespace,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"o" = (
+/turf/open/floor/plasteel/vaporwave,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"p" = (
+/obj/structure/table/glass,
+/obj/item/stack/cable_coil/blue,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"q" = (
+/obj/structure/table/glass,
+/obj/item/storage/backpack/holding,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"r" = (
+/obj/structure/table/glass,
+/obj/item/reagent_containers/glass/beaker/bluespace,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"s" = (
+/obj/structure/table/glass,
+/obj/item/stock_parts/subspace/crystal,
+/obj/item/stock_parts/subspace/transmitter,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"t" = (
+/obj/structure/displaycase{
+ start_showpiece_type = /obj/item/hilbertshotel
+ },
+/turf/open/floor/plasteel/vaporwave,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"u" = (
+/obj/structure/table/glass,
+/obj/item/analyzer,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"v" = (
+/obj/structure/table/glass,
+/obj/item/stock_parts/subspace/amplifier,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"w" = (
+/obj/item/paper/crumpled/docslogs,
+/obj/item/pen,
+/turf/open/floor/plasteel/vaporwave,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"x" = (
+/obj/structure/table/glass,
+/obj/item/assembly/signaler,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"y" = (
+/obj/structure/table/glass,
+/obj/item/slimecross/industrial/bluespace,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"z" = (
+/obj/machinery/door/airlock/vault{
+ name = "secured door";
+ req_access = 207
+ },
+/obj/effect/mapping_helpers/airlock/locked,
+/turf/open/floor/plasteel/grimy{
+ icon_state = "engine"
+ },
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"A" = (
+/obj/structure/filingcabinet,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"B" = (
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"C" = (
+/obj/structure/table/reinforced,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"D" = (
+/obj/item/twohanded/required/kirbyplants/random,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"E" = (
+/obj/structure/chair/office/dark,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"F" = (
+/obj/machinery/door/window/eastleft,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"G" = (
+/obj/structure/table/reinforced,
+/obj/item/pen,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"H" = (
+/obj/structure/table/reinforced,
+/obj/item/paper/crumpled/robertsworkjournal,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"I" = (
+/obj/machinery/door/airlock/highsecurity{
+ req_access = 207
+ },
+/obj/effect/mapping_helpers/airlock/locked,
+/turf/open/floor/plasteel/grimy,
+/area/ruin/space/has_grav/hilbertresearchfacility)
+"J" = (
+/turf/closed/mineral/random,
+/area/ruin/unpowered/no_grav)
+"K" = (
+/turf/open/floor/plasteel/stairs/left,
+/area/ruin/unpowered/no_grav)
+"L" = (
+/turf/open/floor/plasteel/stairs/medium,
+/area/ruin/unpowered/no_grav)
+"M" = (
+/turf/open/floor/plasteel/stairs/right,
+/area/ruin/unpowered/no_grav)
+
+(1,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(2,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+b
+b
+b
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(3,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+b
+J
+J
+J
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(4,1,1) = {"
+a
+a
+a
+J
+b
+J
+b
+b
+a
+b
+J
+b
+b
+b
+b
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(5,1,1) = {"
+a
+a
+b
+J
+J
+J
+b
+J
+b
+J
+b
+b
+J
+J
+J
+b
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(6,1,1) = {"
+a
+a
+b
+c
+c
+c
+c
+c
+d
+d
+c
+d
+d
+c
+d
+d
+b
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(7,1,1) = {"
+a
+a
+b
+d
+e
+f
+f
+m
+r
+g
+g
+f
+f
+f
+e
+c
+b
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(8,1,1) = {"
+a
+a
+b
+d
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+d
+J
+b
+b
+b
+b
+b
+a
+a
+a
+a
+"}
+(9,1,1) = {"
+a
+a
+J
+d
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+c
+J
+b
+b
+J
+b
+b
+b
+a
+a
+a
+"}
+(10,1,1) = {"
+a
+a
+J
+c
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+c
+J
+b
+J
+b
+b
+J
+b
+a
+a
+a
+"}
+(11,1,1) = {"
+a
+a
+J
+c
+g
+f
+f
+n
+s
+v
+f
+f
+f
+f
+f
+c
+J
+J
+J
+J
+J
+J
+b
+a
+a
+a
+"}
+(12,1,1) = {"
+a
+a
+J
+c
+g
+f
+j
+o
+o
+o
+j
+f
+f
+f
+c
+d
+d
+c
+c
+d
+c
+J
+b
+a
+a
+a
+"}
+(13,1,1) = {"
+a
+a
+J
+c
+h
+f
+k
+o
+t
+o
+k
+f
+f
+f
+c
+A
+B
+C
+B
+D
+c
+J
+J
+a
+a
+a
+"}
+(14,1,1) = {"
+a
+a
+J
+c
+g
+f
+l
+o
+o
+w
+l
+f
+f
+f
+d
+B
+B
+G
+B
+B
+c
+J
+b
+b
+a
+a
+"}
+(15,1,1) = {"
+a
+a
+J
+c
+i
+f
+f
+p
+u
+x
+f
+f
+f
+f
+d
+B
+E
+H
+B
+B
+c
+J
+J
+J
+a
+a
+"}
+(16,1,1) = {"
+a
+b
+J
+c
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+c
+B
+B
+C
+B
+B
+c
+b
+J
+b
+a
+a
+"}
+(17,1,1) = {"
+a
+b
+J
+d
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+c
+C
+F
+C
+B
+B
+c
+b
+b
+b
+a
+a
+"}
+(18,1,1) = {"
+a
+b
+J
+d
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+d
+B
+B
+B
+B
+B
+d
+b
+b
+b
+b
+a
+"}
+(19,1,1) = {"
+a
+b
+J
+d
+f
+f
+f
+f
+f
+f
+f
+f
+f
+f
+z
+B
+B
+B
+B
+B
+d
+b
+b
+b
+b
+a
+"}
+(20,1,1) = {"
+a
+a
+b
+c
+e
+f
+g
+q
+g
+y
+g
+f
+e
+f
+c
+B
+B
+B
+B
+B
+d
+b
+b
+b
+b
+a
+"}
+(21,1,1) = {"
+a
+a
+b
+c
+c
+c
+c
+c
+c
+d
+d
+c
+c
+c
+d
+B
+B
+B
+B
+B
+d
+K
+b
+b
+b
+a
+"}
+(22,1,1) = {"
+a
+a
+b
+b
+J
+J
+b
+b
+J
+J
+J
+J
+J
+J
+d
+D
+B
+B
+B
+B
+I
+L
+b
+b
+b
+a
+"}
+(23,1,1) = {"
+a
+a
+a
+b
+b
+J
+J
+b
+b
+b
+b
+J
+b
+J
+c
+d
+d
+c
+d
+c
+d
+M
+b
+b
+b
+a
+"}
+(24,1,1) = {"
+a
+a
+a
+a
+b
+b
+J
+J
+J
+b
+b
+b
+b
+J
+b
+b
+J
+J
+J
+J
+b
+b
+b
+b
+b
+a
+"}
+(25,1,1) = {"
+a
+a
+a
+a
+a
+b
+b
+b
+J
+J
+J
+J
+b
+b
+b
+b
+b
+b
+a
+J
+J
+J
+b
+J
+b
+a
+"}
+(26,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+b
+b
+b
+a
+b
+b
+b
+b
+b
+a
+a
+a
+J
+J
+J
+J
+J
+a
+"}
+(27,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
diff --git a/_maps/templates/hilbertshotel.dmm b/_maps/templates/hilbertshotel.dmm
new file mode 100644
index 000000000000..4e4d8f826715
--- /dev/null
+++ b/_maps/templates/hilbertshotel.dmm
@@ -0,0 +1,545 @@
+//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
+"a" = (
+/turf/open/space/bluespace,
+/area/hilbertshotel)
+"b" = (
+/turf/closed/indestructible/hotelwall,
+/area/hilbertshotel)
+"c" = (
+/obj/machinery/jukebox{
+ req_access = null
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"d" = (
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"e" = (
+/obj/structure/table/wood,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"f" = (
+/obj/structure/table/wood,
+/obj/structure/showcase/machinery/tv,
+/obj/machinery/light/small{
+ dir = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"g" = (
+/obj/structure/dresser,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"h" = (
+/obj/structure/table/wood/fancy,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"i" = (
+/obj/structure/table/wood/fancy,
+/obj/structure/mirror{
+ pixel_y = 24
+ },
+/obj/machinery/light/small{
+ dir = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"j" = (
+/obj/structure/table/wood/fancy,
+/obj/item/flashlight/lamp/green,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"k" = (
+/obj/structure/chair/comfy/brown{
+ dir = 4
+ },
+/obj/machinery/light/small{
+ dir = 8
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"l" = (
+/obj/structure/table/wood/poker,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"m" = (
+/obj/structure/chair/comfy/brown{
+ dir = 8
+ },
+/obj/machinery/light/small{
+ dir = 4
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"n" = (
+/obj/effect/landmark/xmastree,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"o" = (
+/obj/structure/chair/comfy/brown{
+ dir = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"p" = (
+/obj/structure/mineral_door/wood,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"q" = (
+/obj/structure/bed,
+/obj/item/bedsheet/random,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"r" = (
+/obj/structure/closet/cabinet{
+ anchored = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"s" = (
+/obj/structure/table/wood/fancy,
+/obj/item/reagent_containers/food/snacks/grown/poppy,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"t" = (
+/obj/machinery/light/small{
+ dir = 8
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"u" = (
+/obj/structure/mineral_door/paperframe,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"v" = (
+/obj/structure/extinguisher_cabinet{
+ pixel_x = 32
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"w" = (
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"x" = (
+/obj/structure/curtain,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"y" = (
+/obj/machinery/door/window/northleft,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"z" = (
+/obj/structure/table/reinforced,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"A" = (
+/obj/structure/mirror{
+ pixel_x = -32
+ },
+/obj/structure/sink{
+ dir = 8;
+ pixel_x = -12;
+ pixel_y = 2
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"B" = (
+/obj/structure/chair/stool/bar,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"C" = (
+/obj/machinery/shower{
+ dir = 8
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"D" = (
+/obj/machinery/light_switch{
+ pixel_x = 32
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"E" = (
+/obj/structure/table/reinforced,
+/obj/item/soap/deluxe,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"F" = (
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/obj/structure/window/reinforced/tinted{
+ dir = 1
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"G" = (
+/obj/machinery/light_switch{
+ pixel_x = -32
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"H" = (
+/obj/structure/table/reinforced,
+/obj/machinery/microwave,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"I" = (
+/turf/closed/indestructible/hoteldoor,
+/area/hilbertshotel)
+"J" = (
+/obj/machinery/light/small,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"K" = (
+/obj/structure/closet/crate/bin,
+/obj/machinery/light/small{
+ dir = 4
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"L" = (
+/obj/machinery/light/small{
+ dir = 1
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"M" = (
+/obj/structure/table/reinforced,
+/obj/machinery/light/small{
+ dir = 4
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"N" = (
+/obj/structure/table/reinforced,
+/obj/item/soap/deluxe,
+/obj/machinery/light/small{
+ dir = 8
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"O" = (
+/obj/item/bikehorn/rubberducky,
+/obj/machinery/light/small{
+ dir = 4
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"P" = (
+/obj/machinery/light/small,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"Q" = (
+/obj/machinery/smartfridge/food,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"R" = (
+/obj/structure/toilet{
+ dir = 8
+ },
+/obj/structure/window/reinforced/tinted{
+ dir = 1
+ },
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"S" = (
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"T" = (
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/obj/structure/window/reinforced/tinted,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"U" = (
+/obj/structure/table/reinforced,
+/obj/structure/sink/kitchen,
+/obj/machinery/light/small,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"V" = (
+/obj/structure/table/reinforced,
+/obj/effect/spawner/lootdrop/three_course_meal,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+
+(1,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(2,1,1) = {"
+a
+b
+b
+b
+b
+b
+I
+b
+b
+b
+b
+b
+b
+b
+a
+"}
+(3,1,1) = {"
+a
+b
+d
+d
+k
+d
+d
+t
+d
+y
+t
+H
+z
+b
+a
+"}
+(4,1,1) = {"
+a
+b
+e
+d
+l
+o
+d
+d
+B
+z
+d
+d
+z
+b
+a
+"}
+(5,1,1) = {"
+a
+b
+f
+d
+l
+o
+d
+d
+B
+V
+d
+d
+U
+b
+a
+"}
+(6,1,1) = {"
+a
+b
+e
+d
+l
+o
+d
+d
+B
+z
+d
+d
+z
+b
+a
+"}
+(7,1,1) = {"
+a
+b
+c
+d
+m
+d
+D
+K
+v
+z
+M
+Q
+z
+b
+a
+"}
+(8,1,1) = {"
+a
+b
+b
+b
+b
+p
+b
+b
+b
+b
+b
+b
+b
+b
+a
+"}
+(9,1,1) = {"
+a
+b
+g
+d
+t
+d
+G
+u
+w
+A
+N
+A
+E
+b
+a
+"}
+(10,1,1) = {"
+a
+b
+h
+d
+d
+d
+d
+b
+w
+w
+w
+w
+w
+b
+a
+"}
+(11,1,1) = {"
+a
+b
+i
+d
+n
+d
+J
+b
+L
+w
+R
+w
+P
+b
+a
+"}
+(12,1,1) = {"
+a
+b
+h
+d
+d
+d
+r
+b
+x
+F
+S
+T
+x
+b
+a
+"}
+(13,1,1) = {"
+a
+b
+d
+d
+d
+d
+d
+b
+w
+w
+w
+w
+w
+b
+a
+"}
+(14,1,1) = {"
+a
+b
+d
+j
+q
+q
+s
+b
+w
+C
+O
+C
+w
+b
+a
+"}
+(15,1,1) = {"
+a
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+a
+"}
+(16,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
diff --git a/_maps/templates/hilbertshotelempty.dmm b/_maps/templates/hilbertshotelempty.dmm
new file mode 100644
index 000000000000..a0482c93baec
--- /dev/null
+++ b/_maps/templates/hilbertshotelempty.dmm
@@ -0,0 +1,289 @@
+//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
+"a" = (
+/turf/open/space/bluespace,
+/area/hilbertshotel)
+"b" = (
+/turf/closed/indestructible/hotelwall,
+/area/hilbertshotel)
+"c" = (
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"d" = (
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"e" = (
+/turf/closed/indestructible/hoteldoor,
+/area/hilbertshotel)
+
+(1,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
+(2,1,1) = {"
+a
+b
+b
+b
+b
+b
+e
+b
+b
+b
+b
+b
+b
+b
+a
+"}
+(3,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+b
+a
+"}
+(4,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+b
+a
+"}
+(5,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+b
+a
+"}
+(6,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+b
+a
+"}
+(7,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+c
+b
+a
+"}
+(8,1,1) = {"
+a
+b
+b
+b
+b
+c
+b
+b
+b
+b
+b
+b
+b
+b
+a
+"}
+(9,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+c
+d
+d
+d
+d
+d
+b
+a
+"}
+(10,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+b
+d
+d
+d
+d
+d
+b
+a
+"}
+(11,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+b
+d
+d
+d
+d
+d
+b
+a
+"}
+(12,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+b
+d
+d
+d
+d
+d
+b
+a
+"}
+(13,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+b
+d
+d
+d
+d
+d
+b
+a
+"}
+(14,1,1) = {"
+a
+b
+c
+c
+c
+c
+c
+b
+d
+d
+d
+d
+d
+b
+a
+"}
+(15,1,1) = {"
+a
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+b
+a
+"}
+(16,1,1) = {"
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+a
+"}
diff --git a/_maps/templates/hilbertshotellore.dmm b/_maps/templates/hilbertshotellore.dmm
new file mode 100644
index 000000000000..f6be66bd0674
--- /dev/null
+++ b/_maps/templates/hilbertshotellore.dmm
@@ -0,0 +1,639 @@
+//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
+"aa" = (
+/turf/open/space/bluespace,
+/area/hilbertshotel)
+"ab" = (
+/turf/closed/indestructible/hotelwall,
+/area/hilbertshotel)
+"ac" = (
+/obj/structure/table/wood/fancy,
+/obj/structure/mirror{
+ broken = 1;
+ desc = "Oh no, seven years of bad luck!";
+ icon_state = "mirror_broke";
+ pixel_y = 24
+ },
+/obj/machinery/light/small{
+ dir = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ad" = (
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ae" = (
+/obj/structure/table/wood,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"af" = (
+/obj/structure/table/wood,
+/obj/structure/showcase/machinery/tv,
+/obj/machinery/light/small{
+ dir = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ag" = (
+/obj/structure/dresser,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ah" = (
+/obj/structure/table/wood/fancy,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ai" = (
+/obj/structure/table/wood/poker,
+/obj/item/toy/cards/deck,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aj" = (
+/obj/structure/table/wood/fancy,
+/obj/item/flashlight/lamp/green,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ak" = (
+/obj/structure/chair/comfy/brown{
+ dir = 4
+ },
+/obj/machinery/light/small{
+ dir = 8
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"al" = (
+/obj/structure/table/wood/poker,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"am" = (
+/obj/structure/chair/comfy/brown{
+ dir = 8
+ },
+/obj/machinery/light/small{
+ dir = 4
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"an" = (
+/obj/machinery/light/small{
+ dir = 8
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ap" = (
+/obj/structure/bed,
+/obj/item/bedsheet/random,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aq" = (
+/obj/structure/chair/comfy/brown{
+ dir = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ar" = (
+/obj/structure/mineral_door/wood,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"as" = (
+/turf/closed/indestructible/hoteldoor,
+/area/hilbertshotel)
+"at" = (
+/obj/effect/decal/cleanable/cobweb,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"au" = (
+/obj/machinery/light_switch{
+ pixel_x = -32
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"av" = (
+/obj/machinery/light/small,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aw" = (
+/obj/structure/closet/cabinet{
+ anchored = 1
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ax" = (
+/obj/effect/decal/cleanable/dirt,
+/obj/effect/decal/cleanable/cobweb/cobweb2,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"ay" = (
+/obj/structure/closet/crate/bin,
+/obj/machinery/light/small{
+ dir = 4
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"az" = (
+/obj/structure/mineral_door/paperframe,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aA" = (
+/obj/structure/chair/stool/bar,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aB" = (
+/obj/structure/extinguisher_cabinet{
+ pixel_x = 32
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aC" = (
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aD" = (
+/obj/machinery/light/small{
+ dir = 1
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aE" = (
+/obj/structure/curtain,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aF" = (
+/obj/machinery/door/window/northleft,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aG" = (
+/obj/structure/table/reinforced,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aH" = (
+/obj/structure/table/reinforced,
+/obj/item/pen,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aI" = (
+/obj/structure/mirror{
+ pixel_x = -32
+ },
+/obj/structure/sink{
+ dir = 8;
+ pixel_x = -12;
+ pixel_y = 2
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aJ" = (
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/obj/structure/window/reinforced/tinted{
+ dir = 1
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aK" = (
+/obj/machinery/shower{
+ dir = 8
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aL" = (
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aM" = (
+/obj/structure/table/wood/poker,
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aN" = (
+/obj/structure/toilet{
+ dir = 8
+ },
+/obj/structure/window/reinforced/tinted{
+ dir = 1
+ },
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aO" = (
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aP" = (
+/obj/item/bikehorn/rubberducky,
+/obj/machinery/light/small{
+ dir = 4
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aQ" = (
+/obj/structure/table/reinforced,
+/obj/machinery/microwave,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aR" = (
+/obj/machinery/smartfridge/food,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aS" = (
+/obj/structure/window/reinforced/tinted{
+ dir = 8
+ },
+/obj/structure/window/reinforced/tinted,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aT" = (
+/obj/structure/table/reinforced,
+/obj/structure/sink/kitchen,
+/obj/machinery/light/small,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aU" = (
+/obj/structure/bed,
+/obj/item/bedsheet/random,
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aV" = (
+/obj/machinery/light/small,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"aW" = (
+/obj/machinery/jukebox{
+ req_access = null
+ },
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aX" = (
+/obj/machinery/light_switch{
+ pixel_x = 32
+ },
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aY" = (
+/obj/structure/chair/stool/bar,
+/obj/effect/decal/cleanable/blood,
+/obj/effect/decal/cleanable/vomit,
+/obj/effect/mob_spawn/human/doctorhilbert,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"aZ" = (
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"ba" = (
+/obj/effect/decal/cleanable/dirt,
+/obj/effect/decal/cleanable/cobweb/cobweb2,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"bb" = (
+/obj/structure/mirror{
+ pixel_x = -32
+ },
+/obj/structure/sink{
+ dir = 8;
+ pixel_x = -12;
+ pixel_y = 2
+ },
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"bc" = (
+/obj/effect/decal/cleanable/blood,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"bd" = (
+/obj/machinery/shower{
+ dir = 8
+ },
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"be" = (
+/obj/machinery/light/small{
+ dir = 8
+ },
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"bf" = (
+/obj/effect/decal/cleanable/dirt,
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"bg" = (
+/obj/structure/table/reinforced,
+/obj/machinery/light/small{
+ dir = 4
+ },
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"bh" = (
+/obj/structure/table/reinforced,
+/obj/machinery/light/small{
+ dir = 8
+ },
+/obj/item/soap/homemade{
+ name = "used soap"
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"bi" = (
+/obj/effect/decal/cleanable/vomit,
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"bj" = (
+/obj/structure/table/reinforced,
+/obj/item/soap/homemade{
+ name = "used soap"
+ },
+/turf/open/indestructible/hoteltile,
+/area/hilbertshotel)
+"bk" = (
+/obj/structure/table/reinforced,
+/obj/item/analyzer/hilbertsanalyzer,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+"bl" = (
+/obj/structure/table/reinforced,
+/obj/item/paper/crumpled/bloody/docsdeathnote,
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotel)
+
+(1,1,1) = {"
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+"}
+(2,1,1) = {"
+aa
+ab
+ab
+ab
+ab
+ab
+as
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+aa
+"}
+(3,1,1) = {"
+aa
+ab
+at
+aL
+ak
+ad
+aL
+an
+ad
+aF
+be
+aQ
+aG
+ab
+aa
+"}
+(4,1,1) = {"
+aa
+ab
+ae
+ad
+al
+aq
+ad
+ad
+aA
+aH
+ad
+aL
+aG
+ab
+aa
+"}
+(5,1,1) = {"
+aa
+ab
+af
+ad
+ai
+aq
+aL
+ad
+aY
+bl
+ad
+aL
+aT
+ab
+aa
+"}
+(6,1,1) = {"
+aa
+ab
+ae
+ad
+aM
+aq
+ad
+ad
+aA
+bk
+bf
+bf
+aG
+ab
+aa
+"}
+(7,1,1) = {"
+aa
+ab
+aW
+aL
+am
+ad
+aX
+ay
+aB
+aG
+bg
+aR
+aG
+ab
+aa
+"}
+(8,1,1) = {"
+aa
+ab
+ab
+ab
+ab
+ar
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+aa
+"}
+(9,1,1) = {"
+aa
+ab
+ag
+ad
+an
+ad
+au
+az
+aC
+bb
+bh
+aI
+bj
+ab
+aa
+"}
+(10,1,1) = {"
+aa
+ab
+ah
+ad
+aL
+aL
+ad
+ab
+aZ
+aZ
+aC
+aZ
+aZ
+ab
+aa
+"}
+(11,1,1) = {"
+aa
+ab
+ac
+ad
+ad
+aL
+av
+ab
+aD
+aC
+aN
+bi
+aV
+ab
+aa
+"}
+(12,1,1) = {"
+aa
+ab
+ah
+ad
+aL
+ad
+aw
+ab
+aE
+aJ
+aO
+aS
+aE
+ab
+aa
+"}
+(13,1,1) = {"
+aa
+ab
+ad
+ad
+aL
+ad
+ad
+ab
+aC
+bc
+aZ
+aZ
+aC
+ab
+aa
+"}
+(14,1,1) = {"
+aa
+ab
+ax
+aj
+ap
+aU
+ah
+ab
+ba
+bd
+aP
+aK
+aC
+ab
+aa
+"}
+(15,1,1) = {"
+aa
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+ab
+aa
+"}
+(16,1,1) = {"
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+"}
diff --git a/_maps/templates/hilbertshotelstorage.dmm b/_maps/templates/hilbertshotelstorage.dmm
new file mode 100644
index 000000000000..756e2e515522
--- /dev/null
+++ b/_maps/templates/hilbertshotelstorage.dmm
@@ -0,0 +1,23 @@
+//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
+"a" = (
+/turf/closed/indestructible/hotelwall,
+/area/hilbertshotelstorage)
+"b" = (
+/turf/open/indestructible/hotelwood,
+/area/hilbertshotelstorage)
+
+(1,1,1) = {"
+a
+a
+a
+"}
+(2,1,1) = {"
+a
+b
+a
+"}
+(3,1,1) = {"
+a
+a
+a
+"}
diff --git a/code/controllers/subsystem/mapping.dm b/code/controllers/subsystem/mapping.dm
index 6a3473561b32..37d6c7a0a978 100644
--- a/code/controllers/subsystem/mapping.dm
+++ b/code/controllers/subsystem/mapping.dm
@@ -33,6 +33,7 @@ SUBSYSTEM_DEF(mapping)
var/list/z_list
var/datum/space_level/transit
var/datum/space_level/empty_space
+ var/num_of_res_levels = 1
//dlete dis once #39770 is resolved
/datum/controller/subsystem/mapping/proc/HACK_LoadMapConfig()
@@ -447,6 +448,11 @@ GLOBAL_LIST_EMPTY(the_station_areas)
for(var/i in levels_by_trait(ZTRAIT_RESERVED))
if(reserve.Reserve(width, height, i))
return reserve
+ //If we didn't return at this point, theres a good chance we ran out of room on the exisiting reserved z levels, so lets try a new one
+ num_of_res_levels += 1
+ var/newReserved = add_new_zlevel("Transit/Reserved [num_of_res_levels]", list(ZTRAIT_RESERVED = TRUE))
+ if(reserve.Reserve(width, height, newReserved))
+ return reserve
else
if(!level_trait(z, ZTRAIT_RESERVED))
qdel(reserve)
@@ -479,6 +485,7 @@ GLOBAL_LIST_EMPTY(the_station_areas)
LAZYINITLIST(unused_turfs["[T.z]"])
unused_turfs["[T.z]"] |= T
T.flags_1 |= UNUSED_RESERVATION_TURF_1
+ GLOB.areas_by_type[world.area].contents += T
CHECK_TICK
//DO NOT CALL THIS PROC DIRECTLY, CALL wipe_reservations().
diff --git a/code/datums/ruins/space.dm b/code/datums/ruins/space.dm
index e88f9bdb89de..d8a2b35f676e 100644
--- a/code/datums/ruins/space.dm
+++ b/code/datums/ruins/space.dm
@@ -281,3 +281,9 @@
suffix = "cloning_facility.dmm"
name = "Ancient Cloning Lab"
description = "An experimental cloning lab snapped off from an ancient ship. The cloner model inside lacks many modern functionalities and security measures."
+
+/datum/map_template/ruin/space/hilbertresearchfacility
+ id = "hilbert_facility"
+ suffix = "hilbertshoteltestingsite.dmm"
+ name = "Hilbert Research Facility"
+ description = "A research facility of great bluespace discoveries. Long since abandoned, willingly or not..."
\ No newline at end of file
diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm
index ab877ff97a11..c840969c47af 100644
--- a/code/game/objects/items/blueprints.dm
+++ b/code/game/objects/items/blueprints.dm
@@ -155,7 +155,9 @@
/area/centcom,
/area/asteroid,
/area/tdome,
- /area/wizard_station
+ /area/wizard_station,
+ /area/hilbertshotel,
+ /area/hilbertshotelstorage
)
for (var/type in SPECIALS)
if ( istype(A,type) )
diff --git a/code/modules/ruins/spaceruin_code/hilbertshotel.dm b/code/modules/ruins/spaceruin_code/hilbertshotel.dm
new file mode 100644
index 000000000000..fccae18cc0c2
--- /dev/null
+++ b/code/modules/ruins/spaceruin_code/hilbertshotel.dm
@@ -0,0 +1,488 @@
+GLOBAL_VAR_INIT(hhStorageTurf, null)
+GLOBAL_VAR_INIT(hhmysteryRoomNumber, 1337)
+
+/obj/item/hilbertshotel
+ name = "Hilbert's Hotel"
+ desc = "A sphere of what appears to be an intricate network of bluespace. Observing it in detail seems to give you a headache as you try to comprehend the infinite amount of infinitesimally distinct points on its surface."
+ icon_state = "hilbertshotel"
+ w_class = WEIGHT_CLASS_SMALL
+ resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
+ var/datum/map_template/hilbertshotel/hotelRoomTemp
+ var/datum/map_template/hilbertshotel/empty/hotelRoomTempEmpty
+ var/datum/map_template/hilbertshotel/lore/hotelRoomTempLore
+ var/list/activeRooms = list()
+ var/list/storedRooms = list()
+ var/storageTurf
+ //Lore Stuff
+ var/ruinSpawned = FALSE
+ var/mysteryRoom
+
+/obj/item/hilbertshotel/Initialize()
+ . = ..()
+ //Load templates
+ hotelRoomTemp = new()
+ hotelRoomTempEmpty = new()
+ hotelRoomTempLore = new()
+ var/area/currentArea = get_area(src)
+ if(currentArea.type == /area/ruin/space/has_grav/hilbertresearchfacility)
+ ruinSpawned = TRUE
+
+/obj/item/hilbertshotel/Destroy()
+ ejectRooms()
+ return ..()
+
+/obj/item/hilbertshotel/attack(mob/living/M, mob/living/user)
+ if(M.mind)
+ to_chat(user, "You invite [M] to the hotel.")
+ promptAndCheckIn(M)
+ else
+ to_chat(user, "[M] is not intelligent enough to understand how to use this device!")
+
+/obj/item/hilbertshotel/attack_self(mob/user)
+ . = ..()
+ promptAndCheckIn(user)
+
+/obj/item/hilbertshotel/proc/promptAndCheckIn(mob/user)
+ var/chosenRoomNumber = input(user, "What number room will you be checking into?", "Room Number") as null|num
+ if(!chosenRoomNumber)
+ return
+ if((chosenRoomNumber < 1) || (chosenRoomNumber != round(chosenRoomNumber)) || (chosenRoomNumber == INFINITY))
+ to_chat(user, "That is not a valid room number!")
+ return
+ if(ismob(loc))
+ if(user == loc) //Not always the same as user
+ forceMove(get_turf(user))
+ if(!storageTurf) //Blame subsystems for not allowing this to be in Initialize
+ if(!GLOB.hhStorageTurf)
+ var/datum/map_template/hilbertshotelstorage/storageTemp = new()
+ var/datum/turf_reservation/storageReservation = SSmapping.RequestBlockReservation(3, 3)
+ storageTemp.load(locate(storageReservation.bottom_left_coords[1], storageReservation.bottom_left_coords[2], storageReservation.bottom_left_coords[3]))
+ GLOB.hhStorageTurf = locate(storageReservation.bottom_left_coords[1]+1, storageReservation.bottom_left_coords[2]+1, storageReservation.bottom_left_coords[3])
+ else
+ storageTurf = GLOB.hhStorageTurf
+ if(tryActiveRoom(chosenRoomNumber, user))
+ return
+ if(tryStoredRoom(chosenRoomNumber, user))
+ return
+ sendToNewRoom(chosenRoomNumber, user)
+
+
+/obj/item/hilbertshotel/proc/tryActiveRoom(var/roomNumber, var/mob/user)
+ if(activeRooms["[roomNumber]"])
+ var/datum/turf_reservation/roomReservation = activeRooms["[roomNumber]"]
+ do_sparks(3, FALSE, get_turf(user))
+ user.forceMove(locate(roomReservation.bottom_left_coords[1] + hotelRoomTemp.landingZoneRelativeX, roomReservation.bottom_left_coords[2] + hotelRoomTemp.landingZoneRelativeY, roomReservation.bottom_left_coords[3]))
+ return TRUE
+ else
+ return FALSE
+
+/obj/item/hilbertshotel/proc/tryStoredRoom(var/roomNumber, var/mob/user)
+ if(storedRooms["[roomNumber]"])
+ var/datum/turf_reservation/roomReservation = SSmapping.RequestBlockReservation(hotelRoomTemp.width, hotelRoomTemp.height)
+ hotelRoomTempEmpty.load(locate(roomReservation.bottom_left_coords[1], roomReservation.bottom_left_coords[2], roomReservation.bottom_left_coords[3]))
+ var/turfNumber = 1
+ for(var/i=0, iAs the sphere breaks apart, you're suddenly ejected into the depths of space!")
+ var/max = world.maxx-TRANSITIONEDGE
+ var/min = 1+TRANSITIONEDGE
+ var/list/possible_transtitons = list()
+ for(var/AZ in SSmapping.z_list)
+ var/datum/space_level/D = AZ
+ if (D.linkage == CROSSLINKED)
+ possible_transtitons += D.z_value
+ var/_z = pick(possible_transtitons)
+ var/_x = rand(min,max)
+ var/_y = rand(min,max)
+ var/turf/T = locate(_x, _y, _z)
+ A.forceMove(T)
+ qdel(room)
+
+ if(storedRooms.len)
+ for(var/x in storedRooms)
+ var/list/atomList = storedRooms[x]
+ for(var/atom/movable/A in atomList)
+ var/max = world.maxx-TRANSITIONEDGE
+ var/min = 1+TRANSITIONEDGE
+ var/list/possible_transtitons = list()
+ for(var/AZ in SSmapping.z_list)
+ var/datum/space_level/D = AZ
+ if (D.linkage == CROSSLINKED)
+ possible_transtitons += D.z_value
+ var/_z = pick(possible_transtitons)
+ var/_x = rand(min,max)
+ var/_y = rand(min,max)
+ var/turf/T = locate(_x, _y, _z)
+ A.forceMove(T)
+
+//Template Stuff
+/datum/map_template/hilbertshotel
+ name = "Hilbert's Hotel Room"
+ mappath = '_maps/templates/hilbertshotel.dmm'
+ var/landingZoneRelativeX = 2
+ var/landingZoneRelativeY = 8
+
+/datum/map_template/hilbertshotel/empty
+ name = "Empty Hilbert's Hotel Room"
+ mappath = '_maps/templates/hilbertshotelempty.dmm'
+
+/datum/map_template/hilbertshotel/lore
+ name = "Doctor Hilbert's Deathbed"
+ mappath = '_maps/templates/hilbertshotellore.dmm'
+
+/datum/map_template/hilbertshotelstorage
+ name = "Hilbert's Hotel Storage"
+ mappath = '_maps/templates/hilbertshotelstorage.dmm'
+
+
+//Turfs and Areas
+/turf/closed/indestructible/hotelwall
+ name = "hotel wall"
+ desc = "A wall designed to protect the security of the hotel's guests."
+ icon_state = "hotelwall"
+ canSmoothWith = list(/turf/closed/indestructible/hotelwall)
+ explosion_block = INFINITY
+
+/turf/open/indestructible/hotelwood
+ desc = "Stylish dark wood with extra reinforcement. Secured firmly to the floor to prevent tampering."
+ icon_state = "wood"
+ footstep = FOOTSTEP_WOOD
+ tiled_dirt = FALSE
+
+/turf/open/indestructible/hoteltile
+ desc = "Smooth tile with extra reinforcement. Secured firmly to the floor to prevent tampering."
+ icon_state = "showroomfloor"
+ footstep = FOOTSTEP_FLOOR
+ tiled_dirt = FALSE
+
+/turf/open/space/bluespace
+ name = "\proper bluespace hyperzone"
+ icon_state = "bluespace"
+ baseturfs = /turf/open/space/bluespace
+ flags_1 = NOJAUNT_1
+ explosion_block = INFINITY
+ var/obj/item/hilbertshotel/parentSphere
+
+/turf/open/space/bluespace/Entered(atom/movable/A)
+ . = ..()
+ A.forceMove(get_turf(parentSphere))
+ do_sparks(3, FALSE, get_turf(A))
+
+/turf/closed/indestructible/hoteldoor
+ name = "Hotel Door"
+ icon_state = "hoteldoor"
+ explosion_block = INFINITY
+ var/obj/item/hilbertshotel/parentSphere
+
+/turf/closed/indestructible/hoteldoor/proc/promptExit(mob/user)
+ if(!user.mind)
+ return
+ if(!parentSphere)
+ to_chat(user, "The door seems to be malfunctioned and refuses to operate!")
+ return
+ if(alert(user, "Hilbert's Hotel would like to remind you that while we will do everything we can to protect the belongings you leave behind, we make no guarantees of their safety while you're gone, especially that of the health of any living creatures. With that in mind, are you ready to leave?", "Exit", "Leave", "Stay") == "Leave")
+ user.forceMove(get_turf(parentSphere))
+ do_sparks(3, FALSE, get_turf(user))
+
+//If only this could be simplified...
+/turf/closed/indestructible/hoteldoor/attack_hand(mob/user)
+ promptExit(user)
+
+/turf/closed/indestructible/hoteldoor/attack_animal(mob/user)
+ promptExit(user)
+
+/turf/closed/indestructible/hoteldoor/attack_paw(mob/user)
+ promptExit(user)
+
+/turf/closed/indestructible/hoteldoor/attack_hulk(mob/living/carbon/human/user, does_attack_animation)
+ promptExit(user)
+
+/turf/closed/indestructible/hoteldoor/attack_larva(mob/user)
+ promptExit(user)
+
+/turf/closed/indestructible/hoteldoor/attack_slime(mob/user)
+ promptExit(user)
+
+/turf/closed/indestructible/hoteldoor/attack_robot(mob/user)
+ if(get_dist(get_turf(src), get_turf(user)) <= 1)
+ promptExit(user)
+
+/turf/closed/indestructible/hoteldoor/AltClick(mob/user)
+ . = ..()
+ if(get_dist(get_turf(src), get_turf(user)) <= 1)
+ to_chat(user, "You peak through the door's bluespace peephole...")
+ user.reset_perspective(parentSphere)
+ user.set_machine(src)
+ var/datum/action/peepholeCancel/PHC = new
+ user.overlay_fullscreen("remote_view", /obj/screen/fullscreen/impaired, 1)
+ PHC.Grant(user)
+
+/turf/closed/indestructible/hoteldoor/check_eye(mob/user)
+ if(get_dist(get_turf(src), get_turf(user)) >= 2)
+ user.unset_machine()
+ for(var/datum/action/peepholeCancel/PHC in user.actions)
+ PHC.Trigger()
+
+/datum/action/peepholeCancel
+ name = "Cancel View"
+ desc = "Stop looking through the bluespace peephole."
+ button_icon_state = "cancel_peephole"
+
+/datum/action/peepholeCancel/Trigger()
+ . = ..()
+ to_chat(owner, "You move away from the peephole.")
+ owner.reset_perspective()
+ owner.clear_fullscreen("remote_view", 0)
+ qdel(src)
+
+/area/hilbertshotel
+ name = "Hilbert's Hotel Room"
+ icon_state = "hilbertshotel"
+ requires_power = FALSE
+ has_gravity = TRUE
+ noteleport = TRUE
+ hidden = TRUE
+ unique = FALSE
+ dynamic_lighting = DYNAMIC_LIGHTING_FORCED
+ ambientsounds = list('sound/ambience/servicebell.ogg')
+ var/roomnumber = 0
+ var/obj/item/hilbertshotel/parentSphere
+ var/datum/turf_reservation/reservation
+ var/turf/storageTurf
+
+/area/hilbertshotel/Exited(atom/movable/AM)
+ . = ..()
+ if(ismob(AM))
+ var/mob/M = AM
+ if(M.mind)
+ var/stillPopulated = FALSE
+ var/list/currentLivingMobs = GetAllContents(/mob/living) //Got to catch anyone hiding in anything
+ for(var/mob/living/L in currentLivingMobs) //Check to see if theres any sentient mobs left.
+ if(L.mind)
+ stillPopulated = TRUE
+ break
+ if(!stillPopulated)
+ storeRoom()
+
+/area/hilbertshotel/proc/storeRoom()
+ var/roomSize = (reservation.top_right_coords[1]-reservation.bottom_left_coords[1]+1)*(reservation.top_right_coords[2]-reservation.bottom_left_coords[2]+1)
+ var/storage[roomSize]
+ var/turfNumber = 1
+ var/obj/item/abstracthotelstorage/storageObj = new(storageTurf)
+ storageObj.roomNumber = roomnumber
+ storageObj.parentSphere = parentSphere
+ storageObj.name = "Room [roomnumber] Storage"
+ for(var/i=0, iIt's to far away to scan!")
+ return
+ var/obj/item/hilbertshotel/sphere = target
+ if(sphere.activeRooms.len)
+ to_chat(user, "Currently Occupied Rooms:")
+ for(var/roomnumber in sphere.activeRooms)
+ to_chat(user, roomnumber)
+ else
+ to_chat(user, "No currenty occupied rooms.")
+ if(sphere.storedRooms.len)
+ to_chat(user, "Vacated Rooms:")
+ for(var/roomnumber in sphere.storedRooms)
+ to_chat(user, roomnumber)
+ else
+ to_chat(user, "No vacated rooms.")
+
+/obj/effect/mob_spawn/human/doctorhilbert
+ name = "Doctor Hilbert"
+ mob_name = "Doctor Hilbert"
+ mob_gender = "male"
+ assignedrole = null
+ ghost_usable = FALSE
+ oxy_damage = 500
+ mob_species = /datum/species/skeleton
+ id_job = "Head Researcher"
+ id_access = ACCESS_RESEARCH
+ id_access_list = list(ACCESS_AWAY_GENERIC3, ACCESS_RESEARCH)
+ instant = TRUE
+ id = /obj/item/card/id/silver
+ uniform = /obj/item/clothing/under/rank/research_director
+ shoes = /obj/item/clothing/shoes/sneakers/brown
+ back = /obj/item/storage/backpack/satchel/leather
+ suit = /obj/item/clothing/suit/toggle/labcoat
+
+/obj/item/paper/crumpled/docslogs
+ name = "Research Logs"
+
+/obj/item/paper/crumpled/docslogs/Initialize()
+ . = ..()
+ GLOB.hhmysteryRoomNumber = rand(1, 65535)
+ info = {"Research Logs
+ I might just be onto something here!
+ The strange space-warping properties of bluespace have been known about for awhile now, but I might be on the verge of discovering a new way of harnessing it.
+ It's too soon to say for sure, but this might be the start of something quite important!
+ I'll be sure to log any major future breakthroughs. This might be a lot more than I can manage on my own, perhaps I should hire that secretary after all...
+ Breakthrough!
+ I can't believe it, but I did it! Just when I was certain it couldn't be done, I made the final necessary breakthrough.
+ Exploiting the effects of space dilation caused by specific bluespace structures combined with a precise use of geometric calculus, I've discovered a way to correlate an infinite amount of space within a finite area!
+ While the potential applications are endless, I utilized it in quite a nifty way so far by designing a system that recursively constructs subspace rooms and spatially links them to any of the infinite infinitesimally distinct points on the spheres surface.
+ I call it: Hilbert's Hotel!
+ Goodbye
+ I can't take this anymore. I know what happens next, and the fear of what is coming leaves me unable to continue working.
+ Any fool in my field has heard the stories. It's not that I didn't believe them, it's just... I guess I underestimated the importance of my own research...
+ Robert has reported a further increase in frequency of the strange, prying visitors who ask questions they have no business asking. I've requested him to keep everything on strict lockdown and have permanently dismissed all other assistants.
+ I've also instructed him to use the encryption method we discussed for any important quantitative data. The poor lad... I don't think he truly understands what he's gotten himself into...
+ It's clear what happens now. One day they'll show up uninvited, and claim my research as their own, leaving me as nothing more than a bullet ridden corpse floating in space.
+ I can't stick around to the let that happen.
+ I'm escaping into the very thing that brought all this trouble to my doorstep in the first place - my hotel.
+ I'll be in [uppertext(num2hex(GLOB.hhmysteryRoomNumber, 0))] (That will make sense to anyone who should know)
+ I'm sorry that I must go like this. Maybe one day things will be different and it will be safe to return... maybe...
+ Goodbye
+
+ Doctor Hilbert"}
+
+/obj/item/paper/crumpled/robertsworkjournal
+ name = "Work Journal"
+ info = {"First Week!
+ First week on the new job. It's a secretarial position, but hey, whatever pays the bills. Plus it seems like some interesting stuff goes on here.
+ Doc says its best that I don't openly talk about his research with others, I guess he doesn't want it getting out or something. I've caught myself slipping a few times when talking to others, it's hard not to brag about something this cool!
+ I'm not really sure why I'm choosing to journal this. Doc seems to log everything. He says it's incase he discovers anything important.
+ I guess that's why I'm doing it too, I've always wanted to be a part of something important.
+ Here's to a new job and to becoming a part of something important!
+ Weird times...
+ Things are starting to get a little strange around here. Just weeks after Doc's amazing breakthrough, weird visitors have began showing up unannounced, asking strange things about Doc's work.
+ I knew Doc wasn't a big fan of company, but even he seemed strangely unnerved when I told him about the visitors.
+ He said it's important that from here on out we keep tight security on everything, even other staff members.
+ He also said something about securing data, something about hexes. What's that mean? Some sort of curse? Doc never struck me as the magic type...
+ He often uses a lot of big sciencey words that I don't really understand, but I kinda dig it, it makes me feel like I'm witnessing something big.
+ I hope things go back to normal soon, but I guess that's the price you pay for being a part of something important.
+ Last day I guess?
+ Things are officially starting to get too strange for me.
+ The visitors have been coming a lot more often, and they all seem increasingly aggressive and nosey. I'm starting to see why they made Doc so nervous, they're certainly starting to creep me out too.
+ Awhile ago Doc started having me keep the place on strict lockdown and requested I refuse entry to anyone else, including previous staff.
+ But the weirdest part?
+ I haven't seen Doc in days. It's not unusual for him to work continuously for long periods of time in the lab, but when I took a peak in their yesterday - he was nowhere to be seen! I didn't risk prying much further, Doc had a habit of leaving the defense systems on these last few weeks.
+ I'm thinking it might be time to call it quits. Can't work much without a boss, plus things are starting to get kind of shady. I wanted to be a part of something important, but you gotta know when to play it safe.
+ As my dad always said, "The smart get famous, but the wise survive..."
+
+ Robert P."}
+
+/obj/item/paper/crumpled/bloody/docsdeathnote
+ name = "note"
+ info = {"This is it isn't it?
+ No one's coming to help, that much has become clear.
+ Sure, it's lonely, but do I have much choice? At least I brought the analyzer with me, they shouldn't be able to find me without it.
+ Who knows who's waiting for me out there. Its either die out there in their hands, or die a slower, slightly more comfortable death in here.
+ Everyday I can feel myself slipping away more and more, both physically and mentally. Who knows what happens now...
+ Heh, so it's true then, this must be the inescapable path of all great minds... so be it then.
+
+
+
+ Choose a room, and enter the sphere
+ Lay your head to rest, it soon becomes clear
+ There's always more room around every bend
+ Not all that's countable has an end..."}
diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm
index faaa049cc439..63bca5530ba8 100644
--- a/code/modules/shuttle/supply.dm
+++ b/code/modules/shuttle/supply.dm
@@ -24,7 +24,8 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
/obj/effect/portal,
/obj/item/shared_storage,
/obj/structure/extraction_point,
- /obj/machinery/syndicatebomb
+ /obj/machinery/syndicatebomb,
+ /obj/item/hilbertshotel
)))
/obj/docking_port/mobile/supply
diff --git a/code/modules/spells/spell_types/summonitem.dm b/code/modules/spells/spell_types/summonitem.dm
index fe00904c40bd..61893ef1e309 100644
--- a/code/modules/spells/spell_types/summonitem.dm
+++ b/code/modules/spells/spell_types/summonitem.dm
@@ -61,6 +61,10 @@
organ.Remove(organ.owner)
else
while(!isturf(item_to_retrieve.loc) && infinite_recursion < 10) //if it's in something you get the whole thing.
+ if(isitem(item_to_retrieve.loc))
+ var/obj/item/I = item_to_retrieve.loc
+ if(I.item_flags & ABSTRACT) //Being able to summon abstract things because your item happened to get placed there is a no-no
+ break
if(ismob(item_to_retrieve.loc)) //If its on someone, properly drop it
var/mob/M = item_to_retrieve.loc
diff --git a/config/spaceruinblacklist.txt b/config/spaceruinblacklist.txt
index c84fe5ddbf1b..44495d1ba1b8 100644
--- a/config/spaceruinblacklist.txt
+++ b/config/spaceruinblacklist.txt
@@ -27,6 +27,7 @@
#_maps/RandomRuins/SpaceRuins/emptyshell.dmm
#_maps/RandomRuins/SpaceRuins/gasthelizards.dmm
#_maps/RandomRuins/SpaceRuins/gondolaasteroid.dmm
+#_maps/RandomRuins/SpaceRuins/hilbertshoteltestingsite.dmm
#_maps/RandomRuins/SpaceRuins/intactemptyship.dmm
#_maps/RandomRuins/SpaceRuins/listeningstation.dmm
#_maps/RandomRuins/SpaceRuins/mechtransport.dmm
@@ -45,3 +46,4 @@
#_maps/RandomRuins/SpaceRuins/way_home.dmm
#_maps/RandomRuins/SpaceRuins/whiteshipdock.dmm
#_maps/RandomRuins/SpaceRuins/whiteshipruin_box.dmm
+
diff --git a/icons/mob/actions.dmi b/icons/mob/actions.dmi
index 7df2abd776bb..fa2d3f3e15cf 100644
Binary files a/icons/mob/actions.dmi and b/icons/mob/actions.dmi differ
diff --git a/icons/obj/device.dmi b/icons/obj/device.dmi
index 80df1b98dc97..ad229291c214 100644
Binary files a/icons/obj/device.dmi and b/icons/obj/device.dmi differ
diff --git a/icons/obj/items_and_weapons.dmi b/icons/obj/items_and_weapons.dmi
index 8beafee5b2ae..6451922de075 100644
Binary files a/icons/obj/items_and_weapons.dmi and b/icons/obj/items_and_weapons.dmi differ
diff --git a/icons/turf/areas.dmi b/icons/turf/areas.dmi
index 01cb909d2706..992b37cc3dd8 100644
Binary files a/icons/turf/areas.dmi and b/icons/turf/areas.dmi differ
diff --git a/icons/turf/space.dmi b/icons/turf/space.dmi
index d32279e70412..33e3fab9a478 100644
Binary files a/icons/turf/space.dmi and b/icons/turf/space.dmi differ
diff --git a/icons/turf/walls.dmi b/icons/turf/walls.dmi
index 3290e3f92c3f..dd6c7f3a7c08 100644
Binary files a/icons/turf/walls.dmi and b/icons/turf/walls.dmi differ
diff --git a/sound/ambience/servicebell.ogg b/sound/ambience/servicebell.ogg
new file mode 100644
index 000000000000..f55c7d5a7591
Binary files /dev/null and b/sound/ambience/servicebell.ogg differ
diff --git a/tgstation.dme b/tgstation.dme
index 430920bca275..15521633864c 100644
--- a/tgstation.dme
+++ b/tgstation.dme
@@ -2512,6 +2512,7 @@
#include "code\modules\ruins\spaceruin_code\crashedship.dm"
#include "code\modules\ruins\spaceruin_code\deepstorage.dm"
#include "code\modules\ruins\spaceruin_code\DJstation.dm"
+#include "code\modules\ruins\spaceruin_code\hilbertshotel.dm"
#include "code\modules\ruins\spaceruin_code\listeningstation.dm"
#include "code\modules\ruins\spaceruin_code\miracle.dm"
#include "code\modules\ruins\spaceruin_code\oldstation.dm"
diff --git a/yogstation.dme b/yogstation.dme
index 44d2439ef5aa..a29d70e22053 100644
--- a/yogstation.dme
+++ b/yogstation.dme
@@ -2508,6 +2508,7 @@
#include "code\modules\ruins\spaceruin_code\crashedship.dm"
#include "code\modules\ruins\spaceruin_code\deepstorage.dm"
#include "code\modules\ruins\spaceruin_code\DJstation.dm"
+#include "code\modules\ruins\spaceruin_code\hilbertshotel.dm"
#include "code\modules\ruins\spaceruin_code\listeningstation.dm"
#include "code\modules\ruins\spaceruin_code\miracle.dm"
#include "code\modules\ruins\spaceruin_code\oldstation.dm"