Skip to content

Commit

Permalink
Fixes Hilbert Hotel room spawns (#1933)
Browse files Browse the repository at this point in the history
Fixed and flavored

Co-authored-by: Zergspower <[email protected]>
  • Loading branch information
Steals-The-PRs and Zergspower authored Feb 11, 2024
1 parent 5379df1 commit a7215b3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
6 changes: 4 additions & 2 deletions code/modules/mapfluff/ruins/spaceruin_code/hilbertshotel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
var/list/static/hotel_maps = list("Generic", "Apartment", "Beach Condo")
//standart - hilber's hotel room
//apartment - see /datum/map_template/ghost_cafe_rooms
var/datum/map_template/ghost_cafe_rooms/ghost_cafe_rooms_apartment
var/datum/map_template/ghost_cafe_rooms/apartment/ghost_cafe_rooms_apartment
var/datum/map_template/ghost_cafe_rooms/beach_condo/ghost_cafe_rooms_beach_condo
//NOVA EDIT END
var/datum/map_template/hilbertshotel/hotelRoomTemp
var/datum/map_template/hilbertshotel/empty/hotelRoomTempEmpty
Expand All @@ -34,6 +35,7 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
hotelRoomTempLore = new()
//NOVA EDIT ADDITION - GHOST HOTEL UPDATE
ghost_cafe_rooms_apartment = new()
ghost_cafe_rooms_beach_condo = new()
//NOVA EDIT END
var/area/currentArea = get_area(src)
if(currentArea.type == /area/ruin/space/has_grav/powered/hilbertresearchfacility/secretroom)
Expand Down Expand Up @@ -179,7 +181,7 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
else if(chosen_room == "Apartment")
load_from = ghost_cafe_rooms_apartment
else if(chosen_room == "Beach Condo")
load_from = ghost_cafe_rooms_apartment
load_from = ghost_cafe_rooms_beach_condo
//NOVA EDIT ADDITION END

load_from.load(bottom_left)
Expand Down
4 changes: 2 additions & 2 deletions modular_nova/modules/ghostcafe/code/hilbertshotel_ghost.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
/obj/item/hilbertshotel/ghostdojo/attack_robot(mob/living/user)
attack_hand(user)

/datum/map_template/ghost_cafe_rooms
/datum/map_template/ghost_cafe_rooms/apartment
name = "Apartment"
mappath = "modular_nova/modules/hotel_rooms/apartment.dmm"

/datum/map_template/ghost_cafe_rooms
/datum/map_template/ghost_cafe_rooms/beach_condo
name = "Beach Condo"
mappath = "modular_nova/modules/hotel_rooms/beach_condo.dmm"
39 changes: 35 additions & 4 deletions modular_nova/modules/hotel_rooms/beach_condo.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@
/obj/effect/turf_decal/siding/white{
dir = 1
},
/obj/item/knife/kitchen,
/turf/open/floor/iron/kitchen,
/area/misc/hilbertshotel)
"cj" = (
/obj/effect/light_emitter/interlink,
/obj/item/toy/plush/carpplushie,
/turf/open/water/beach,
/area/misc/hilbertshotel)
"ct" = (
/turf/closed/wall/mineral/wood,
/area/misc/hilbertshotel)
Expand Down Expand Up @@ -112,8 +118,15 @@
/obj/effect/turf_decal/siding/wood{
dir = 10
},
/obj/machinery/light_switch/directional/west,
/turf/open/floor/wood/parquet,
/area/misc/hilbertshotel)
"mH" = (
/obj/machinery/jukebox{
req_access = null
},
/turf/open/misc/beach/sand,
/area/misc/hilbertshotel)
"na" = (
/obj/effect/turf_decal/siding/wood,
/turf/open/floor/carpet/lone,
Expand Down Expand Up @@ -172,6 +185,9 @@
/area/misc/hilbertshotel)
"tR" = (
/obj/machinery/shower/directional/east,
/obj/structure/drain/big,
/obj/item/soap/deluxe,
/obj/structure/curtain,
/turf/open/indestructible/bathroom,
/area/misc/hilbertshotel)
"wa" = (
Expand Down Expand Up @@ -205,6 +221,9 @@
/obj/effect/turf_decal/siding/wood{
dir = 9
},
/obj/structure/sign/painting/large/library{
dir = 1
},
/turf/open/floor/wood,
/area/misc/hilbertshotel)
"yH" = (
Expand All @@ -229,13 +248,15 @@
/obj/effect/turf_decal/siding/wood{
dir = 9
},
/obj/item/kirbyplants/random,
/obj/structure/bed/dogbed,
/obj/item/toy/plush/shark,
/turf/open/floor/wood/large,
/area/misc/hilbertshotel)
"Dg" = (
/obj/structure/toilet{
dir = 1
dir = 4
},
/obj/structure/window/spawner/directional/north,
/turf/open/indestructible/bathroom,
/area/misc/hilbertshotel)
"EI" = (
Expand All @@ -249,6 +270,7 @@
/obj/effect/turf_decal/siding/wood{
dir = 5
},
/obj/item/kirbyplants/random,
/turf/open/floor/wood/parquet,
/area/misc/hilbertshotel)
"FN" = (
Expand Down Expand Up @@ -324,6 +346,10 @@
/obj/effect/turf_decal/siding/wood{
dir = 1
},
/obj/item/pizzabox/margherita{
pixel_y = 11
},
/obj/item/storage/cans/sixbeer,
/turf/open/floor/wood/parquet,
/area/misc/hilbertshotel)
"KQ" = (
Expand All @@ -344,12 +370,14 @@
/area/misc/hilbertshotel)
"Lv" = (
/obj/structure/sink/directional/north,
/obj/structure/mirror/directional/south,
/turf/open/indestructible/bathroom,
/area/misc/hilbertshotel)
"LF" = (
/obj/effect/turf_decal/siding/wood{
dir = 5
},
/obj/machinery/light_switch/directional/north,
/turf/open/floor/wood,
/area/misc/hilbertshotel)
"MB" = (
Expand All @@ -363,6 +391,7 @@
dir = 4
},
/obj/machinery/light/floor,
/obj/machinery/light_switch/directional/south,
/turf/open/floor/wood/large,
/area/misc/hilbertshotel)
"MP" = (
Expand Down Expand Up @@ -419,6 +448,7 @@
/obj/structure/chair/comfy/teal{
dir = 8
},
/obj/machinery/light_switch/directional/east,
/turf/open/floor/wood/large,
/area/misc/hilbertshotel)
"SS" = (
Expand All @@ -436,6 +466,7 @@
pixel_x = 2;
pixel_y = 3
},
/obj/item/serviette_pack,
/turf/open/floor/wood/large,
/area/misc/hilbertshotel)
"ZE" = (
Expand Down Expand Up @@ -481,7 +512,7 @@ ra
(3,1,1) = {"
ra
en
en
cj
en
en
iQ
Expand Down Expand Up @@ -672,7 +703,7 @@ en
en
iQ
SS
br
mH
fA
fA
FJ
Expand Down

0 comments on commit a7215b3

Please sign in to comment.