Jan. 18th, 2021
Build-a-Floorplan

Information
Hey guys! Today it's time for something I've been wanting to do for ages—a customizable apartment guide! Unlike most of my codes, you'll put this one together in pieces, starting with your base, then choosing a floorplan for each floor, and finally your tenant styling. If you have more than roughly 90 characters to house, I recommend using the Simple Text tenant formatting to ensure you don't run out of space in your entry, but this code should give you a lot of mileage before you hit the character limit.If you're using more than one building's floorplan in the same entry, I also recommend renaming the anchors before adding too much to a building's floorplan. So, if you have two different apartment buildings and two copies of this code, I'd recommend renaming with the building name before the numbers in the anchors and links; example:
a name="buildingname-1"
for the first floor's anchor and a href="#buildingname-1"
for its corresponding nav link.Enjoy! 💖
Step 1: Base
This is the base code for all floorplan configurations. Paste this and start choosing your options!Step 2: Floorplan
Choose the floorplan that works best for your needs and paste it into the base code. After choosing your tenant style, copy/paste the floorplan as many times as needed, once for each floor.Step 3: Tenants
Choose your preferred style for each room, then paste into the appropriate areas.Editing Guide
Paste the coding into Notepad or similar and bring up Replace All (usually Ctrl+H) to replace values quickly and easily!FONTS
calibri,sans-serif - All text
IMAGES
https://i.imgur.com/M9sfHcW.png - Default icon (styled tenants)
OTHER
opacity:0.06; - Hallway text
opacity:0.2; - Room number text (styled icons)
COLORS
Terms of Use
♡ Do not remove credit.♡ Do not redistribute my codes in part or in whole (posting a copy for players to use in your game is fine with a link to original post.)
♡ If you break something during editing, please feel free to drop me a comment and I'll help as best I can!
♡ I love seeing edits! This isn't a rule, but if you have a cool edit of one of my codes I'd love to see it!
Comments