Yami RPG Editor

Yami RPG Editor

Lato Aug 1, 2023 @ 11:20am
How to add items to the NPC shop?
I made some new armor. Copy and pasted a working one, changed he image and update the number. However I do not see a place to add it to the npc shop inventory list.
Originally posted by Lato:
Originally posted by Mr. Von Grimmsy:
Originally posted by Lato:
I made some new armor. Copy and pasted a working one, changed he image and update the number. However I do not see a place to add it to the npc shop inventory list.
This one is new to me as well, but I opened the program and may have found the solution:

First, click on the asset search bar and look for 'Trading Interface'.

For reference it's located at:

Assets -> UI -> Trading -> Trading Interface

Once you open that, you'll see the whole shop layout and a huge list of UI elements/groupings on the left-hand panel.

Scroll down and find the heading named 'GridWindow' then right underneath it 'Goods'. I'm not 100% sure, but I believe you'd add items there in the AutoRun event.

I'll do some digging tomorrow and get back to you if I figure it out - it's almost 3 AM on my side, so I'm just about to hit the hay! :sl_villager:

EDIT: Actually, looking again the event you need to look at may be the 'GridWindow' AutoRun event; barring that, I'd just try seeing if there's any other event running in that list of UI elements that may be adding items. ('GridWindow' looks like the most likely one so far though~)

I found it! Its actually a lot more simple then what we were looking for.
Just do a create event on a npc and his shop is the items you give him.
"Set inventory, trigger actor, gain equipment, then its name."

Tested and working. My god that took me 30 min when it should have taken me 10 sec lol. Well I think this will help a lot of people.
< >
Showing 1-3 of 3 comments
Mr. Von Grimmsy Aug 1, 2023 @ 11:50am 
Originally posted by Lato:
I made some new armor. Copy and pasted a working one, changed he image and update the number. However I do not see a place to add it to the npc shop inventory list.
This one is new to me as well, but I opened the program and may have found the solution:

First, click on the asset search bar and look for 'Trading Interface'.

For reference it's located at:

Assets -> UI -> Trading -> Trading Interface

Once you open that, you'll see the whole shop layout and a huge list of UI elements/groupings on the left-hand panel.

Scroll down and find the heading named 'GridWindow' then right underneath it 'Goods'. I'm not 100% sure, but I believe you'd add items there in the AutoRun event.

I'll do some digging tomorrow and get back to you if I figure it out - it's almost 3 AM on my side, so I'm just about to hit the hay! :sl_villager:

EDIT: Actually, looking again the event you need to look at may be the 'GridWindow' AutoRun event; barring that, I'd just try seeing if there's any other event running in that list of UI elements that may be adding items. ('GridWindow' looks like the most likely one so far though~)
Last edited by Mr. Von Grimmsy; Aug 1, 2023 @ 11:55am
A moderator of this forum has indicated that this post answers the original topic.
Lato Aug 1, 2023 @ 12:32pm 
Originally posted by Mr. Von Grimmsy:
Originally posted by Lato:
I made some new armor. Copy and pasted a working one, changed he image and update the number. However I do not see a place to add it to the npc shop inventory list.
This one is new to me as well, but I opened the program and may have found the solution:

First, click on the asset search bar and look for 'Trading Interface'.

For reference it's located at:

Assets -> UI -> Trading -> Trading Interface

Once you open that, you'll see the whole shop layout and a huge list of UI elements/groupings on the left-hand panel.

Scroll down and find the heading named 'GridWindow' then right underneath it 'Goods'. I'm not 100% sure, but I believe you'd add items there in the AutoRun event.

I'll do some digging tomorrow and get back to you if I figure it out - it's almost 3 AM on my side, so I'm just about to hit the hay! :sl_villager:

EDIT: Actually, looking again the event you need to look at may be the 'GridWindow' AutoRun event; barring that, I'd just try seeing if there's any other event running in that list of UI elements that may be adding items. ('GridWindow' looks like the most likely one so far though~)

I found it! Its actually a lot more simple then what we were looking for.
Just do a create event on a npc and his shop is the items you give him.
"Set inventory, trigger actor, gain equipment, then its name."

Tested and working. My god that took me 30 min when it should have taken me 10 sec lol. Well I think this will help a lot of people.
Mr. Von Grimmsy Aug 1, 2023 @ 5:29pm 
Originally posted by Lato:
I found it! Its actually a lot more simple then what we were looking for.
Just do a create event on a npc and his shop is the items you give him.
"Set inventory, trigger actor, gain equipment, then its name."


Tested and working. My god that took me 30 min when it should have taken me 10 sec lol. Well I think this will help a lot of people.

Hahaha, excellent! I had a feeling I was overthinking it - good job, this will certainly help others including me! So, thanks for that. :steamhappy:

If you need anything else, let me know! :steamthumbsup:
Last edited by Mr. Von Grimmsy; Aug 1, 2023 @ 5:33pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50