-
Notifications
You must be signed in to change notification settings - Fork 14
Feat/shop system #361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Feat/shop system #361
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
2afa119
✨ feat(shop): add shop management features and documentation
JoField08 46fd52a
✨ feat(shop): update shop management link in overview documentation
JoField08 3c42475
shop-search.md aktualisieren
JoField08 034fee2
shop-search.md aktualisieren
JoField08 826c208
shop-search.md aktualisieren
JoField08 093ba05
specials.md aktualisieren
JoField08 3c51db7
shop-chest.md aktualisieren
JoField08 e6c96d5
shop-chest.md aktualisieren
JoField08 01fb9eb
shop-chest.md aktualisieren
JoField08 624e481
shop-chest.md aktualisieren
JoField08 336db53
shop-chest.md aktualisieren
JoField08 d2651a4
shop-chest.md aktualisieren
JoField08 7c32277
shop-search.md aktualisieren
JoField08 46ead30
shop-create.md aktualisieren
JoField08 2360fc3
shop-create.md aktualisieren
JoField08 90e756b
shop-create.md aktualisieren
JoField08 dda59da
shop-create.md aktualisieren
JoField08 5810349
shop-create.md aktualisieren
JoField08 481a289
shop-create.md aktualisieren
JoField08 54bff81
shop-create.md aktualisieren
JoField08 22b5e8e
shop-create.md aktualisieren
JoField08 5f25c76
shop-item-buy.md aktualisieren
JoField08 356cead
shop-item-buy.md aktualisieren
JoField08 313a463
shop-item-buy.md aktualisieren
JoField08 4392474
shop-item-buy.md aktualisieren
JoField08 90dc2b9
shop-item-buy.md aktualisieren
JoField08 65636a4
shop-item-buy.md aktualisieren
JoField08 8c32fb5
shop-item-buy.md aktualisieren
JoField08 c0ee310
shop-manage.md aktualisieren
JoField08 8e6959d
shop-manage.md aktualisieren
JoField08 4480ef5
shop-create.md aktualisieren
JoField08 ad35976
Update Writerside/topics/shop-overview.topic
JoField08 a6954c7
Update Writerside/topics/shop-manage.md
JoField08 c920a2d
Update Writerside/topics/shop-manage.md
JoField08 62ddfc7
Update Writerside/topics/shop-overview.topic
JoField08 cc9dada
Merge branch 'master' into feat/shop-system
JoField08 25e60cb
Update Writerside/topics/shop-overview.topic
JoField08 51e3bbc
Change warning to tip and fix item text
JoField08 728e293
Apply suggestion from @twisti-dev
JoField08 04fcc9b
Apply suggestion
JoField08 597d6fd
Apply suggestion
JoField08 677cedc
Apply suggestion
JoField08 9bbfe15
Apply suggestion
JoField08 ada4bdc
Apply suggestion
JoField08 2635dac
Apply suggestion
JoField08 6c3534e
Apply suggestion
JoField08 2835378
Apply suggestion
JoField08 62e6c37
Apply suggestion
JoField08 548db70
Apply suggestion
JoField08 a1ac2c7
Apply suggestion
JoField08 5730cf7
Apply suggestion
JoField08 3363185
Apply suggestion
JoField08 074e661
Apply suggestion
JoField08 afece26
Apply suggestion
JoField08 121449f
Apply suggestion
JoField08 e545e16
Fix formatting in economy trading section
JoField08 3907484
💄 style(shop): fix formatting in shop chest instructions
JoField08 fbfc1f1
💄 style(shop): update shop chest instructions formatting
JoField08 5fd5c2b
Update Writerside/topics/survival-server/plots/create/create/shop-sea…
JoField08 54626e0
Update Writerside/topics/shop-create.md
JoField08 5a48774
🔧 chore(shop): rename shop-related topic files for better organization
JoField08 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Mobile Shop-Chest | ||
|
|
||
| ## So kannst du die mobile Shop-Chest herstellen: {id="shop-chest-crafting"} | ||
|
|
||
| Die Shop-Chest ist eine mobile Kiste, die du überall platzieren kannst, um deinen Shop für andere Spieler zugänglich zu | ||
| machen. | ||
|
|
||
| Hierfür wurde folgendes Rezept hinzugefügt: | ||
|
|
||
| - 1x Truhe | ||
| - 4x Goldbarren | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
|
|
||
| 1. Nachdem du die Shop-Chest platzierst hast, kannst du ihr einen deiner [bereits erstellten **Shops | ||
| **](shop-create.md "%click-more-info%") zuordnen. | ||
|
JoField08 marked this conversation as resolved.
|
||
| 2. Hierfür klickst du auf den **Kompass** in der Mitte. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 3. Nun öffnet sich das Shop-Menü und du kannst den gewünschten Shop auswählen. Das ausgewählte Item wird dann rechts angezeigt. | ||
|
|
||
| > Andere Spieler, die deine Shop-Chest öffnen, sehen **NUR** den von dir ausgewählten Shop und können nur das ausgewählte Item kaufen. | ||
| > | ||
| {style="tip"} | ||
|
|
||
| > Du kannst auch einen [neuen Shop anlegen](shop-create.md "%click-more-info%"), indem du auf den **linken Block (+)** drückst. | ||
| > | ||
| {style="tip" title="Neuen Shop erstellen"} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Shop erstellen | ||
|
|
||
| ## So kannst du deinen eigenen Shop erstellen: {id="shop-create"} | ||
|
|
||
| 1. Klicke unten in der Mitte auf den **Holzblock (+)**, um einen eigenen Shop zu erstellen. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 2. Klicke nun auf den mittleren **Holzblock (?)** und wähle das Item aus, das du verkaufen möchtest. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 3. Klicke anschließend auf den linken **Holzblock ($)**, um den Preis pro Item festzulegen. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 4. Nun hast du mehrere Möglichkeiten: | ||
| - Mit den **Blöcken** links **(-)(-)** und rechts **(+)(+)** kannst du in Einer- oder | ||
| Zehnerschritten den Preis verändern. | ||
| - Mit dem **Block oben ($)** in der Mitte kannst du einen eigenen Preis eingeben. \ | ||
| Mit einem Klick auf **Bestätigen** schließt du den Vorgang ab. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 5. Klicke anschließend auf den **Block unten**, um den Preis zu übernehmen. | ||
|
|
||
| > Du kannst jederzeit den [Preis für deine Items anpassen](shop-manage.md#shop-manage-price "%click-more-info%"). | ||
| > | ||
| {style="tip"} | ||
|
|
||
| > **Nun ist dein Shop erstellt!** \ | ||
| > Bevor andere Spieler jedoch Gegenstände kaufen können, musst du | ||
| > zuerst [Items in das Lager des Shops einlagern](shop-manage.md#shop-manage-storage-store "%click-more-info%"). | ||
| > | ||
| {style="note"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Item kaufen | ||
|
|
||
| ## So kannst du ein Item kaufen: {id="shop-item-buy"} | ||
|
|
||
| 1. Suche das Item, das du kaufen möchtest, über die [Suchfunktion](shop-search.md "%click-more-info%") oder finde es durch Stöbern im Shop. Mit den Pfeilblöcken unten in der Mitte kannst du zur nächsten **(→)** oder vorherigen **(←)** Seite blättern. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 2. Wähle nun mit einem <shortcut>Linksklick</shortcut> das Item aus, welches du kaufen möchtest. | ||
| 3. Im folgenden Fenster kannst du die Anzahl der Items, die du kaufen möchtest, auswählen. Es gibt vier Möglichkeiten, die Anzahl zu verändern: | ||
| - <shortcut>Linksklick</shortcut>, um die Anzahl um eins zu erhöhen | ||
| - <shortcut>Rechtsklick</shortcut>, um die Anzahl um eins zu verringern | ||
| - <shortcut>Linksklick + Shift</shortcut>, um die Anzahl um 64 zu erhöhen | ||
| - <shortcut>Rechtsklick + Shift</shortcut>, um die Anzahl um 64 zu verringern | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 4. Wenn du die gewünschte Anzahl ausgewählt hast, bestätige den Kauf, indem du auf den **rechten Holzblock** klickst. Die Güter werden dir direkt ins Inventar gedroppt. | ||
| 5. Wenn du den Vorgang abbrechen möchtest, drücke unten auf den **roten Block**, um zum vorherigen Fenster zurückzukehren. | ||
|
|
||
| > Stelle sicher, dass in deinem Inventar genug Platz ist. Andernfalls werden die Items neben dir gedroppt und können von anderen Spielern eingesammelt werden. | ||
| > | ||
| {style="note"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| # Shop verwalten | ||
|
|
||
| ## So kannst du deinen Shop verwalten: {id="shop-manage"} | ||
|
|
||
| 1. Öffne deine Shops, indem du auf deinen **Spielerkopf** unten rechts klickst. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 2. Nun werden alle deine Shops angezeigt. Mit einem Klick auf das **Item** öffnest du den jeweiligen Shop. Hier kannst du | ||
| den Preis anpassen oder das Lager verwalten. | ||
|
|
||
| <tabs> | ||
| <tab title="Preise anpassen" id="shop-manage-price"> | ||
|
|
||
| 1. Wenn du den Preis anpassen möchtest, klicke auf den **linken Block ($)**. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 2. Nun hast du mehrere Möglichkeiten: | ||
| - Mit den **Blöcken** links **(-)(-)** und rechts **(+)(+)** kannst du in Einer- oder | ||
| Zehnerschritten den Preis verändern. | ||
| - Mit dem **Block oben ($)** in der Mitte kannst du einen eigenen Preis eingeben. \ | ||
| Mit einem Klick auf **Bestätigen** schließt du den Vorgang ab. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 3. Klicke anschließend auf den **Block unten**, um den Preis zu übernehmen. | ||
| 4. Um den neuen Preis zu speichern, klicke nun auf den **rechten Block**, um den Vorgang abzuschließen. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
|
|
||
| </tab> | ||
| <tab title="Lager verwalten" id="shop-manage-storage"> | ||
|
|
||
| 1. Klicke auf das **Item** des Shops, bei dem du Items ein- oder auslagern möchtest. | ||
| 2. Drücke auf die **Kiste** in der Mitte | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
|
|
||
| <tabs> | ||
| <tab title="Items einlagern" id="shop-manage-storage-store"> | ||
|
|
||
| 1. Zum Einlagern klicke auf den **Block links (+)**. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 2. Mache nun einen <shortcut>Linksklick</shortcut> in deinem Inventar auf das Item, das du einlagern möchtest.\ | ||
| Das Item verschwindet nun aus deinem Inventar und befindet sich im Lager des Shops. | ||
| 3. Wenn der Vorgang abgeschlossen ist, drücke unten auf den **roten Block**, um zum vorherigen Fenster zurückzukehren. | ||
|
|
||
| </tab> | ||
| <tab title="Items auslagern" id="shop-manage-storage-unstore"> | ||
|
|
||
| 1. Zum Auslagern klicke auf den **Block rechts (-)**. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 2. Wähle nun die **Anzahl** der Items, die du auslagern möchtest. | ||
| - Mit den **Blöcken** links **(-)(-)** und rechts **(+)(+)** kannst du in Einer- oder | ||
| Zehnerschritten den Preis verändern. | ||
| - Mit dem **Block oben ($)** in der Mitte kannst du einen eigenen Preis eingeben. \ | ||
|
JoField08 marked this conversation as resolved.
|
||
| Mit einem Klick auf **Bestätigen** schließt du den Vorgang ab. | ||
| 3. Mit einem Klick auf den **Block unten** schließt du die Auslagerung ab und bekommst die Items direkt ins Inventar. | ||
|
|
||
| 4. Wenn du den Vorgang abbrechen möchtest, drücke unten rechts auf das **rote Glas**, um zum vorherigen Fenster | ||
| zurückzukehren. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
|
|
||
| > Stelle sicher, dass in deinem Inventar genug Platz ist. Andernfalls werden die Items neben dir gedroppt und können von anderen Spielern eingesammelt werden. | ||
| > | ||
| > {style="note"} | ||
|
|
||
| <br/> | ||
| Wenn ein Shop nicht mehr benötigt wird, weil beispielsweise das Lager ausverkauft ist, mache einen <shortcut>Shift + Linksklick</shortcut> auf den Shop und bestätige den | ||
| Vorgang mit dem **Block rechts**. | ||
|
|
||
| > Du kannst deine Shops nur bei dem NPC am Spawn löschen. | ||
| > | ||
| {style="tip"} | ||
|
|
||
| </tab> | ||
| </tabs> | ||
|
|
||
| </tab> | ||
| </tabs> | ||
47 changes: 47 additions & 0 deletions
47
Writerside/topics/survival-server/shop/shop-overview.topic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE topic | ||
| SYSTEM "https://resources.jetbrains.com/writerside/1.0/xhtml-entities.dtd"> | ||
| <topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd" | ||
| title="Shops" id="shop-overview"> | ||
|
|
||
| <section-starting-page id="shops"> | ||
| <title>Shops</title> | ||
|
|
||
| <description id="shops-desc"> | ||
| Das Shopsystem ermöglicht den Handel direkt an den Spawns. | ||
| Über ein Menü können Preise individuell festgelegt sowie Items bequem ein- und ausgelagert werden. | ||
| Käufer können das gesamte Sortiment über die Suchfunktion durchsuchen und Gegenstände in gewünschten Mengen direkt erwerben. | ||
| </description> | ||
|
|
||
| <spotlight> | ||
| <card href="shop-create.md" badge="lock" | ||
| summary="Erstelle deinen eigenen Shop und verkaufe Items."> | ||
| Shop erstellen | ||
| </card> | ||
|
|
||
| <card href="shop-manage.md" badge="settings" | ||
| summary="Verwalte deine Shops, ändere Preise und kontrolliere dein Lager."> | ||
| Shop verwalten | ||
| </card> | ||
| </spotlight> | ||
|
|
||
| <primary> | ||
| <title>Grundfunktionen</title> | ||
|
|
||
| <card href="shop-search.md" | ||
| summary="Items im Shop suchen und gezielt finden."/> | ||
| <card href="shop-item-buy.md" | ||
| summary="Items auswählen und direkt kaufen."/> | ||
| </primary> | ||
|
|
||
| <secondary> | ||
| <title>Erweiterte Funktionen</title> | ||
|
|
||
| <card href="shop-chest.md" | ||
| summary="Deine mobile Shop-Chest nutzen."/> | ||
| </secondary> | ||
|
|
||
| </section-starting-page> | ||
|
|
||
| </topic> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Shop durchsuchen | ||
|
|
||
| ## So kannst du einen Shop durchsuchen: {id="shop-search"} | ||
|
|
||
|
JoField08 marked this conversation as resolved.
|
||
| 1. Um ein Item im Shop zu suchen, klicke unten links auf den **Pinsel**. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| 2. Nun öffnet sich ein Suchfenster. Dort gibst du den **englischen Begriff** des Items ein und klickst auf <shortcut>Suchen</shortcut>. | ||
|  {border-effect="rounded" thumbnail="false" width="480"} | ||
| Danach werden dir alle Items angezeigt, in denen der Suchbegriff enthalten ist. | ||
|
|
||
| 3. Wenn du im Shop-Fenster links unten auf den **Verstärker** klickst, kannst du die Anzeige aktualisieren. Mit dem **Komparator** unten rechts kannst du die Sortierung anpassen. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.