Jacoh

Villager
Member
Joined
Dec 14, 2017
Messages
16
Reaction score
4
First Language
Italian
Primarily Uses
RMVXA
Hello there, i looked a bit inside the forums and i couldn't find another request like mine if not for MV, so i'm gonna request a script for VX Ace if anyone has it, what i need is a script that makes the player, when affected by a specific status, be unable to use items, every help is appreciated!
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,342
Reaction score
1,366
First Language
Spanish
Primarily Uses
RMVXA
Code:
module Config
 StAry = [1,2,3,4,5]
end

class Window_ItemList < Window_Selectable
  alias orig_enable enable?
  def enable?(item)
    return false if StAry.includes?(item.id)
    return orig_enable(item)
  end
end

maybe?
 

Latest Threads

Latest Posts

Latest Profile Posts

You know you've been working on RPGMaker for a while when you go to move your projects to a 16 GB USB drive and get told not enough space to do this operation.
The latest post on TheDazzlingsAreBack...
besides itch and occasionally here where are people doing game jams at y'all? (plz do not cross reference this with my previous status lol)
Go out all day!
★No work★
Just want to sleep when I get home Zzzzz
just went through 50 issues of Fables, only to left kind of disappointed by it, I guess I have to wait for season 2 of TWAU instead.

Forum statistics

Threads
110,439
Messages
1,053,303
Members
143,507
Latest member
Arcanjo
Top