public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

[VX Ace] Help with Yanfly Common event shop script

BMM_Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: [VX Ace] Help with Yanfly Common event shop script
  • Original author: S.Court
  • Original date: December 3, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/vx-ace-help-with-yanfly-common-event-shop-script.52112/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

Hi everybody, you'll see, I'm using Yanfly's common event shop script (https://github.com/Archeia/YEARepo/blob/master/Field/Common_Event_Shop.rb) and I'm having troubles using the  and  commands I was trying to make a common event is only available/visible if the actor has certain skill learned I was trying to use this eval code: @actor.skills.include?($data_skills[92]) But it doesn't work So, how can I make this code evals if the player has learned of hasn't learned certain skill? Is it possible to change a bit the eval code to make it checks if only certain actor ID has learned this...

Archived First Post

Hi everybody, you'll see, I'm using Yanfly's common event shop script (https://github.com/Archeia/YEARepo/blob/master/Field/Common_Event_Shop.rb) and I'm having troubles using the <shop enable eval> and <shop show eval> commands

I was trying to make a common event is only available/visible if the actor has certain skill learned

I was trying to use this eval code: @actor.skills.include?($data_skills[92]) But it doesn't work

So, how can I make this code evals if the player has learned of hasn't learned certain skill? Is it possible to change a bit the eval code to make it checks if only certain actor ID has learned this skill?

Thanks for your attention

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar