sene_shop

hi im going to tray to explain as best as i can. When i enter menu shop im want the window_ShopBuy to be always visible and when you select buy to proceed as usual. Later i mayte change the layout to something like this
shop_upgrade.jpg


i'm using A LOT of plugins but YEP_ShopMenuCore and SOUL_GraphicShop (whit a lot of */ code */)
and what is your question?

If you want someone to write a plugin for you, this is the wrong section - you'll need to post in plugin requests, and it'll need a lot more details than what you gave above.

If you want to learn how to write such a plugin yourself, then you're in the correct section - but we would need exact questions or the code of what you have so far, and an indication about your experience as a javascript programmer.
when enter menu shop im want the window_ShopBuy to be always visible . what peace of code can i edit to accomplish this?
You can can edit this part of the code:

Code:
Scene_Shop.prototype.createBuyWindow = function() {
    var wy = this._dummyWindow.y;
    var wh = this._dummyWindow.height;
    this._buyWindow = new Window_ShopBuy(0, wy, wh, this._goods);
    this._buyWindow.setHelpWindow(this._helpWindow);
    this._buyWindow.setStatusWindow(this._statusWindow);
    this._buyWindow.hide();   <-- HERE
    this._buyWindow.setHandler('ok',     this.onBuyOk.bind(this));
    this._buyWindow.setHandler('cancel', this.onBuyCancel.bind(this));
    this.addWindow(this._buyWindow);
};

You can delete the "this._buyWindow.hide()". But the buy window is hidden often when you buy something or when you cancel the buy action, so you have to edit other part of the Scene_Shop code.
So if you need to be always open, i suggest to edit directly the hide method of the Window_ShopBuy.

Code:
Window_ShopBuy.prototype.hide = function() { }

This way you will be sure that the Window_ShopBuy will never be hidden.
HI so i "//this._buyWindow.hide();" 3 times in the rpg_scenes and it works 😀, but its steal not perfect, when i enter the shop menu the buyWindow its not visible, it only remains visible after i enter the buy command, from that point it works as intended, how do i force it to be visible from the start?

EDIT: ok its done i just need to edit "//this._buyWindow.hide();" in YEP_ShopMenu




THANKS
Gamefall Team

PS: we should have an honer system like league of legends
@Tatsumaro It's strange, if you remove the hide method from the creation of the window (so the createBuyWindow in Scene_Shop), it should be visible from the start.
I suggest to not make the edits directly in the rpg scenes, but you should create a new plugin file and edit them there, and then you should insert it in your plugin manager.
Maybe you're using other plugins that make changes on the Scene_Shop.
@Tatsumaro
I suggest to not make the edits directly in the rpg scenes, but you should create a new plugin file and edit them there, and then you should insert it in your plugin manager.

I love that but my .js skills are a joke 😉
solved
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/sene_shop.90457/