Equip Slots Cannot Be Empty

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,555
Reaction score
3,808
First Language
English
No video :(
By default, players can change equips all they want unless the slot is sealed or fixed.

However, what if you want to allow players to change equips all they want, but they can't remove their equip?

This plugin allows you to designate certain slots that cannot be empty. That is, players are unable to unequip them, but they can change them as long as it's not empty.
 
More information and downloads are available at HimeWorks
Requested by hydro_sapien
 
Last edited by a moderator:

hydro_sapien

Veteran
Veteran
Joined
May 26, 2014
Messages
57
Reaction score
9
First Language
English
Primarily Uses
You are a hero. Thank you again, I've been following your work for a good while now... Abit humbled you took care of my request. Thanks again.

Edit...

Seems like the note tags are not working, am I doing anything wrong?

 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,555
Reaction score
3,808
First Language
English
My instructions are wrong.

There's actually a / before the last >

<equip slot cannot be empty: 1 />Still forgetting about that slash every so often...It's there in case I need to extend the plugin, but I never remember it.
 
Last edited by a moderator:

Blue001

Veteran
Veteran
Joined
Jan 13, 2014
Messages
231
Reaction score
111
First Language
English
Primarily Uses
RMMV
Wouldn't 

<Equip Slot Cannot Be Empty>

1,3,7

</Equip Slot Cannot Be Empty>

be a more consistent way to format the tags (in terms of helping people remember the tag formats), I believe most tag adding plugins use that format.

I've always been a fan of consistency across the board... but I suppose I could just be more OCD than I'd like to be. XD
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,555
Reaction score
3,808
First Language
English
Wouldn't 

<Equip Slot Cannot Be Empty>

1,3,7

</Equip Slot Cannot Be Empty>

be a more consistent way to format the tags (in terms of helping people remember the tag formats), I believe most tag adding plugins use that format.

I've always been a fan of consistency across the board... but I suppose I could just be more OCD than I'd like to be. XD
I have two types of note-tags.

<name: value1, value2, ... />
Code:
<name>  option1: value1,  option2: value2,  option3: value3</name>
These are the two common note-tag formats that I use in MV.I use the longer one for input that is typically either

1. Long, and/or

2. can have optional fields

For example, perhaps option2 isn't required, so you can just leave it out.
 
Last edited by a moderator:

Blue001

Veteran
Veteran
Joined
Jan 13, 2014
Messages
231
Reaction score
111
First Language
English
Primarily Uses
RMMV
Oh, so with this, the person who was commenting earlier could have put ...

<Equip Slot Cannot Be Empty: 1,3,4/>   ??

instead of the 3 times he listed it?

Ok, that's not so bad. after all
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,555
Reaction score
3,808
First Language
English
Oh, so with this, the person who was commenting earlier could have put ...

<Equip Slot Cannot Be Empty: 1,3,4/>   ??

instead of the 3 times he listed it?

Ok, that's not so bad. after all
Oh, for this one I had it designed it so that for additional slots you would just write

Code:
<equip slot cannot be empty: 1 /><equip slot cannot be empty: 2 /><equip slot cannot be empty: 4 />
I guess I could combine them into one tag since it looks cleaner.
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

20/24 done. Still no clue waht to put in 24, though...
I will be streaming RPG Maker demos very soon
Not. Enough. TIME.
Ami
--- Cheating ---

Hero: I can't Stand this! (Activate Infinite HP, Stats 999)
Game Police: Hold right there!
Hero: What happened,sir?
Game Police: You're under arrest because Using Cheat in the Game,illegally!
(Handcuffing the Hero)
Hero: Huh???
Game Police: You have the Punishment to Not be in this world: 6 Months
Hero
: (Shocking) WHAT???
Need advice that should be adjusted

Forum statistics

Threads
103,131
Messages
997,503
Members
134,609
Latest member
BuilderInc
Top