MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
4,259
Reaction score
5,152
First Language
EN, FR
Primarily Uses
RMMZ

I've moved this thread to Learning Ruby and RGSSx. Thank you.


Just use this: $game_party.has_item?(item). For item you need to paste the item object, not the item id.
 

KaiNormal

Villager
Member
Joined
Apr 4, 2020
Messages
10
Reaction score
0
First Language
PT-BR.
Primarily Uses
RMVXA
Please, give me a example of "item object"? ;-;
 

IneptAttoney_08

Regular
Regular
Joined
Mar 1, 2019
Messages
156
Reaction score
52
First Language
Indonesia
Primarily Uses
RMVXA
you might understand this:
if you may know, why did you make this?
because in the conditional branch process there is already this feature
might tell you why you can make things easier
 

Attachments

  • hh.JPG
    hh.JPG
    53.8 KB · Views: 8

TheoAllen

Self-proclaimed jack of all trades
Regular
Joined
Mar 16, 2012
Messages
7,534
Reaction score
11,994
First Language
Indonesian
Primarily Uses
N/A
It's $game_party.has_item?($data_items[10])
 

KaiNormal

Villager
Member
Joined
Apr 4, 2020
Messages
10
Reaction score
0
First Language
PT-BR.
Primarily Uses
RMVXA
you might understand this:
if you may know, why did you make this?
because in the conditional branch process there is already this feature
might tell you why you can make things easier

É para um script que estou fazendo.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
4,259
Reaction score
5,152
First Language
EN, FR
Primarily Uses
RMMZ

@KaiNormal , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


Also, all public discussions must be held in English since this is the official RPG Maker English forum. Thank you.

If we have fully answered your question and you have nothing to add to the thread, please report the thread so it can be closed. Click on the "report" button right besides the "edit" button at the bottom of any of your posts in this thread and write "solved" for the reason. Thank you.
 

Latest Threads

Latest Profile Posts

There the rituals are now completely in place and the player can free three trapped souls from the mansion, and face the good ending boss.
TSR
Capture d’écran, le 2023-12-03 à 13.24.07.png
No screen shots from my main project today. I've been spending all my game dev time of that jam entry...
Have a Ho Ho Ho week! :cutesmile:
Have you found your favourite plant combination yet?
1701625459444.png
Me with the fireplace, a space heater, and a heated blanket. My preferred lizard temperature.

I'm gonna riff on Macross's "Deculture" and adopt "Descope" as my motto! :wub God knows I'm gonna need it...

As an aside, did any of ya sweeties watch Macross Delta and if so, was it good, bad, or horrible?

Forum statistics

Threads
136,719
Messages
1,269,078
Members
180,434
Latest member
Cheesymud
Top