じ☆ve冰风 发表于 2026-7-31 11:59:21

Open Shops

Author: Mr Trivel


Name: Open Shops


Version: 1.0


Features: Instead of needing to talk to a clerk to buy items. You can buy items straight of the tables!


Screenshots:

Spoilerhttp://mrtrivelvx.files.wordpress.com/2014/06/mrts_open_shops.png?w=842




Instructions:


Call the item buy by using: 


SceneManager.call(MrTS_Open_Shop_Scene)


SceneManager.scene.prepare(type, id, price)


Type is: 0 - item, 1 - Weapon, 2 - Armor


id is item's ID in the database


price - at what value you want to sell the item to the player. Don't enter it to use default value.   


E.g: SceneManager.call(MrTS_Open_Shop_Scene)


SceneManager.scene.prepare(1,24) 


Will ask if you want to buy Tyrfang sword for default price..


<Get Code Here: Link>


<Blog>


本贴来自国际rpgmaker官方论坛作者:Mr. Trivel处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/open-shops.28214/
页: [1]
查看完整版本: Open Shops