Improve example content pack

This commit is contained in:
2020-07-24 22:23:59 +02:00
parent 7e116a871d
commit 6a74e8f5bf
10 changed files with 286 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
packs.example = Beispiel
quests.example.test = Test
quests.example.test.description = Quests um das Quest-Aufl\u00f6sen zu Testen
quests.example.release-party = Veröffentlichungsfeier!
quests.example.test.description = Kleines Mockup mit Kuchen und Papier zum Geschenke-Verpacken
products.example.cake = Kuchen
products.example.cake.color = Geschmacksrichtung
products.example.cake.color.pink = Erdbeer
products.example.cake.color.green = Minze
products.example.cake.color.brown = Schokolade
products.example.cake.color.blue = Gefrorenes Wasser

View File

@@ -2,3 +2,12 @@ packs.example = Example
quests.example.test = Test 1 quests.example.test = Test 1
quests.example.test.description = Quests for testing the quest resolving behavior quests.example.test.description = Quests for testing the quest resolving behavior
quests.example.release-party = Release Party!
quests.example.test.description = Simple Mockup quest list with cakes and some paper for gifts)
products.example.cake = Cake
products.example.cake.color = Flavor
products.example.cake.color.pink = Strawberry
products.example.cake.color.green = Mint
products.example.cake.color.brown = Chocolate
products.example.cake.color.blue = Frozen Water

View File

@@ -0,0 +1,2 @@
properties = color
color.variants = pink, blue, green, brown

View File

@@ -0,0 +1,20 @@
in,paper,400,green,a4
in,paper,400,blue,a4
in,example.cake,900,brown
in,example.cake,1000,pink
in,paper,500,blue,a4
in,paper,500,green,a4
in,paper,100,blue,a4
out,example.cake,700,brown
out,example.cake,800,brown
in,paper,600,green,a4
in,example.cake,700,brown
out,paper,500,green,a4
out,paper,400,green,a4
out,example.cake,900,brown
out,paper,400,blue,a4
out,paper,500,blue,a4
in,example.cake,800,brown
out,example.cake,1000,pink
out,paper,100,blue,a4
out,paper,600,green,a4
1 in,paper,400,green,a4
2 in,paper,400,blue,a4
3 in,example.cake,900,brown
4 in,example.cake,1000,pink
5 in,paper,500,blue,a4
6 in,paper,500,green,a4
7 in,paper,100,blue,a4
8 out,example.cake,700,brown
9 out,example.cake,800,brown
10 in,paper,600,green,a4
11 in,example.cake,700,brown
12 out,paper,500,green,a4
13 out,paper,400,green,a4
14 out,example.cake,900,brown
15 out,paper,400,blue,a4
16 out,paper,500,blue,a4
17 in,example.cake,800,brown
18 out,example.cake,1000,pink
19 out,paper,100,blue,a4
20 out,paper,600,green,a4

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -0,0 +1,241 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="D:\coding\java\what-a-storage\packs\example\textures\products\cake\blue.png"
sodipodi:docname="cake.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
id="svg8"
version="1.1"
viewBox="0 0 132.29166 132.29167"
height="500"
width="500">
<defs
id="defs2" />
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-6"
inkscape:window-x="-6"
inkscape:window-height="1018"
inkscape:window-width="1920"
inkscape:snap-global="true"
inkscape:guide-bbox="true"
showguides="false"
inkscape:snap-page="true"
units="px"
inkscape:bbox-paths="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-bbox="true"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer3"
inkscape:document-units="px"
inkscape:cy="323.32707"
inkscape:cx="30.255971"
inkscape:zoom="0.7"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base">
<sodipodi:guide
inkscape:color="rgb(0,0,255)"
inkscape:locked="false"
inkscape:label=""
id="guide867"
orientation="-1,0"
position="66.145832,94.273424" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="main">
<g
style="stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
transform="translate(-12.963135,25.641755)"
id="g21">
<path
id="path10"
style="fill:#ffffff;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none"
d="m 98.994141,200 v 100 a 200.00001,100 0 0 0 199.999999,100 200.00001,100 0 0 0 200,-100 V 200 h -200 z"
transform="scale(0.26458333)" />
<ellipse
ry="26.458334"
rx="52.916668"
cy="52.916664"
cx="79.10907"
id="ellipse14"
style="fill:#ffffff;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none" />
<ellipse
style="fill:#ffffff;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
id="ellipse23"
cx="79.10907"
cy="52.916664"
rx="52.916668"
ry="26.458334" />
</g>
<g
style="stroke-width:1.56832;stroke-miterlimit:4;stroke-dasharray:none"
id="g40"
transform="matrix(0.67481774,0,0,0.67481774,12.761698,22.280357)">
<path
transform="scale(0.26458333)"
d="m 98.994141,200 v 100 a 200.00001,100 0 0 0 199.999999,100 200.00001,100 0 0 0 200,-100 V 200 h -200 z"
style="fill:#ffffff;stroke:#000000;stroke-width:5.92753;stroke-miterlimit:4;stroke-dasharray:none"
id="path34" />
<ellipse
style="fill:#ffffff;stroke:#000000;stroke-width:1.56832;stroke-miterlimit:4;stroke-dasharray:none"
id="ellipse36"
cx="79.10907"
cy="52.916664"
rx="52.916668"
ry="26.458334" />
<ellipse
ry="26.458334"
rx="52.916668"
cy="52.916664"
cx="79.10907"
id="ellipse38"
style="fill:#ffffff;stroke:#000000;stroke-width:1.56832;stroke-miterlimit:4;stroke-dasharray:none" />
</g>
<g
transform="matrix(0.37409273,0,0,0.37409273,36.551743,25.767886)"
id="g875"
style="stroke-width:2.82907;stroke-miterlimit:4;stroke-dasharray:none">
<path
id="path869"
style="fill:#ffffff;stroke:#000000;stroke-width:10.6925;stroke-miterlimit:4;stroke-dasharray:none"
d="m 98.994141,200 v 100 a 200.00001,100 0 0 0 199.999999,100 200.00001,100 0 0 0 200,-100 V 200 h -200 z"
transform="scale(0.26458333)" />
<ellipse
ry="26.458334"
rx="52.916668"
cy="52.916664"
cx="79.10907"
id="ellipse871"
style="fill:#ffffff;stroke:#000000;stroke-width:2.82907;stroke-miterlimit:4;stroke-dasharray:none" />
<ellipse
style="fill:#ffffff;stroke:#000000;stroke-width:2.82907;stroke-miterlimit:4;stroke-dasharray:none"
id="ellipse873"
cx="79.10907"
cy="52.916664"
rx="52.916668"
ry="26.458334" />
</g>
<g
style="stroke-width:2.82907;stroke-miterlimit:4;stroke-dasharray:none"
id="g885"
transform="matrix(0.03320575,0,0,0.03320575,63.518922,41.473216)">
<path
sodipodi:nodetypes="csssccc"
transform="scale(0.26458333)"
d="m 98.994141,-2967.4807 0,3267.4807 c 0,55.22847 89.543049,100 199.999999,100 110.45695,0 200,-44.77153 200,-100 l 0,-3267.4807 h -200 z"
style="fill:#ffffff;stroke:#000000;stroke-width:120.46106473;stroke-miterlimit:4;stroke-dasharray:none"
id="path879" />
<ellipse
ry="26.458334"
rx="52.916668"
cy="-786.56042"
cx="79.108864"
id="ellipse883"
style="fill:#ffffff;stroke:#000000;stroke-width:31.87198964;stroke-miterlimit:4;stroke-dasharray:none" />
<path
id="path887"
d="m 79.11015,-1061.1598 c -52.645674,85.37138 -79.679974,113.82852 -76.8342834,165.05135 2.8457703,51.22285 76.8342834,106.71426 76.8342834,106.71426 0,0 83.94851,-41.26285 82.52566,-99.59997 -1.42284,-58.33712 -82.52566,-172.16564 -82.52566,-172.16564 z"
style="fill:#ffdd55;stroke:#000000;stroke-width:31.87198964;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
</g>
</g>
<g
style="display:inline"
inkscape:label="blue-cream"
id="layer3"
inkscape:groupmode="layer">
<path
d="m 13.22922,89.595564 v 7.181471 c 0,14.612545 23.691599,26.458345 52.916666,26.458345 29.225059,0 52.916654,-11.8458 52.916654,-26.458345 v -7.181471 h -0.19585 c -2.30149,13.550496 -25.024235,24.190266 -52.720804,24.190266 -27.696577,0 -50.41984,-10.63977 -52.72133,-24.190266 z"
style="fill:#aaccff;stroke:#000000;stroke-width:1.10283"
id="path25" />
<path
id="path42"
style="fill:#aaccff;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
d="m 30.436764,65.437522 v 4.846184 c 0,9.860775 15.987511,17.85449 35.709105,17.85449 19.721588,0 35.709101,-7.993715 35.709101,-17.85449 v -4.846184 h -0.13216 c -1.55309,9.144107 -16.886805,16.32398 -35.576941,16.32398 -18.690142,0 -34.024203,-7.179873 -35.577289,-16.32398 z" />
<path
d="m 46.350113,49.692541 v 2.686536 c 0,5.466431 8.862854,9.897836 19.79574,9.897836 10.932882,0 19.795738,-4.431405 19.795738,-9.897836 v -2.686536 h -0.07327 c -0.860972,5.069138 -9.361388,9.04938 -19.722473,9.04938 -10.361089,0 -18.861696,-3.980242 -19.722667,-9.04938 z"
style="fill:#aaccff;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
id="path877" />
</g>
<g
inkscape:groupmode="layer"
id="g932"
inkscape:label="green-cream"
style="display:none">
<path
id="path926"
style="fill:#afe9af;stroke:#000000;stroke-width:1.10283"
d="m 13.22922,89.595564 v 7.181471 c 0,14.612545 23.691599,26.458345 52.916666,26.458345 29.225059,0 52.916654,-11.8458 52.916654,-26.458345 v -7.181471 h -0.19585 c -2.30149,13.550496 -25.024235,24.190266 -52.720804,24.190266 -27.696577,0 -50.41984,-10.63977 -52.72133,-24.190266 z" />
<path
d="m 30.436764,65.437522 v 4.846184 c 0,9.860775 15.987511,17.85449 35.709105,17.85449 19.721588,0 35.709101,-7.993715 35.709101,-17.85449 v -4.846184 h -0.13216 c -1.55309,9.144107 -16.886805,16.32398 -35.576941,16.32398 -18.690142,0 -34.024203,-7.179873 -35.577289,-16.32398 z"
style="fill:#afe9af;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
id="path928" />
<path
id="path930"
style="fill:#afe9af;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
d="m 46.350113,49.692541 v 2.686536 c 0,5.466431 8.862854,9.897836 19.79574,9.897836 10.932882,0 19.795738,-4.431405 19.795738,-9.897836 v -2.686536 h -0.07327 c -0.860972,5.069138 -9.361388,9.04938 -19.722473,9.04938 -10.361089,0 -18.861696,-3.980242 -19.722667,-9.04938 z" />
</g>
<g
inkscape:groupmode="layer"
id="g924"
inkscape:label="brown-cream"
style="display:none">
<path
id="path918"
style="fill:#deaa87;stroke:#000000;stroke-width:1.10283"
d="m 13.22922,89.595564 v 7.181471 c 0,14.612545 23.691599,26.458345 52.916666,26.458345 29.225059,0 52.916654,-11.8458 52.916654,-26.458345 v -7.181471 h -0.19585 c -2.30149,13.550496 -25.024235,24.190266 -52.720804,24.190266 -27.696577,0 -50.41984,-10.63977 -52.72133,-24.190266 z" />
<path
d="m 30.436764,65.437522 v 4.846184 c 0,9.860775 15.987511,17.85449 35.709105,17.85449 19.721588,0 35.709101,-7.993715 35.709101,-17.85449 v -4.846184 h -0.13216 c -1.55309,9.144107 -16.886805,16.32398 -35.576941,16.32398 -18.690142,0 -34.024203,-7.179873 -35.577289,-16.32398 z"
style="fill:#deaa87;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
id="path920" />
<path
id="path922"
style="fill:#deaa87;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
d="m 46.350113,49.692541 v 2.686536 c 0,5.466431 8.862854,9.897836 19.79574,9.897836 10.932882,0 19.795738,-4.431405 19.795738,-9.897836 v -2.686536 h -0.07327 c -0.860972,5.069138 -9.361388,9.04938 -19.722473,9.04938 -10.361089,0 -18.861696,-3.980242 -19.722667,-9.04938 z" />
</g>
<g
inkscape:groupmode="layer"
id="g916"
inkscape:label="pink-cream"
style="display:none">
<path
id="path910"
style="fill:#ffaacc;stroke:#000000;stroke-width:1.10283"
d="m 13.22922,89.595564 v 7.181471 c 0,14.612545 23.691599,26.458345 52.916666,26.458345 29.225059,0 52.916654,-11.8458 52.916654,-26.458345 v -7.181471 h -0.19585 c -2.30149,13.550496 -25.024235,24.190266 -52.720804,24.190266 -27.696577,0 -50.41984,-10.63977 -52.72133,-24.190266 z" />
<path
d="m 30.436764,65.437522 v 4.846184 c 0,9.860775 15.987511,17.85449 35.709105,17.85449 19.721588,0 35.709101,-7.993715 35.709101,-17.85449 v -4.846184 h -0.13216 c -1.55309,9.144107 -16.886805,16.32398 -35.576941,16.32398 -18.690142,0 -34.024203,-7.179873 -35.577289,-16.32398 z"
style="fill:#ffaacc;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
id="path912" />
<path
id="path914"
style="fill:#ffaacc;stroke:#000000;stroke-width:1.05833;stroke-miterlimit:4;stroke-dasharray:none"
d="m 46.350113,49.692541 v 2.686536 c 0,5.466431 8.862854,9.897836 19.79574,9.897836 10.932882,0 19.795738,-4.431405 19.795738,-9.897836 v -2.686536 h -0.07327 c -0.860972,5.069138 -9.361388,9.04938 -19.722473,9.04938 -10.361089,0 -18.861696,-3.980242 -19.722667,-9.04938 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -54,7 +54,7 @@ In den Optionen gibt es folgende Einträge, die mit Klick auf "Anwenden & Zurüc
- Gültige Ablageorte anzeigen: Hiermit kann das Einrahmen von gültigen Lagerorten (de-) aktiviert werden. - Gültige Ablageorte anzeigen: Hiermit kann das Einrahmen von gültigen Lagerorten (de-) aktiviert werden.
## Content-Packs ## Content-Packs
Dieses Spiel kann durch sogenannte "Content Packs" um Produkte und Auftragslisten erweitert werden. Ein Beispiel-Pack befindet sich bereits im Ordner `bin` (enthält keine neuen Produkte). Dieses Spiel kann durch sogenannte "Content Packs" um Produkte und Auftragslisten erweitert werden. Ein Beispiel-Pack befindet sich bereits im Ordner `bin`.
Produkte und Aufträge werden mit dem gleichen Format eingelesen, wie aus dem Quellcode und den Ressourcen-Dateien ersichtlich. Dabei sollten im `lang`-Ordner immer auch Übersetzungen für die Produkte/Attribute/Werte/Auftragslisten etc. angegeben werden. Produkte und Aufträge werden mit dem gleichen Format eingelesen, wie aus dem Quellcode und den Ressourcen-Dateien ersichtlich. Dabei sollten im `lang`-Ordner immer auch Übersetzungen für die Produkte/Attribute/Werte/Auftragslisten etc. angegeben werden.