[Mod] Trader Redo [mobs_npc]

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

[Mod] Trader Redo [mobs_npc]

by everamzah » Fri Jul 15, 2016 00:20

Description: This is a re-working of the trader's formspec. I was having some trouble with it, so this is an attempt to make it work more simply.
Depends: mobs
License: Not really sure, whatever Sapier says, I guess.
+ Spoiler


Download: GitHub or master.zip

Image

Original mobs_npc can be found at https://github.com/tenplus1/mobs_npc
Attachments
screenshot_20160714_201251.png
(103.24 KiB) Not downloaded yet
 

User avatar
TenPlus1
Member
 
Posts: 2422
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Trader Redo [mobs_npc]

by TenPlus1 » Mon Jul 18, 2016 10:09

Love the new formspec :) would it be ok to use this in the my own mobs_npc ??
 

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

Re: [Mod] Trader Redo [mobs_npc]

by everamzah » Mon Jul 18, 2016 12:47

You certainly may!

However, there seems to be some problem with traders not trading sometimes, I don't know why yet.
 

Martno
Member
 
Posts: 77
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Mod] Trader Redo [mobs_npc]

by Martno » Sat Jul 23, 2016 21:50

everamzah wrote:However, there seems to be some problem with traders not trading sometimes, I don't know why yet.


Yeah the traders don't trade after some time, and their name change to yellow (?) I can only trade with green named traders. Also, when I quit the game and rejoin, their inventory is loaded again. Is this intentional? Or does this mod have a reload feature?

Other than that, traders work awesome, very fast.
 

User avatar
maikerumine
Member
 
Posts: 1345
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [Mod] Trader Redo [mobs_npc]

by maikerumine » Sat Jul 23, 2016 22:43

everamzah wrote:Description: This is a re-working of the trader's formspec. I was having some trouble with it, so this is an attempt to make it work more simply.
Depends: mobs
License: Not really sure, whatever Sapier says, I guess.
+ Spoiler


Download: GitHub or master.zip

Image

Original mobs_npc can be found at https://github.com/tenplus1/mobs_npc

You brilliant man, you! Do you also mind if I add the formspec to one of my mobs?
Maybe add a function to heal/feed npc on rightclick? This might keep their status green.
 

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

Re: [Mod] Trader Redo [mobs_npc]

by everamzah » Sat Jul 23, 2016 23:10

Yep, this mod needs a lot of work. I'll try to fix them, so they don't stop working on logout/trade/restart, etc.

Ps., This mod can be added anywhere, I feel, as long as Sapier's copyright notice is honored:
+ Spoiler
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

Re: [Mod] Trader Redo [mobs_npc]

by taikedz » Mon Oct 10, 2016 02:47

There's an easy way to get stuff for free off the trader.... needs bugfix... in the formspec?

Halve the stack (or put one item only from the stack) and put that in the item box - no price. Purchase, and you get that item free. And then the other half too, of course.
Last edited by taikedz on Wed Oct 12, 2016 17:19, edited 1 time in total.
Not my monkeys; not my circus.
 

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

User avatar
Fixer
Member
 
Posts: 866
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 3 guests