Results 1 to 3 of 3

Thread: Interactive menus

  1. #1
    Hunter
    Join Date
    Mar 2018
    Posts
    148
    Rep Power
    1

    Interactive menus

    Hi,

    I would like to add an advanced dump feature to chest : all items in my inventory that also exist in the chest would be transferred to the chest.

    1) UI
    When I press or "e" or "f" on some items (chest in the world, wood frame in my hand), some circular menus appear. Where are they defined (xml or dll ?) ? What would it take to modify them (to add the advanced dump in the menu) ?

    2) Callback
    I can see how to interact with the stacks in player's inventory/bag (in 0-SphereIICore\Scripts\Items\ItemsUtilities.cs of Speherii mods), but
    - How can I interact with the content of a chest ?
    - Do I need to decrement player / increment chest, and manage stacks limits ? Or is there a move_to_chest function that can do it for me ?

    If 1) is difficult, how can a player trigger the dump callback on a chest ?

    Thank you in advance !

  2. #2
    Hood Ornament Gamida's Avatar
    Join Date
    May 2015
    Location
    The Rock
    Posts
    4,295
    Rep Power
    1

  3. #3
    Hunter
    Join Date
    Mar 2018
    Posts
    148
    Rep Power
    1
    Thank you very much Gamida, this is perfect !

    I would still like to know if and how the "ee and "f" menus are moddable.
    Last edited by Umbrella; 12-21-2019 at 01:01 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •