Splitting Stacks

  • you could count it and then remove what ever and get what is left so say the stake size is 10 then you do 10 - 2 = 8 2 goes somewhere and 8 stays in the slot

    Yahgiggle Steam Signature, real name Deon Hamilton :thumbsup: Server @ ip 139.99.136.76:4255 Name (The Federation of territory) Unity :thumbsup:

    If at first your code does not work call it version 0.1 with the odd bug :thinking:

    My Own Website




    31245-logo-png
  • Unfortunately there is so "Split Amount" option so we can manually input how many we want split off.

    Personally I think that would be one of the biggest QOL changes that could be done to the inventory system.

  • Unfortunately there is so "Split Amount" option so we can manually input how many we want split off.

    Personally I think that would be one of the biggest QOL changes that could be done to the inventory system.

    Yes to have someone put in 5 out of 11 of something into a chest is hard. As yahgiggle suggests, one could have the plugin do this effort. I will say that in most other games I have played the use of a shift key during mouse dragging usually provides for a number to transfer input window. That would be an wonderful addition on the game playing side for players.

    you could count it and then remove what ever and get what is left so say the stake size is 10 then you do 10 - 2 = 8 2 goes somewhere and 8 stays in the slot

    Thanks should have clarified this was a game playing not really a game plugin coding question. I was imagining how someone could do something I wanted them to do and discovered there was no easy way for the player to do it. I already do something similar to what you suggest in a sell saddling plugin for leather . If you have too much it takes what it needs and leaves you will the remainder. In the case of what I am doing now I was going to make the player provide exact currency for the exchange which is hard for them to do. Rising World has holes or discontinuities on the actual individual game player side and is more of a plugin programmer's sandbox.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!