Finally, a buildable source tree
|
@ -0,0 +1 @@
|
|||
out/
|
|
@ -0,0 +1,60 @@
|
|||
#! /bin/sh -e
|
||||
|
||||
cvt () {
|
||||
out=${1%.svg}.png
|
||||
[ -f $out ] || inkscape -o $out $1 > /dev/null
|
||||
}
|
||||
|
||||
mkdir -p out
|
||||
|
||||
for i in src/card-treasure*.svg; do
|
||||
echo "=== $i"
|
||||
base=$(basename $i .svg)
|
||||
cp $i out/
|
||||
cvt $i out/$base.png
|
||||
done
|
||||
|
||||
while read name; do
|
||||
echo "=== $name"
|
||||
fn=${name%% *}
|
||||
|
||||
echo " - card"
|
||||
svg=out/card-room-front-$fn.svg
|
||||
sed "s/Hydroponics/$name/" src/card-room-front.svg > $svg
|
||||
cvt $svg
|
||||
|
||||
echo " - tile front"
|
||||
svg=out/tile-front-$fn.svg
|
||||
sed "s/Hydroponics/$name/" src/tile-front.svg > $svg
|
||||
cvt $svg
|
||||
|
||||
echo " - tile back"
|
||||
svg=out/tile-back-$fn.svg
|
||||
sed "s/Hydroponics/$name/" src/tile-back.svg > $svg
|
||||
cvt $svg
|
||||
done << EOD
|
||||
Airlock
|
||||
Gym
|
||||
Kitchen
|
||||
Lounge
|
||||
Chem Lab
|
||||
Radio Room
|
||||
Hydroponics
|
||||
Botany Lab
|
||||
Rec Room
|
||||
Lavatory
|
||||
Galley
|
||||
Pantry
|
||||
Sick Bay
|
||||
Workshop
|
||||
Storage
|
||||
Control Room
|
||||
Filter Room
|
||||
Green Quarters
|
||||
Orange Quarters
|
||||
Electronics
|
||||
Cargo Bay
|
||||
Dog Room
|
||||
Alien Exam Room
|
||||
Coal Cart
|
||||
EOD
|
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg width="4250px" height="2950px" viewBox="0 0 4250 2950" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
|
||||
<defs>
|
||||
<bx:grid x="0" y="0" width="50" height="50"/>
|
||||
</defs>
|
||||
<rect x="-550" y="-2699.999" width="400" height="500.002" style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 0, 255);" rx="27.286" ry="27.286" transform="matrix(-1, 0, 0, -1, 0, 0)"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" y="1500" width="400" height="400" rx="37.795" ry="37.795" x="800"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" y="1050" width="400" height="400" rx="37.795" ry="37.795" x="800"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1350" y="250.002" width="200" height="199.999" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1250" y="1500" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1250" y="1050" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1700" y="1050" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1250" y="600" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1250" y="1950" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1700" y="1950" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2150" y="1950" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2600" y="1949.999" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2150" y="1500" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1700" y="1500" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2600" y="1500" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2150" y="1050" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2600" y="1050" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2150" y="600" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1700" y="600" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2600" y="600" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="3050" y="1050" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2150" y="2400" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1700" y="2400" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="1700" y="150" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2150" width="400" height="400" rx="37.795" ry="37.795" y="150.001"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" width="200" height="199.999" rx="37.8" ry="37.8" x="1350" y="2500"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2700" y="2500.001" width="200" height="199.999" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="2700" y="250.002" width="200" height="199.999" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="3050" y="1500" width="400" height="400" rx="37.795" ry="37.795"/>
|
||||
<rect y="-2700.001" width="400" height="500.001" style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(255, 0, 0);" rx="27.286" ry="27.286" transform="matrix(-1, 0, 0, -1, 0, 0)" x="-1100"/>
|
||||
<rect x="-3550" y="-2699.999" width="400" height="500.002" style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(255, 0, 0);" rx="27.286" ry="27.286" transform="matrix(-1, 0, 0, -1, 0, 0)"/>
|
||||
<rect x="-4100" y="-2699.999" width="400" height="500.002" style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 0, 255);" rx="27.286" ry="27.286" transform="matrix(-1, 0, 0, -1, 0, 0)"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="3800" y="850.001" width="200" height="199.999" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="3800" y="1750.001" width="200" height="199.999" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="3800" y="1450.001" width="200" height="199.999" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="3800" y="1150.001" width="200" height="199.999" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="1700" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="1550" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="1400" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="1250" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="1850" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="950" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="1100" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="800" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="650" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
<rect style="stroke-width: 5px; stroke-dasharray: 9; fill: rgb(0, 255, 0);" x="150" y="500" width="100" height="100" rx="37.795" ry="37.795"/>
|
||||
</svg>
|
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 57 KiB |
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg viewBox="150 2199.997 400 500.002" width="400" height="500.002" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" cx="-350" cy="-2449.998" r="200" id="gradient-0" spreadMethod="pad">
|
||||
<stop offset="0" style="stop-color: rgb(141, 191, 205);"/>
|
||||
<stop offset="1" style="stop-color: rgb(65, 112, 125);"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<rect x="-550" y="-2699.999" width="400" height="500.002" style="stroke: rgb(0, 0, 0); stroke-width: 10px; paint-order: fill; fill: url(#gradient-0);" rx="27.286" ry="27.286" transform="matrix(-1, 0, 0, -1, 0, 0)"/>
|
||||
</svg>
|
After Width: | Height: | Size: 658 B |
After Width: | Height: | Size: 348 KiB |
After Width: | Height: | Size: 40 KiB |
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg viewBox="150 2199.997 400 500.002" width="400" height="500.002" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" cx="-350" cy="-2449.998" r="200" id="gradient-0" spreadMethod="pad">
|
||||
<stop offset="0" style="stop-color: rgb(205, 147, 141);"/>
|
||||
<stop offset="1" style="stop-color: rgb(125, 65, 101);"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<rect x="-550" y="-2699.999" width="400" height="500.002" style="stroke: rgb(0, 0, 0); stroke-width: 10px; paint-order: fill; fill: url(#gradient-0);" rx="27.286" ry="27.286" transform="matrix(-1, 0, 0, -1, 0, 0)"/>
|
||||
</svg>
|
After Width: | Height: | Size: 658 B |
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 348 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 351 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 348 KiB |
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 348 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 349 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 350 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 348 KiB |
After Width: | Height: | Size: 348 KiB |
After Width: | Height: | Size: 348 KiB |