swshop helpfile and updates

This commit is contained in:
Anavrins
2020-01-29 23:14:38 -05:00
parent a9c613164c
commit 48f142accc
3 changed files with 29 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
{
required = {
'milo',
},
title = 'Switchcraft basic shop',
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/swshop',
description = 'Modification of the k store by Lemmmy\nRun installPlugin.lua after install',

View File

@@ -141,7 +141,7 @@ end
function page.grid:getDisplayValues(row)
row = Util.shallowCopy(row)
local x = row.recipient
row.from = x and x:match('(%w+)@') or row.from
row.from = x and x:match('(.+)@') or row.from
return row
end

25
swshop/help/swshop Normal file
View File

@@ -0,0 +1,25 @@
An item shop software using Krist as its currency.
Requirements
============
* Advanced Turtle
* Chests (any type)
* Milo system
Installation
============
> pastebin run uzghlbnc
> package install swshop
> reboot
Setup
=====
From the shell, run the 'installPlugin.lua' once to install the shop component into your Milo installation.
From Milo, open the setup page and find the monitor you wish to use in the list.
Choose the monitor's type to be 'Store Front', and configure your domain and your wallet's key.
Usage
=====
Setup prices by right-clicking on the desired item and going on the 'Shops' tab.