Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

Good questions, thanks for asking; they are both separate costs, for different actors.

I have something entered in the gold cost, yes.

This is what I have set up for one actor; 1 amount of a Spatial Gem (item 2).

And this is the gold cost gif:

https://imgur.com/a/YTxBAtv

Ah ok I see, you are calling the individual actor accept scene instead of the recruitment board. It does not check costs when called that way, since it is only 1 actor I thought it would be better to let people event how the player reaches that scene.

If you want it to check the costs automatically you can add the following code to the bottom of the js file

CGMZ_Scene_RecruitmentActor.prototype.createRecruitWindow = function() {
    const rect = this.recruitWindowRect();
    this._recruitWindow = new CGMZ_Window_RecruitmentBoardRecruit(rect);
    this._recruitWindow.setHandler('cancel', this.onRecruitCancel.bind(this));
    this._recruitWindow.setHandler('ok', this.onRecruitOk.bind(this));
    this._recruitWindow.actorId = this._cgmzActor.id;
    this._recruitWindow.refresh();
    this._recruitWindow.activate();
    const option = (CGMZ.RecruitmentBoard.RecruitDefaultOption) ? 0 : 1
    this._recruitWindow.select(option);
    this.addWindow(this._recruitWindow);
};

Thank you so much!

I tried to tell you that I was using the Call Actor scene in my first message in an edit but that might have been missed! I'm very sorry for the trouble and thanks again.

No problem, I did see you said that after scrolling back up 😅I think I did miss the edit. Glad you got it working.

I don't want to make this change for everyone as I think some people might want to be able to skip the costs in some cases... I can make it a true / false parameter in the plugin command easily enough though.