mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Ports Beach Condo infinidorm from Nova, adds two new ones (#29552)
* infinidorms * others
This commit is contained in:
@@ -8,12 +8,18 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
|
||||
icon_state = "hilbertshotel"
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
//SKYRAT EDIT ADDITION - GHOST HOTEL UPDATE
|
||||
var/list/static/hotel_maps = list("Generic", "Apartment")
|
||||
//SKYRAT EDIT ADDITION - GHOST HOTEL UPDATE + EXTRA STUFF
|
||||
var/list/static/hotel_maps = list("Generic", "Apartment", "Beach Condo", "Station Side", "Library")
|
||||
//standart - hilber's hotel room
|
||||
//apartment - see /datum/map_template/ghost_cafe_rooms
|
||||
var/datum/map_template/ghost_cafe_rooms/ghost_cafe_rooms_apartment
|
||||
//SKYRAT EDIT END
|
||||
//beach condo - Beach themed apartment
|
||||
//stationside - a station-themed hotel room
|
||||
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
|
||||
var/datum/map_template/ghost_cafe_rooms/stationside/ghost_cafe_rooms_stationside
|
||||
var/datum/map_template/ghost_cafe_rooms/library/ghost_cafe_rooms_library
|
||||
//Skyrat EDIT END
|
||||
|
||||
var/datum/map_template/hilbertshotel/hotelRoomTemp
|
||||
var/datum/map_template/hilbertshotel/empty/hotelRoomTempEmpty
|
||||
var/datum/map_template/hilbertshotel/lore/hotelRoomTempLore
|
||||
@@ -34,7 +40,11 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
|
||||
hotelRoomTempLore = new()
|
||||
//SKYRAT EDIT ADDITION - GHOST HOTEL UPDATE
|
||||
ghost_cafe_rooms_apartment = new()
|
||||
ghost_cafe_rooms_beach_condo = new()
|
||||
ghost_cafe_rooms_stationside = new()
|
||||
ghost_cafe_rooms_library = new()
|
||||
//SKYRAT EDIT END
|
||||
|
||||
var/area/currentArea = get_area(src)
|
||||
if(currentArea.type == /area/ruin/space/has_grav/powered/hilbertresearchfacility/secretroom)
|
||||
ruinSpawned = TRUE
|
||||
@@ -176,9 +186,22 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
|
||||
if(ruinSpawned && roomNumber == GLOB.hhMysteryRoomNumber)
|
||||
load_from = hotelRoomTempLore
|
||||
//SKYRAT EDIT ADDITION START - GHOST HOTEL UPDATE
|
||||
//else if(chosen_room == "Apartment")
|
||||
// load_from = ghost_cafe_rooms_apartment
|
||||
//SKYRAT EDIT ADDITION END
|
||||
|
||||
//BUBBER EDIT ADDITION START - GHOST HOTEL UPDATE
|
||||
else if(chosen_room == "Apartment")
|
||||
load_from = ghost_cafe_rooms_apartment
|
||||
//SKYRAT EDIT ADDITION END
|
||||
|
||||
else if(chosen_room == "Beach Condo")
|
||||
load_from = ghost_cafe_rooms_beach_condo
|
||||
|
||||
else if(chosen_room == "Station Side")
|
||||
load_from = ghost_cafe_rooms_stationside
|
||||
else if(chosen_room == "Library")
|
||||
load_from = ghost_cafe_rooms_library
|
||||
//BUBBER EDIT ADDITION END
|
||||
|
||||
load_from.load(bottom_left)
|
||||
activeRooms["[roomNumber]"] = roomReservation
|
||||
|
||||
Reference in New Issue
Block a user