How to make a 1-time drop?

Status
Not open for further replies.

KrimsonKatt

The Endless
Veteran
Joined
Nov 12, 2016
Messages
190
Reaction score
76
First Language
English
Primarily Uses
RMMV
I'm trying to make a sequence where you get a item drop from an enemy that unlocks a character's skill upon obtaining it. (I already accomplished this though eventing and stuff) However, I only want the player to be able to gain 1 of it, so after it's obtained it will never be dropped again. I've tried using Yanfly's extra item drops plugin, which includes a "conditional drop" option, but it isn't working. This plugin has been giving me trouble for my entire game's development, first not allowing me to get any drops whatsoever, then making all drop rates 100% in spite of me marking otherwise, (this made rare drops extremely common, trivializing the game) and then when i needed it again for conditional drops, didn't allow any conditional drops to trigger in spite of me meeting the requirements. The conditional drop stuffs for the "Fire Dragongem," "Ice Dragongem," and "Thunder Dragongem" in the notes tab looks like this:

<Conditional Ice Dragongem>
Switch 111 ON: +100%
Ice Dragongem Count >= 1: -100%
</Conditional Ice Dragongem>

Switch 111 is a switch that plays in the cutscene that kickstarts the sidequest to obtain the dragongem, but for some reason even with that switch on it doesn't trigger the item to be able to be dropped. Is there an alternate plugin that I can use that can accomplish the same thing? Or can I do all of this with eventing? Thanks.
 

Celestrium

Adventurer
Veteran
Joined
Mar 3, 2020
Messages
115
Reaction score
123
First Language
English
Primarily Uses
RMMZ
Not sure if this is overcomplicating it, but maybe you could create a duplicate monster that doesn't make the drop, and then the drop with the item would no longer appear if the item was in possession or switch was pulled? Different troops...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
yanfly's plugins are usually stable - but they are known to cause strange problems if they are installed in the wrong order. can you check if the order in your plugin manager is the correct one, or post screenshots here for us to check?
 

KrimsonKatt

The Endless
Veteran
Joined
Nov 12, 2016
Messages
190
Reaction score
76
First Language
English
Primarily Uses
RMMV
@Celestrium Huh, that could work. Thanks for the input!
@Andar I've gotten asked this question a million times, and yes, they are in the "correct order." Always has been. However, since then I have found an answer to my problem, so I don't really need Yanfly's plugin anymore. All of his other plugins work fine though, so this isn't a consistent problem or anything like that.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
557
Reaction score
232
First Language
english
Primarily Uses
RMMV
does this monster only appear on a specific map?
could make a parallel process event on that map with that switch being the condition.
this event just checks if you have this item and if you do it turns off the switch.
another option is if you have item core plugin. just make the item have a limit of 1
edit: core engine actually the 1 that does this
 

KrimsonKatt

The Endless
Veteran
Joined
Nov 12, 2016
Messages
190
Reaction score
76
First Language
English
Primarily Uses
RMMV
@Tiamat-86 The monster appears on multiple maps, but that's only due to the dungeon it appears in having multiple floors. I've already figured everything about by having two identical enemies, the only difference being their drops. Once the 1-time drop is obtained, every battle those enemies are in a battle event plays at turn 0 every time that turns the duplicate enemy into the same enemy but without the 1-time drop. I'm not sure how this would work when they'res multiple enemies on the field, but at least it's a start and works well enough. I don't think your idea works though as I don't think you can set conditions for random monsters, only on-map encounters. Thanks anyways though.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
557
Reaction score
232
First Language
english
Primarily Uses
RMMV
my suggestion had nothing to do with the monster itself. just the item having the switch condition.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,685
First Language
English
Primarily Uses
RMMZ

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

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,539
Members
137,834
Latest member
EverNoir
Top