Browse Source

Add four lane highways

tags/v0.1.0
Fen Dweller 5 years ago
parent
commit
9799a40556
3 changed files with 49 additions and 0 deletions
  1. +9
    -0
      media/attribution.js
  2. +29
    -0
      media/buildings/roads/four-lane-highway.svg
  3. +11
    -0
      presets/buildings.js

+ 9
- 0
media/attribution.js View File

@@ -1107,6 +1107,15 @@ const attributionData = {
"dimensions-guide"
]
},
{
prefix: "./media/buildings/roads/",
files: [
{ name: "four-lane-highway.svg", source: null }
],
authors: [
"chemicalcrux"
],
},
{
prefix: "./media/buildings/skyscrapers/",
files: [


+ 29
- 0
media/buildings/roads/four-lane-highway.svg View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.1, 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 2056.76 2743.2" style="enable-background:new 0 0 2056.76 2743.2;" xml:space="preserve">
<style type="text/css">
.st0{fill:#191919;}
</style>
<g>
<rect x="273.14" y="0" class="st0" width="1510.48" height="2743.2"/>
<rect x="273.14" y="0" class="st0" width="370" height="2743.2"/>
<rect x="653.3" y="0" class="st0" width="370" height="2743.2"/>
<rect x="643.14" y="2438.4" width="10.16" height="304.8"/>
<rect x="643.14" y="1219.2" width="10.16" height="304.8"/>
<rect x="643.14" y="1219.2" width="10.16" height="304.8"/>
<rect x="1033.46" y="0" class="st0" width="370" height="2743.2"/>
<rect x="1023.3" y="2438.4" width="10.16" height="304.8"/>
<rect x="1413.62" y="0" class="st0" width="370" height="2743.2"/>
<rect x="1403.46" y="2438.4" width="10.16" height="304.8"/>
<rect x="1023.3" y="1219.2" width="10.16" height="304.8"/>
<rect x="1403.46" y="1219.2" width="10.16" height="304.8"/>
<rect x="643.14" width="10.16" height="304.8"/>
<rect x="1023.3" width="10.16" height="304.8"/>
<rect x="1403.46" width="10.16" height="304.8"/>
<rect x="246.72" y="0" width="26.42" height="2743.2"/>
<rect x="1783.62" y="0" width="26.42" height="2743.2"/>
<rect x="1810.04" y="0" class="st0" width="246.72" height="2743.2"/>
<rect y="0" class="st0" width="246.72" height="2743.2"/>
</g>
</svg>

+ 11
- 0
presets/buildings.js View File

@@ -148,6 +148,17 @@ function makeBuildings() {
}
);

results.push(
makeHeight(
[
["four-lane-highway", 27.432, "meters"]
],
"Roads",
"",
"buildings"
)
)

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


Loading…
Cancel
Save