Merge pull request #13321 from Putnam3145/fix-ghost-dorm

Makes ghost dojo hilbert hotel's numbers less trivially deducible.
This commit is contained in:
silicons
2020-09-04 12:56:50 -07:00
committed by GitHub
@@ -183,6 +183,13 @@ GLOBAL_VAR_INIT(hhmysteryRoomNumber, 1337)
. = ..()
promptAndCheckIn(user)
/obj/item/hilbertshotel/ghostdojo/linkTurfs(datum/turf_reservation/currentReservation, currentRoomnumber)
. = ..()
var/area/hilbertshotel/currentArea = get_area(locate(currentReservation.bottom_left_coords[1], currentReservation.bottom_left_coords[2], currentReservation.bottom_left_coords[3]))
for(var/turf/closed/indestructible/hoteldoor/door in currentArea)
door.parentSphere = src
door.desc = "The door to this hotel room. Strange, this door doesnt even seem openable. The doorknob, however, seems to buzz with unusual energy...<br /><span class='info'>Alt-Click to look through the peephole.</span>"
//Template Stuff
/datum/map_template/hilbertshotel
name = "Hilbert's Hotel Room"