Actor Battle Items
#4
(11-04-2020, 06:32 PM)Melana Wrote: This is a nice script

I have some ideas for additional features:

-The possibility to put items from an actor inventory back into the normal inventory
-An option to chose the amount of items to distribute, similar to the shop window for example
-A limit for distributeable items to a character. (Like only up to 5 different kinds of items)
-A stack limit for the individual items like only 5 items of each kind.

Regarding the first option, you can.  While in the Battle Items menu, the pop-up window that appears when selecting an item allows you to move items back to the so-called item-bag.  This assuming that you left the configuration option for that feature alone.

However, the script itself has notes under the "MORE STUFF?" heading, this actually describing the options you just mentioned.  But it also mentions that these options were for others to include, and that I was leaving the script as it is.

Just checking if an actor has X number of items is not too difficult
# Set ID of a potion
item_id = 1
# Get the list of the party leader's items
item_list = $game_party.actors[0].items
# Get the quantity of the potions in the list
item_qty = item_list[item_list]
# Print it
p item_qty

Assuming your lead has a potion or two, this would tell you how many.  Or it will say nil if none exist.  This could be used before throwing an item into an actor's personal grab bag.  Simple things

But as I said, I'm stopping here.  This is a basic system, and it should be adaptable with other battlesystems with some work.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
Actor Battle Items - by DerVVulfman - 11-03-2020, 04:20 AM
RE: Actor Battle Items - by Mel - 11-04-2020, 06:32 PM
RE: Actor Battle Items - by DerVVulfman - 11-05-2020, 04:42 AM
RE: Actor Battle Items - by Bounty Hunter Lani - 11-04-2020, 06:58 PM
RE: Actor Battle Items - by Mel - 11-08-2020, 12:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   DerVV's Actor Stat Points Distributor DerVVulfman 0 566 07-16-2024, 04:46 AM
Last Post: DerVVulfman
   Battle Item Count kyonides 4 2,169 02-04-2024, 05:49 AM
Last Post: kyonides
   Dalissa's Battle Cry DerVVulfman 2 7,437 05-09-2023, 03:07 AM
Last Post: DerVVulfman
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,851 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Battle Report Raziel 1 6,988 05-29-2020, 02:27 AM
Last Post: Whisper
   ZLSL's Battle Portraits DerVVulfman 4 7,525 11-12-2019, 04:10 AM
Last Post: DerVVulfman
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 255,929 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Mimi's Battle Music DerVVulfman 2 8,839 11-19-2018, 04:18 AM
Last Post: DerVVulfman
   ATOA Chanting Battle Animations DerVVulfman 9 17,873 01-12-2017, 01:46 PM
Last Post: Noctis
   Automatic Battle Actions Claihm 1 7,419 08-15-2016, 09:15 PM
Last Post: Mel



Users browsing this thread: 1 Guest(s)