diff --git a/media/attribution.js b/media/attribution.js index 7d4d4154..596f6c2f 100644 --- a/media/attribution.js +++ b/media/attribution.js @@ -1092,8 +1092,7 @@ const attributionData = { files: [ { name: "house.svg", source: null }, { name: "mailbox.svg", source: null }, - { name: "mobile-home.svg", source: null }, - { name: "doorway.svg", source: null }, + { name: "mobile-home.svg", source: null } ], authors: [ "chemicalcrux" @@ -1181,6 +1180,15 @@ const attributionData = { "energytransition" ] }, + { + prefix: "./media/buildings/doorways/", + files: [ + { name: "residential.svg", source: null }, + ], + authors: [ + "chemicalcrux" + ] + }, { prefix: "./media/buildings/", files: [ diff --git a/media/buildings/doorway.svg b/media/buildings/doorways/residential.svg similarity index 100% rename from media/buildings/doorway.svg rename to media/buildings/doorways/residential.svg diff --git a/presets/buildings.js b/presets/buildings.js index b9b0dc73..e82064ee 100644 --- a/presets/buildings.js +++ b/presets/buildings.js @@ -219,14 +219,16 @@ function makeBuildings() { ) }); - results.push({ - name: "Doorway", - constructor: () => makeBuilding( - "Doorway", - math.unit(83, "inches"), - { source: "./media/buildings/doorway.svg" } + results.push( + makeHeight( + [ + ["residential", 83, "inches"] + ], + "Doorways", + "", + "buildings" ) - }); + ) results.sort((b1, b2) => { e1 = b1.constructor();