瀏覽代碼

Switch to a set of doorways (will add more later)

master
Fen Dweller 4 年之前
父節點
當前提交
7b376ae11d
共有 3 個檔案被更改,包括 19 行新增9 行删除
  1. +10
    -2
      media/attribution.js
  2. +0
    -0
      media/buildings/doorways/residential.svg
  3. +9
    -7
      presets/buildings.js

+ 10
- 2
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: [


media/buildings/doorway.svg → media/buildings/doorways/residential.svg 查看文件


+ 9
- 7
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();


Loading…
取消
儲存