Path: blob/main/src/components/Images.js
270 views
///SHOW STAGE1import Stage from "../media/Textures/Cams/Stage.webp";2import Stage_b_c_f from "../media/Textures/Cams/Stage-b-c-f.webp";3import Stage_b_f from "../media/Textures/Cams/Stage-b-f.webp";4import Stage_c_f from "../media/Textures/Cams/Stage-c-f.webp";5import Stage_f from "../media/Textures/Cams/Stage-f.webp";67///DINNING AREA8import DinningArea from "../media/Textures/Cams/DinningArea.webp";9import DinningArea_b from "../media/Textures/Cams/DinningArea-b.webp";10import DinningArea_c from "../media/Textures/Cams/DinningArea-c.webp";11import DinningArea_f from "../media/Textures/Cams/DinningArea-f.webp";12import DinningArea_b_c from "../media/Textures/Cams/DinningArea-b-c.webp";13import DinningArea_c_f from "../media/Textures/Cams/DinningArea-c-f.webp";14import DinningArea_b_f from "../media/Textures/Cams/DinningArea-b-f.webp";15import DinningArea_b_c_f from "../media/Textures/Cams/DinningArea-b-c-f.webp";1617///BACKSTAGE18import Backstage from "../media/Textures/Cams/Backstage.webp";19import Backstage_b from "../media/Textures/Cams/Backstage-b.webp";2021///PIRATE COVE22import PirateCove from "../media/Textures/Cams/Pirate_Cove.webp";23import PirateCove_1 from "../media/Textures/Cams/Pirate_Cove-1.webp";24import PirateCove_2 from "../media/Textures/Cams/Pirate_Cove-2.webp";25import PirateCove_3 from "../media/Textures/Cams/Pirate_Cove-3.webp";2627///SUPPLY ROOM28import SupplyCloset from "../media/Textures/Cams/SupplyRoom.webp";29import SupplyCloset_b from "../media/Textures/Cams/SupplyRoom-b.webp";3031///WEST HALL32import WestHall from "../media/Textures/Cams/West_Hall.webp";33import WestHall_b from "../media/Textures/Cams/West_Hall-b.webp";34import FoxyHallway from "../media/Textures/Foxy-Hallway.webp";3536///WEST HALL CORNER37import WHallCorner from "../media/Textures/Cams/WHallCorner.webp";38import WHallCorner_b from "../media/Textures/Cams/WHallCorner-b.webp";3940///RESTROOMS41import Restrooms from "../media/Textures/Cams/Restrooms.webp";42import Restrooms_c from "../media/Textures/Cams/Restrooms-c.webp";43import Restrooms_f from "../media/Textures/Cams/Restrooms-f.webp";44import Restrooms_c_f from "../media/Textures/Cams/Restrooms-c-f.webp";4546///EAST HALL47import EastHall from "../media/Textures/Cams/East_Hall.webp";48import EastHall_c from "../media/Textures/Cams/East_Hall-c.webp";49import EastHall_f from "../media/Textures/Cams/East_Hall-f.webp";50import EastHall_c_f from "../media/Textures/Cams/East_Hall-c-f.webp";5152///EAST HALL CORNER53import EHallCorner from "../media/Textures/Cams/EHallCorner.webp";54import EHallCorner_c from "../media/Textures/Cams/EHallCorner-c.webp";55import EHallCorner_f from "../media/Textures/Cams/EHallCorner-f.webp";5657import Kitchen from "../media/Textures/black.jpg";58import Kitchen_c from "../media/Textures/black.jpg";59import Kitchen_f from "../media/Textures/black.jpg";60import Kitchen_c_f from "../media/Textures/black.jpg";6162const cameraImages = {63Stage,64Stage_b_c_f,65Stage_b_f,66Stage_c_f,67Stage_f,68DinningArea,69DinningArea_b_c_f,70DinningArea_c_f,71DinningArea_b_f,72DinningArea_b_c,73DinningArea_b,74DinningArea_c,75DinningArea_f,76Backstage,77Backstage_b,78SupplyCloset,79SupplyCloset_b,80WestHall,81WestHall_b,82WHallCorner,83WHallCorner_b,84Restrooms,85Restrooms_c,86Restrooms_c_f,87Restrooms_f,88EastHall,89EastHall_c,90EastHall_c_f,91EastHall_f,92EHallCorner,93EHallCorner_c,94EHallCorner_f,95EHallCorner_c_f: EHallCorner_f,96PirateCove,97PirateCove_1,98PirateCove_2,99PirateCove_3,100Kitchen,101Kitchen_c,102Kitchen_f,103Kitchen_c_f,104};105106export default function getCam(animatronics, camera, foxy = "") {107let location = camera.trim().replaceAll(" ", "");108109if (location === "W.HallCorner") location = "WHallCorner";110if (location === "E.HallCorner") location = "EHallCorner";111112return cameraImages[113`${location}${animatronics}${location === "PirateCove" ? foxy : ""}`114];115}116117118