Skip to content

Setting up your shop (fatShopCustomization file)

Fatboychummy edited this page Jul 1, 2018 · 7 revisions

Return to Setting up your shop


The fatShopCustomization file:

This is by-far the most painful-to-look at file. There are a lot of things happening here, and it changes with almost every update.

I will go over each item within, and give a brief explanation on what each does.


---------The full shop, for reference.

Full shop

owner

This simply states who owns the shop. It is only visible if showCustomInfo is set to false.

shopName

This is the name of your shop, displayed at the top of the monitor.

The name of the shop

showCustomInfo

Setting this to false will cause a placeholder information bar across the bottom to appear, setting it to true will allow you to set up to two lines of information.

PlaceHolder Shop Description Custom Shop Description

customInfo

These only change anything if the above showCustomInfo is set to true. The two strings contained here will be displayed instead of the placeholder.

showCustomBigInfo

Like showCustomInfo, setting this to false will cause a placeholder information bar to appear. If it is true, you can set up to four lines of information.

PlaceHolder big description Custom big description

customBigInfo

Like customInfo, these will only change anything if showCustomBigInfo is set to true. The four strings contained here will be displayed instead of the placeholder.

Note: The word "PUBKEY" will be translated to the shop's public krist address. This is something you will need to add somewhere, otherwise nobody will know where to send krist to!

touchHereForCobbleButton

Drowning in cobble? Set this to true and you can have a button on the screen that, when pressed, will eject a stack of cobblestone.

cobbleButton

dropSide

Tells the turtle which direction to drop items from. It accepts "bottom", "top", and "front"

itemsDrawnAtOnce

This is the maximum items drawn PER PAGE. For the sake of the test shop, it's set to 20. Note that there are less than 20 items displayed, however, since the test shop does not have over 20 items programmed into it.

useBothChestTypes, useSingleChest, and chestSide

These three work in tandem.

useBothChestTypes: Use both a modem network of chests, and a single chest attached to the side of the turtle.

useSingleChest: Use a single chest attached to the side of the turtle.

chestSide: If one of the above is set to true, then this is the chest that will be indexed for items. Note that it doesn't have to be a "side", and that you CAN have this hooked up to a storage network but only index one chest. in the future, chestSide will be renamed to chestName.

If useBothChestTypes is true, then useSingleChest will be ignored, and chestSide will be read from.

compactMode - Beta feature

Meant for monitors that are one block tall, compact mode will make the header, and the footer, of the shop much thinner, allowing for more space for items and etc in the center.

farthestBackground (To be renamed "sidebar" in future)

Allows you to set the background color of the sidebar.

sidebar

background

Allows you to set the background and the foreground(text) of the background.

background

nameBar

Allows you to set the background and the foreground(text) of the shop's name-bar.

name bar

itemInfoBar

Allows you to set the background and the foreground(text) of the shop's item-information bar.

Item info bar

infoBar

Allows you to set the background and the foreground(text) of the shop's footer (or information bar).

shop footer

buttons

Allows you to set the background and the foreground(text) of the enabled buttons.

enabled buttons

disabledButtons

Allows you to set the background and the foreground(text) of the disabled buttons.

disabled buttons

selection

Allows you to set the background and the foreground(text) of the selected item, which appears when the screen is tapped.

selected item

bigSelection

Allows you to set the background and the foreground(text) of the "bigSelection" popup, which appears when there is a selected item.

big selected item

selectedEmptyStock

Allows you to set the background and the foreground(text) of the selected item, if the stock is empty for that item.

empty stock selected item

bigSelectionEmptyStock

Allows you to set the background and the foreground(text) of the "bigSelection" popup, which appears when there is a selected item, and if the item has no remaining stock.

empty stock bigSelection

bigInfo

Allows you to set the background and the foreground(text) of the bigInfo window, which displays information like the krist address for your shop.

big Info Box

itemTableColor1 and itemTableColor2

Allows you to set the background and foreground(text) of the item Table. Setting these to the same value will mean the the table will be one solid color, setting these to different values will cause an alternating pattern

itemTableEmptyStock

Allows you to set the background and foreground(text) of the item when the stock for the item is empty. In a future update there will be two of these to go along with the alternating pattern that some people like to use.

item table empty stock


The REFUNDS and the LOGGER will be explained more in-depth, later.