Compare commits

...

5 Commits

Author SHA1 Message Date
AiTechEye dd7bf29dea
Delete depends.txt 2022-04-08 12:33:12 +02:00
AiTechEye 36df92a5b2
Delete description.txt 2022-04-08 12:33:05 +02:00
AiTechEye f71631e8d7
Add files via upload 2022-04-08 12:32:37 +02:00
AiTechEye cf6817e0a1
Update README.md 2018-12-31 08:33:48 +01:00
AiTechEye 4e0feb8173
fixed some wrong spellings 2018-08-28 20:46:57 +02:00
5 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,8 @@
# smartshop
mod for minetest
code/media license: CC0
Licenses: code: LGPL-2.1, media: CC BY-SA-4.0
Version: 7.11
Like the title says, this is a smart and easy shop, that will also fit everywhere.

View File

@ -1 +0,0 @@
default

View File

@ -1 +0,0 @@
Smart and easy shop

View File

@ -117,15 +117,15 @@ smartshop.receive_fields=function(player,pressed)
meta:set_int("sellall",0)
minetest.chat_send_player(pname, "Sell your stock only")
end
elseif pressed.tooglelime then
elseif pressed.toogleee then
local meta=minetest.get_meta(pos)
local pname=player:get_player_name()
if meta:get_int("type")==0 then
meta:set_int("type",1)
minetest.chat_send_player(pname, "Your stock is limeted")
minetest.chat_send_player(pname, "Your stock is limited")
else
meta:set_int("type",0)
minetest.chat_send_player(pname, "Your stock is unlimeted")
minetest.chat_send_player(pname, "Your stock is unlimited")
end
elseif not pressed.quit then
local n=1
@ -251,7 +251,7 @@ smartshop.update_info=function(pos)
local gve=0
if meta:get_int("sellall")==1 then gve=1 end
if meta:get_int("type")==0 then
meta:set_string("infotext","(Smartshop by " .. owner ..") Stock is unlimeted")
meta:set_string("infotext","(Smartshop by " .. owner ..") Stock is unlimited")
return false
end
local name=""

3
mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = smartshop
description = Smart and easy shop
depends = default