I want to use and item as money but ... i have a problem

Nightshade

Veteran
Veteran
Joined
Oct 26, 2015
Messages
591
Reaction score
120
First Language
English
Primarily Uses
RMMV
I don't know how to make a monster drop more then 1 item D: at a time D:

i got the add more then 3 items to a monster plug in but now i ran into another issue.

how do i get it to drop 25 or more of said item instead of having to add 100 plus lines of code to the note box @_@

like i want a monster to be able to drop 10 potions do i have to add 10 of the same code to the not box D: what if i was it to drop 100 potions! how the hell do i do that D:
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
How about letting the monster drop 1 "pack of potions" that (when used) adds a number of potions but deletes itself (by common event)?
 
Last edited by a moderator:

Nightshade

Veteran
Veteran
Joined
Oct 26, 2015
Messages
591
Reaction score
120
First Language
English
Primarily Uses
RMMV
How about letting the monster drop 1 "pack of potions" that (when used) adds a number of potions but deletes itself (by common event)?
OH i see i see . have the pack of potions contain a random amount? that would be something that could be very interesting in my game Andar
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
random, fixed amount, different potions - whatever you decide to place commands into the common event.
 

Nightshade

Veteran
Veteran
Joined
Oct 26, 2015
Messages
591
Reaction score
120
First Language
English
Primarily Uses
RMMV
random, fixed amount, different potions - whatever you decide to place commands into the common event.
how do i add random amount that you get after opening the *said* package Oo i couldnt find any tuts on how to do this ><
 

Archemenos1

Villager
Member
Joined
Oct 30, 2015
Messages
10
Reaction score
0
First Language
English
pick a random number

run a loop that adds 1 item and subs one off the random. break loop at 0

can easily add text to say exactly how many

Var1 = rand 1-100

loop

add item potion 1

var1 - 1

if var 1 = 0

break loop

works for lots of stuff but it can be slow with big numbers

Edit: lol still reflexing from rpgm2(ps2)

now i see the 'by variable'
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
how do i add random amount that you get after opening the *said* package Oo i couldnt find any tuts on how to do this ><
Then I suggest you go back to some of the basic tutorials, because you're missing some elementary and neccessary functions of all RPG-Makers.
control variable: set to random


change item: increase by variable

works for lots of stuff but it can be slow with big numbers
A loop is absolutely NOT neccessary for adding items...
The two commands above are all that are needed
 
Last edited by a moderator:

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