Procházet zdrojové kódy

Add bus stops

tags/v0.1.0
Fen Dweller před 5 roky
rodič
revize
ea701a0082
3 změnil soubory, kde provedl 69 přidání a 1 odebrání
  1. +9
    -1
      media/attribution.js
  2. +51
    -0
      media/buildings/bus-stop.svg
  3. +9
    -0
      presets/buildings.js

+ 9
- 1
media/attribution.js Zobrazit soubor

@@ -1087,7 +1087,6 @@ const attributionData = {
"pokemon" "pokemon"
] ]
}, },

{ {
prefix: "./media/buildings/", prefix: "./media/buildings/",
files: [ files: [
@@ -1099,6 +1098,15 @@ const attributionData = {
"chemicalcrux" "chemicalcrux"
] ]
}, },
{
prefix: "./media/buildings/",
files: [
{ name: "bus-stop.svg", source: "https://www.dimensions.guide/element/covered-bus-stop" },
],
authors: [
"dimensions-guide"
]
},
{ {
prefix: "./media/buildings/skyscrapers/", prefix: "./media/buildings/skyscrapers/",
files: [ files: [


+ 51
- 0
media/buildings/bus-stop.svg Zobrazit soubor

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.2, 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"
viewBox="0 0 388.42 559.86" style="enable-background:new 0 0 388.42 559.86;" xml:space="preserve">
<style type="text/css">
.st0{stroke:#000000;stroke-width:7;stroke-miterlimit:10;}
</style>
<g id="N-TEXT">
</g>
<g>
<polyline class="st0" points="42.96,520.8 155.62,520.8 187.94,520.8 304.72,520.8 "/>
<polyline class="st0" points="42.96,303.09 87.59,303.09 135.3,303.09 304.72,303.09 "/>
<rect x="304.72" y="22.17" width="14.32" height="63.21"/>
<rect x="304.72" y="520.8" width="14.32" height="39.06"/>
<rect x="28.64" y="520.8" width="14.32" height="39.06"/>
<line class="st0" x1="42.96" y1="85.38" x2="304.72" y2="85.38"/>
<rect x="304.72" y="288.77" width="14.32" height="28.65"/>
<rect x="304.72" y="506.48" width="14.32" height="14.32"/>
<rect x="304.72" y="85.38" width="14.32" height="435.42"/>
<rect x="304.72" y="85.38" width="14.32" height="14.32"/>
<path d="M28.64,99.71c1.37,0,14.32,0.02,14.32-0.02c0-1.42,0.07-14.31-0.07-14.31c-1.35,0-14.25-0.02-14.25,0.02
C28.64,90.17,28.64,94.94,28.64,99.71z"/>
<path d="M28.64,317.41c1.35,0,14.32,0.01,14.32-0.01c0-5.06,0-10.13,0-15.19c0-3.26,0-6.51,0-9.76c0-0.39,0.19-3.68-0.15-3.68
c-2.84,0-5.69,0-8.53,0c-0.51,0-5.64-0.17-5.64,0.14C28.64,298.41,28.64,307.91,28.64,317.41z"/>
<path d="M28.64,520.8c1.37,0,14.32,0.02,14.32-0.02c0-1.42,0.07-14.31-0.07-14.31c-1.35,0-14.25-0.02-14.25,0.02
C28.64,511.26,28.64,516.03,28.64,520.8z"/>
<path d="M28.64,520.8c0-1.89,0-3.77,0-5.66c0-5.31,0-10.61,0-15.92c0-8.19,0-16.39,0-24.58c0-10.55,0-21.1,0-31.64
c0-12.37,0-24.74,0-37.11c0-13.66,0-27.32,0-40.98c0-14.42,0-28.83,0-43.25c0-14.64,0-29.28,0-43.92c0-14.33,0-28.67,0-43
c0-13.49,0-26.99,0-40.48c0-12.12,0-24.24,0-36.37c0-10.22,0-20.44,0-30.65c0-7.78,0-15.56,0-23.34c0-4.81,0-9.62,0-14.43
c0-1.13,0-2.25,0-3.38c0-0.21,0-0.43,0-0.64c0-0.12,3.14-0.05,3.39-0.05c3.26,0,6.52,0,9.79,0c0.29,0,1.14-0.25,1.14,0.16
c0,0.79,0,1.59,0,2.38c0,4.22,0,8.44,0,12.66c0,7.29,0,14.57,0,21.86c0,9.82,0,19.64,0,29.46c0,11.82,0,23.64,0,35.46
c0,13.29,0,26.57,0,39.86c0,14.22,0,28.44,0,42.67c0,14.63,0,29.25,0,43.88c0,14.5,0,28.99,0,43.49c0,13.83,0,27.67,0,41.51
c0,12.64,0,25.28,0,37.92c0,10.91,0,21.83,0,32.74c0,8.66,0,17.31,0,25.97c0,5.86,0,11.73,0,17.6c0,2.54,0,5.08,0,7.63
c0,0.52-2.96,0.19-3.39,0.19C35.92,520.8,32.28,520.8,28.64,520.8z"/>
<path d="M42.96,486.58c8.66-3.52,17.44-6.1,26.65-7.73c9.38-1.66,18.86-2.76,28.37-3.26c9.66-0.51,19.34-0.75,29-1.34
c4.26-0.26,8.78-0.34,12.9-1.54c1.96-0.57,3.5-1.63,4.52-3.42c1.51-2.67,3.52-8.77-0.51-10.21c-1.46-0.52-3.09-0.62-4.62-0.75
c-2.31-0.2-4.62-0.3-6.94-0.37c-4.55-0.14-9.09-0.18-13.64-0.18c-10.14-0.01-20.29-0.15-30.42,0.18
c-9.23,0.3-18.52,1.62-27.42,4.09c-6.16,1.71-12.13,3.93-17.9,6.69"/>
<path d="M304.72,22.17c-9.96,0.23-19.9,0.59-29.85,1.17c-9.61,0.56-19.19,1.43-28.76,2.42c-9.34,0.97-18.68,2.19-27.95,3.68
c-9.4,1.51-18.78,3.11-28.09,5.06c-9.66,2.02-19.27,4.21-28.84,6.63c-9.19,2.33-18.34,4.83-27.42,7.54
c-9.54,2.85-19.05,5.8-28.46,9.04c-8.97,3.1-17.86,6.45-26.59,10.18c-8.9,3.79-17.81,7.67-26.35,12.21
c-2.21,1.18-4.4,2.38-6.57,3.61c-0.9,0.51-1.9,1.4-2.87,1.66c-0.67,0.18-1.63,0-2.32,0c-4.49,0-8.99,0-13.48,0
c-9.05,0-18.1,0-27.15,0c8.15-5.42,16.24-10.93,24.54-16.12c8-5,16.34-9.42,24.92-13.34c8.64-3.95,17.43-7.64,26.33-10.99
c9.32-3.5,18.68-6.86,28.12-10c9.43-3.14,18.93-6.03,28.46-8.84c9.19-2.7,18.47-5.09,27.76-7.45c9.24-2.34,18.57-4.38,27.91-6.25
c9.33-1.87,18.72-3.6,28.13-4.97c9.5-1.39,19.02-2.73,28.57-3.7c9.81-0.99,19.62-1.87,29.46-2.44c9.91-0.58,19.83-0.97,29.76-1.16
C311.37,0,318.78,0,326.19,0c13.5,0,27,0,40.5,0c5.6,0,11.2,0,16.8,0c1.42,0,2.83,0,4.25,0c0.23,0,0.45,0,0.68,0
c0.02,0,0.01,2.03,0.01,2.15c0,3.05,0,6.09,0,9.14c0,0.62-1.02,0.32-1.54,0.32c-4.47,0-8.94,0-13.41,0c-13.76,0-27.52,0-41.28,0
c-4.08,0-8.16,0-12.24,0c-0.29,0-0.57,0-0.86,0c-0.1,0-0.04,1.51-0.04,1.65c0,2.94,0,5.88,0,8.82
C319.05,22.27,306.17,22.17,304.72,22.17z"/>
</g>
</svg>

+ 9
- 0
presets/buildings.js Zobrazit soubor

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


results.push({
name: "Bus Stop",
constructor: () => makeBuilding(
"Bus Stop",
math.unit(8, "feet"),
{ source: "./media/buildings/bus-stop.svg" }
)
});

results.push( results.push(
{ {
name: "Wide Skyscraper", name: "Wide Skyscraper",


Načítá se…
Zrušit
Uložit