Switching a held item's usability from unusable to usable? (RM2K3)

Status
Not open for further replies.

SelLillianna

Warper
Member
Joined
Feb 22, 2019
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RM2k3
Hello everyone, I'm extremely new to these forums and am having a great time using RM2K3. Much of it is very intuitive and what isn't usually has a simple answer that's easily looked up. I have run into a problem, though.
In the game I'm working on, the player finds a book, but the character doesn't feel comfortable reading the book until they're in a private place, like their bedroom. When they find the book, the book item is added to their inventory. When the player looks in their inventory, they see the item and cannot use it. When the player moves into the character's bedroom, I want the player to be able to look in their inventory and use the item. Is it possible to do this?
I suppose that doing this would be equivalent to checking the unchecked "Occasion: Field" checkbox for the item, in game. Any help is appreciated. ^^ I understand if this isn't possible in this version of RM, though.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,091
Reaction score
1,508
First Language
EN
Primarily Uses
RMMZ
You can have two separate items that are the same except one is usable and one is not. Then just swap one for the other when the player enters/exits the bedroom, e.g.
Code:
@> Conditional Branch: Book (unreadable) in Inventory
  @> Change Items: [Book (unreadable)], - 1
  @> Change Items: [Book (readable)], + 1
  @>
 : Branch End
 

SelLillianna

Warper
Member
Joined
Feb 22, 2019
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RM2k3
You can have two separate items that are the same except one is usable and one is not. Then just swap one for the other when the player enters/exits the bedroom, e.g.
Code:
@> Conditional Branch: Book (unreadable) in Inventory
  @> Change Items: [Book (unreadable)], - 1
  @> Change Items: [Book (readable)], + 1
  @>
 : Branch End
Ah, right you are. Thank you very much. I think that should work just fine. ^_^
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,583
Latest member
write2dgray
Top