Browse Source

Add a staircase

master
Fen Dweller 4 years ago
parent
commit
626abf2fe7
3 changed files with 57 additions and 0 deletions
  1. +9
    -0
      media/attribution.js
  2. +39
    -0
      media/buildings/staircase.svg
  3. +9
    -0
      presets/buildings.js

+ 9
- 0
media/attribution.js View File

@@ -1189,6 +1189,15 @@ const attributionData = {
"denis-shusterman"
]
},
{
prefix: "./media/buildings/",
files: [
{ name: "staircase.svg", source: "https://www.dimensions.com/element/half-turn-switchback-u-shaped-stairs" }
],
authors: [
"dimensions-guide"
]
},
{
prefix: "./media/characters/abbott-absol/",
files: [


+ 39
- 0
media/buildings/staircase.svg View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="460.69" height="449.34" viewBox="0 0 460.69 449.34" style="enable-background:new 0 0 460.69 449.34;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1A1A1A;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st1{fill:#1A1A1A;stroke:#000000;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
</style>
<g id="AG-PEOPLE">
</g>
<g>
<g id="POLYLINE_935_">
<polyline class="st0" points="104.4,286.29 356.54,124.48 459.69,124.48 459.69,104.26 325.02,104.26 325.02,124.48 293.5,124.48
293.5,144.71 261.98,144.71 261.98,164.94 230.47,164.94 230.47,185.16 198.95,185.16 198.95,205.39 167.43,205.39 167.43,225.61
135.92,225.61 135.92,245.84 104.4,245.84 104.4,266.06 "/>
</g>
<g id="POLYLINE_934_">
<path class="st0" d="M359.4,1.11c-6.4,0-12.79,0-19.19,0c-3.98,0-7.96,0-11.95,0c-0.96,0-2.4-0.28-3.31,0.04
c-0.38,0.13-0.78,0.5-1.12,0.72c-0.82,0.52-1.63,1.05-2.45,1.57c-2.86,1.83-5.72,3.67-8.57,5.5c-4.27,2.74-8.53,5.48-12.8,8.21
c-5.44,3.49-10.89,6.99-16.33,10.48c-6.38,4.1-12.77,8.19-19.15,12.29c-7.08,4.54-14.17,9.09-21.25,13.64
c-7.54,4.84-15.09,9.68-22.63,14.52c-7.8,5-15.59,10-23.38,15.01c-7.75,4.97-15.5,9.95-23.25,14.92
c-7.49,4.81-14.99,9.62-22.48,14.43c-7.02,4.51-14.05,9.01-21.07,13.52c-6.26,4.02-12.52,8.04-18.79,12.06
c-5.29,3.39-10.58,6.79-15.87,10.18c-4.08,2.62-8.16,5.23-12.23,7.85c-2.63,1.69-5.26,3.37-7.88,5.06c-0.7,0.45-1.4,0.9-2.1,1.35
c-0.21,0.13-0.48,0.39-0.72,0.46c-0.46,0.14-1.16,0-1.63,0c-1.48,0-2.95,0-4.43,0c-4.34,0-8.68,0-13.03,0c-3.97,0-7.95,0-11.92,0
c-1.3,0-3.59-0.43-4.72,0.47c-1.6,1.28-0.6,3.7,1.32,3.82c2.15,0.14,4.35,0,6.5,0c8.38,0,16.76,0,25.15,0c1.12,0,2.24,0,3.37,0
c0.21,0,0.48,0.04,0.68-0.02c0.33-0.1,0.69-0.44,0.98-0.63c1.96-1.26,3.93-2.52,5.89-3.78c3.51-2.25,7.02-4.51,10.54-6.76
c4.82-3.09,9.64-6.19,14.46-9.28c5.91-3.8,11.83-7.59,17.75-11.39c6.73-4.32,13.46-8.63,20.18-12.95
c7.32-4.7,14.64-9.39,21.96-14.09c7.7-4.94,15.4-9.88,23.1-14.83c7.79-5,15.58-10,23.37-14.99c7.66-4.92,15.33-9.84,22.99-14.76
c7.3-4.68,14.6-9.37,21.9-14.06c6.7-4.3,13.4-8.6,20.1-12.9c5.88-3.77,11.76-7.54,17.63-11.32c4.77-3.06,9.55-6.13,14.32-9.19
c3.46-2.22,6.91-4.43,10.37-6.65c1.9-1.22,3.8-2.44,5.7-3.66c0.25-0.16,0.57-0.46,0.86-0.55c0.31-0.09,0.78-0.01,1.09-0.01
c1.35,0,2.7,0,4.05,0c8.26,0,16.51,0,24.77,0c1.27,0,3.43,0.4,4.54-0.45C362.31,3.73,361.4,1.13,359.4,1.11z"/>
</g>
<g id="POLYLINE_762_">
<polygon class="st1" points="356.54,448.09 325.02,448.09 72.88,286.29 1.25,286.29 1.25,266.06 104.4,266.06 104.4,286.29
135.92,286.29 135.92,306.51 167.43,306.51 167.43,326.74 198.95,326.74 198.95,346.96 230.47,346.96 230.47,367.19
261.98,367.19 261.98,387.41 293.5,387.41 293.5,407.64 325.02,407.64 325.02,427.86 356.54,427.86 "/>
</g>
</g>
</svg>

+ 9
- 0
presets/buildings.js View File

@@ -210,6 +210,15 @@ function makeBuildings() {
)
});

results.push({
name: "Staircase",
constructor: () => makeBuilding(
"Staircase",
math.unit(12.956, "feet"),
{ source: "./media/buildings/staircase.svg" }
)
});

results.sort((b1, b2) => {
e1 = b1.constructor();
e2 = b2.constructor();


Loading…
Cancel
Save