Open Shops

● ARCHIVED · READ-ONLY
Started by Mr. Trivel 2 posts View original ↗
  1. 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:

    Spoiler

    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>
  2. This is very kool! Great job!