Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
chore: disable xmas empty parcels (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
pravusjif authored Jan 13, 2023
1 parent 3e55cd0 commit 0cf2e56
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 110 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CWD = $(shell pwd)
SOURCE_SUPPORT_TS_FILES := $(wildcard scripts/*.ts)
COMPILED_SUPPORT_JS_FILES := $(subst .ts,.js,$(SOURCE_SUPPORT_TS_FILES))

EMPTY_SCENES := public/empty-scenes/xmas
EMPTY_SCENES := public/empty-scenes/common

scripts/%.js: $(SOURCE_SUPPORT_TS_FILES) scripts/tsconfig.json
@node_modules/.bin/tsc --build scripts/tsconfig.json
Expand All @@ -21,7 +21,7 @@ static/default-profile/contents:
@node ./static/default-profile/download_all.js

empty-parcels:
cd public/empty-scenes/xmas && (node generate_all.js || true)
cd public/empty-scenes/common && (node generate_all.js || true)
mkdir -p static/loader/empty-scenes || true
rm -rf static/loader/empty-scenes/*
cp $(EMPTY_SCENES)/mappings.json static/loader/empty-scenes/mappings.json
Expand Down
Empty file.
Empty file.
Empty file.
120 changes: 12 additions & 108 deletions static/loader/empty-scenes/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@
},
{
"file": "models/EP_01.glb",
"hash": "QmXmas201"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmPNiWeuf2xDJJy6zGteBpad6xMeYZ58Zqyx6U5id4b758"
}
],
"EP_02": [
Expand All @@ -56,15 +48,7 @@
},
{
"file": "models/EP_02.glb",
"hash": "QmXmas202"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmPMDiyccNRLXQgHeyFi6tibXm8kP3A6DcTjq2bSsnN8D7"
}
],
"EP_03": [
Expand All @@ -90,15 +74,7 @@
},
{
"file": "models/EP_03.glb",
"hash": "QmXmas203"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmQyeu5ZjFzJFZ2bz4zdYX8yjRFS1QqCg4CF67XuQc31Uw"
}
],
"EP_04": [
Expand All @@ -124,15 +100,7 @@
},
{
"file": "models/EP_04.glb",
"hash": "QmXmas204"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "Qma9aXnxq2jBvfiKj2374cUWvdJZnS6LoHkbojBq3NfxKQ"
}
],
"EP_05": [
Expand All @@ -158,15 +126,7 @@
},
{
"file": "models/EP_05.glb",
"hash": "QmXmas205"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmcyG3AGHXScmQrULP7cKXjuvnQtqydHwvgQMHKRhYGfTA"
}
],
"EP_06": [
Expand All @@ -192,15 +152,7 @@
},
{
"file": "models/EP_06.glb",
"hash": "QmXmas206"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmX4bcPybJchnjs6mtEyJJrmvs8R6Yf1ZY7goM4xnDxWAa"
}
],
"EP_07": [
Expand All @@ -226,15 +178,7 @@
},
{
"file": "models/EP_07.glb",
"hash": "QmXmas207"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmV5WtLZ6KsaNvKoGm6rEt6TQGVHvLg58iDDyniAwp5MXM"
}
],
"EP_08": [
Expand All @@ -260,15 +204,7 @@
},
{
"file": "models/EP_08.glb",
"hash": "QmXmas208"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "Qma1cw8Ln8if6MsKy8E2wj2fTddDDktvJvEhjuJLHAo1Ws"
}
],
"EP_09": [
Expand All @@ -294,15 +230,7 @@
},
{
"file": "models/EP_09.glb",
"hash": "QmXmas209"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmUschpqQoMRLK4BFme5TmHb1HYEAxCGBqdnLpXKVXbxFZ"
}
],
"EP_10": [
Expand All @@ -328,15 +256,7 @@
},
{
"file": "models/EP_10.glb",
"hash": "QmXmas210"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmTsvnJp8R2yrdADusiMXHdHjNe7PDr4SaPRd9Y6S1zLku"
}
],
"EP_11": [
Expand All @@ -362,15 +282,7 @@
},
{
"file": "models/EP_11.glb",
"hash": "QmXmas211"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmbhQnr6VavXXPVjjwhCaJqRQDkGAg81UpiV5AYVTorNim"
}
],
"EP_12": [
Expand All @@ -396,15 +308,7 @@
},
{
"file": "models/EP_12.glb",
"hash": "QmXmas212"
},
{
"file": "models/EmptyParcels-TX.png",
"hash": "QmXmasEmptyParcels"
},
{
"file": "models/EmptyParcels-TX-Emissive.png",
"hash": "QmXmasEmptyParcelsEmissive"
"hash": "QmWrgVvGLrpNtXjVJC7VAwyqmnHMF9uc5hHnW1hP93ooVa"
}
]
}

0 comments on commit 0cf2e56

Please sign in to comment.