Difference between revisions of "Master Shop"

From ChatWars Wiki
Jump to: navigation, search
(Using the shop)
(Added Shop management)
Line 1: Line 1:
Every [[Blacksmith]] has the possibility to open his own shop to sell his services in crafting. Opening and managing the shop is done with the command /myshop at the [[ChatWarsBot]]. Creating the shop requires 500 :Gold:. Every shop has a unique chatcommand to access the shop.  
+
Every [[Blacksmith]] and [[Alchemist]] has the possibility to open his own shop to sell his services in crafting.
 +
 +
An overview can be seen with the command <code>/myshop</code> at the [[ChatWarsBot]].  
 +
To create a shop use the command <code>/createshopshop</code> , it requires 500 :Gold:. Every shop gets assigned a unique number depending on when it was created, this number will be used in many other commands and will be refered to by "[Shop_ID]".
 +
 
 +
To open or close the shop use the command <code>/myshop_open</code> or <code>/myshop_close</code>.
  
 
=Using the shop=
 
=Using the shop=
 
To use the shop of a blacksmith, a player needs to send the unique command for the shop to the [[ChatWarsBot]]. The shop can be open or closed, depending on the state of the shop owner. The owner has to open the shop to allow players buying/crafting gear in his shop. The following exemplary shop of IronMan would be accessed with <code>/ws_IamIM</code>.  
 
To use the shop of a blacksmith, a player needs to send the unique command for the shop to the [[ChatWarsBot]]. The shop can be open or closed, depending on the state of the shop owner. The owner has to open the shop to allow players buying/crafting gear in his shop. The following exemplary shop of IronMan would be accessed with <code>/ws_IamIM</code>.  
  
  Welcome, to ''''IronMans Forge #42'''
+
  Welcome, to '''IronMans Forge #42'''
  '''IronMan''' 999/999 :Mana: the Blacksmith from Butterfly<br>
+
  '''IronMan''' 500/500 :Mana: the Blacksmith from Butterfly<br>
 
  Smithy is '''open'''.<br>
 
  Smithy is '''open'''.<br>
 
  Hunter Armor, 150 :Mana: 123 :Gold: /ws_IamIM_a32
 
  Hunter Armor, 150 :Mana: 123 :Gold: /ws_IamIM_a32
Line 22: Line 27:
  
 
=Managing the Shop=
 
=Managing the Shop=
The shop must be manually openend, when you go on a quest, defend or attack the shop is closed automatically and must manually reopened.
+
 
 +
Type <code>/s_[Shop_ID]_edit</code> to get to the admin page where you can see how many offers you use and remove a specific offer.
 +
A newly created shop can have up to 5 offers at once, to increase the cap you have to use :Gem:.
 +
 
 +
For every level you gain one additional spot up to 10, the cost increase with each level and are like following:
 +
 
 +
{| class="mw-collapsible wikitable"
 +
!colspan="2"|Shop Expansion Cost
 +
|-
 +
|<u>'''Slots'''</u>
 +
|<u>'''Cost'''</u>
 +
|-
 +
| 5 || 500 :Gold:
 +
|-
 +
| 6 || 3 :Gem:
 +
|-
 +
| 7 || 5 :Gem:
 +
|-
 +
| 8 || 8 :Gem:
 +
|-
 +
| 9 || 13 :Gem:
 +
|-
 +
| 10 || 21 :Gem:
 +
|}
 +
 
 +
==Adding a Product==
 +
 
 +
To add a product type <code>/add_[Shop_ID]_[Item_ID] [Price]</code>
 +
 
 +
As long as there is a free slot the product will be added, otherwise an error will be posted.
 +
 
 +
==Changing the Price==
 +
 
 +
It is not possible to offer the same product twice, by typing <code>/add_[Shop_ID]_[Item_ID] [Price]</code> with an existing product only the price will be updated and the rest will stay unchanged.
 +
 
 +
==Removing a Product==
 +
 
 +
To remove a product type <code>/s_ [Shop_ID]_d_[Spot]</code>.
 +
 
 +
Spot stands for the place the product has in your shop. If you look at '''IronMans Forge''' as example, Hunter Armor would be on Spot 1 and the Hunter Gloves would be on Spot 5.
 +
 
 +
==Travia==
 +
 
 +
The prices for the shop enlargement are the derived from the Fibonacci sequence [https://en.wikipedia.org/wiki/Fibonacci_number]

Revision as of 20:33, 25 April 2018

Every Blacksmith and Alchemist has the possibility to open his own shop to sell his services in crafting.

An overview can be seen with the command /myshop at the ChatWarsBot. To create a shop use the command /createshopshop , it requires 500 Gold.png. Every shop gets assigned a unique number depending on when it was created, this number will be used in many other commands and will be refered to by "[Shop_ID]".

To open or close the shop use the command /myshop_open or /myshop_close.

Using the shop

To use the shop of a blacksmith, a player needs to send the unique command for the shop to the ChatWarsBot. The shop can be open or closed, depending on the state of the shop owner. The owner has to open the shop to allow players buying/crafting gear in his shop. The following exemplary shop of IronMan would be accessed with /ws_IamIM.

Welcome, to IronMans Forge #42
IronMan 500/500 Mana.png the Blacksmith from Butterfly
Smithy is open.
Hunter Armor, 150 Mana.png 123 Gold.png /ws_IamIM_a32 Hunter Boots, 150 Mana.png 456 Gold.png /ws_IamIM_a34 Hunter dagger, 150 Mana.png 789 Gold.png /ws_IamIM_w32 Hunter Helmet, 150 Mana.png 314 Gold.png /ws_IamIM_a33 Hunter Gloves, 150 Mana.png 271 Gold.png /ws_IamIM_a35
Have a nice day. /ws_IamIM

A player can craft all items listed in the shop page, as long as the owner has enough mana Mana.png for that specific order. The amount of mana needed is noted next to the name of the item. The amount of mana available is written down in the shop page, too. If a player wants to order a specific item, as long as the following requirements are fulfilled:

  • The customer of the shop has all necessary items/resources in his inventory.
  • The customer has enough gold Gold.png to pay the shop owner with the price set by the owner and listed on the shop page.
  • The shop owner has enough mana.
  • The shop is open.

The order will be processed after sending the corresponding command to an item to the ChatWarsBot.

Managing the Shop

Type /s_[Shop_ID]_edit to get to the admin page where you can see how many offers you use and remove a specific offer. A newly created shop can have up to 5 offers at once, to increase the cap you have to use Gem.png.

For every level you gain one additional spot up to 10, the cost increase with each level and are like following:

Shop Expansion Cost
Slots Cost
5 500 Gold.png
6 3 Gem.png
7 5 Gem.png
8 8 Gem.png
9 13 Gem.png
10 21 Gem.png

Adding a Product

To add a product type /add_[Shop_ID]_[Item_ID] [Price]

As long as there is a free slot the product will be added, otherwise an error will be posted.

Changing the Price

It is not possible to offer the same product twice, by typing /add_[Shop_ID]_[Item_ID] [Price] with an existing product only the price will be updated and the rest will stay unchanged.

Removing a Product

To remove a product type /s_ [Shop_ID]_d_[Spot].

Spot stands for the place the product has in your shop. If you look at IronMans Forge as example, Hunter Armor would be on Spot 1 and the Hunter Gloves would be on Spot 5.

Travia

The prices for the shop enlargement are the derived from the Fibonacci sequence [1]