swshop helpfile and updates
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
required = {
|
||||||
|
'milo',
|
||||||
|
},
|
||||||
title = 'Switchcraft basic shop',
|
title = 'Switchcraft basic shop',
|
||||||
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/swshop',
|
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/swshop',
|
||||||
description = 'Modification of the k store by Lemmmy\nRun installPlugin.lua after install',
|
description = 'Modification of the k store by Lemmmy\nRun installPlugin.lua after install',
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ end
|
|||||||
function page.grid:getDisplayValues(row)
|
function page.grid:getDisplayValues(row)
|
||||||
row = Util.shallowCopy(row)
|
row = Util.shallowCopy(row)
|
||||||
local x = row.recipient
|
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
|
return row
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
25
swshop/help/swshop
Normal file
25
swshop/help/swshop
Normal 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.
|
||||||
Reference in New Issue
Block a user