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,340
Reaction score
1,357
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

too... many... ideas... can't... edit them down :dizzy:
Don't you love your work?
It's been half a month and I didn't give signs of life, not even in my website.

I've been studying about my project and I discovered something that I definitely think it will be better.

On the other hand, I still have to learn how to use it properly so I need time.
This catgirl name is Elyune.
Her hobby is cooking and eating sweets. She's also an alchemist.

Cat_girl.jpg
catgirl-1.jpg
Raptor Revolt Demo 4_10_2021 3_12_09 PM.png

Latest custom tileset work for RAPTOR REVOLT in this beach scene set in the acheroraptor capital in Ridge City, Hell Creek.

Forum statistics

Threads
110,286
Messages
1,051,977
Members
143,309
Latest member
Kiler123
Top