[Mod] Simple Shop [shop]

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

[Mod] Simple Shop [shop]

by everamzah » Fri Jun 10, 2016 14:30

Description: Old mod that I never released for some reason. Probably bad UI, but is suitable for simple exchanging of items. Includes a gold coin crafted from gold ingots.
License: GPL3
Depends: default
Download: GitHub or master.zip

+ Screenshots
Attachments
screenshot_20160610_102355.png
screenshot_20160610_102355.png (239.64 KiB) Viewed 1502 times
screenshot_20160610_102328.png
screenshot_20160610_102328.png (319.63 KiB) Viewed 1502 times
Last edited by everamzah on Sun Jun 12, 2016 10:31, edited 1 time in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Simple Shop [shop]

by azekill_DIABLO » Fri Jun 10, 2016 14:49

simple and esy! i love it!
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Sun Jun 12, 2016 04:01

 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Simple Shop [shop]

by Krock » Sun Jun 12, 2016 08:23


Please also add the dependencies of your mod to the main topic.
But the mod idea is good. What I would like to see is a texture that looks a bit more like a shop node.
Maybe it's just me but the current one could be rather be a bank or a treasure.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Sun Jun 12, 2016 10:33

Thank you! It reminds me of a bank too. I'll keep an eye out for a better texture.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Thu Jun 30, 2016 15:33

Image

Image

The stock can now only be opened by the owner. I'll likely work on the formspec/messages sent more later.
Attachments
screenshot_20160630_112920.png
screenshot_20160630_112920.png (114.39 KiB) Viewed 1502 times
screenshot_20160630_112913.png
screenshot_20160630_112913.png (98.57 KiB) Viewed 1502 times
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Simple Shop [shop]

by azekill_DIABLO » Thu Jun 30, 2016 16:28

cool :)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Thu Sep 15, 2016 17:07

Hello n_n. I'm using this mod, and it's amazing. But I'm want that the Item I add replace by itself, because I've a server. And I won't to go back and replace Items... you know. How can I do that - if it's possible?

***YOUR SHOP MOD IT'S THE BEST. IT WORKS GREAT AND IT'S VERY SIMPLE. IT'S A PITY THAT EXCHANGE MOD - MADE BY ZEG IT'S NOT WORKING. I TRIED AND IT DIDN'T WORK. :(. IF YOU CAN HELP ME, I WOULD BE REALLY GRATEFUL. :) ******
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Fri Sep 16, 2016 14:38

The shop register relies on a stock being in its inventory, in order to exchange for what's asked. It's simple and that's all it can do.

I think, if anything, I'd like to add support to it for other mods that would interact with it, but am pretty unfamiliar with machines mods, etc. On the other hand, it might be easy enough to add a secondary, "admin" shop node. I just never got around to it, I guess, as it was asked before by Dragonop. Maybe I'll do that now, thanks for the reply.

I don't know about any other shop mod.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Fri Sep 16, 2016 16:18

everamzah wrote:The shop register relies on a stock being in its inventory, in order to exchange for what's asked. It's simple and that's all it can do.

I think, if anything, I'd like to add support to it for other mods that would interact with it, but am pretty unfamiliar with machines mods, etc. On the other hand, it might be easy enough to add a secondary, "admin" shop node. I just never got around to it, I guess, as it was asked before by Dragonop. Maybe I'll do that now, thanks for the reply.

I don't know about any other shop mod.

Oh, don't worry. I added adminshop mod - made by natan - and your mod I made available for single clients in my server. It's ok. It's an excellent mod for single clients.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
rnd
Member
 
Posts: 136
Joined: Sun Dec 28, 2014 12:24
IRC: ac_minetest
In-game: rnd

Re: [Mod] Simple Shop [shop]

by rnd » Wed Sep 21, 2016 12:11

Almost perfect shop mod that does what it needs to and without unnecessary features. Made a fork https://github.com/ac-minetest/shop with the following features - 4. takes care of ParaklataChotou request:

1.cleaned up minimalistic gui
2. user can see clearly what shop is selling/buying by just looking at shop
3. better and informative error display like:
"Error. You dont have enough items to pay" or "Error. Shop out of stock."
4. if shop owner is admin shop can sell/buy infinite items - no "out of stock" errors
5. shop errors now show as shop text - owner can easily spot shop with problems
6. player can't trade with himself to prevent easy abuses

Image

Image
Attachments
shop2.jpg
shop2.jpg (179.65 KiB) Viewed 1502 times
shop1.jpg
shop1.jpg (181.79 KiB) Viewed 1502 times
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Wed Sep 21, 2016 17:37

rnd wrote:Almost perfect shop mod that does what it needs to and without unnecessary features. Made a fork https://github.com/ac-minetest/shop with the following features - 4. takes care of ParaklataChotou request:

1.cleaned up minimalistic gui
2. user can see clearly what shop is selling/buying by just looking at shop
3. better and informative error display like:
"Error. You dont have enough items to pay" or "Error. Shop out of stock."
4. if shop owner is admin shop can sell/buy infinite items - no "out of stock" errors
5. shop errors now show as shop text - owner can easily spot shop with problems
6. player can't trade with himself to prevent easy abuses

Image

Image

It's simply amazing. If I build another server, I'll try this one. It looks cool. With selling/buying/trading options in one shop, it's really practical. Thank you rnd!!! n_n
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Wed Oct 05, 2016 02:55

Very nice! Next time I look into the shop mod, I may incorporate some of your changes. I had originally more conditional messages, but later lumped them all together for whatever reason.

Can you fix my fork of mobs_npc too? The trader is broken. ^_^
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Simple Shop [shop]

by azekill_DIABLO » Wed Oct 05, 2016 16:51

everamzah wrote:Very nice! Next time I look into the shop mod, I may incorporate some of your changes. I had originally more conditional messages, but later lumped them all together for whatever reason.

Can you fix my fork of mobs_npc too? The trader is broken. ^_^

i'm usig your mod it's not dah broken. it's just dumb. i will also pst a bit of code to add to make the interaction better (look at u)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Wed Oct 05, 2016 22:13

Don't change everything. This mod is working fine. Other shop mods who ran so fine now are broken for no reason.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Wed Oct 05, 2016 22:47

Don't change everything. This mod is working fine. Other shop mods who ran so fine now are broken for no reason.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Thu Oct 06, 2016 03:52

It's funny because I talked about wanting to set up some machine compatibility, and then rnd, who has made the Basic Machines mod I believe, replied with changes in a forked version. I decided not to incorporate all oh his changes at once, but replied that I'd look into some of it and merge it back in manually. Given how rapidly I work on my mods, this may take a long time, if ever.

I'd sooner modify it to work with machines, as I simply find that more interesting. But then I'd need to learn how to use machines, heh.

I also contemplated merging the trader from mobs_npc into this mod. Then, if mobs is present, a trader may optionally be spawned.
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: [Mod] Simple Shop [shop]

by Fixerol » Wed Nov 09, 2016 16:22

 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 10 guests

cron