Equip Slots Cannot Be Empty

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,075
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
53
Reaction score
8
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,230
Reaction score
3,075
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,230
Reaction score
3,075
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,230
Reaction score
3,075
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 Profile Posts

Writing out an idea for the No Travel Game Jam. I have a general plot and challenge written out, it's just a matter of filling the rest in and making it interesting.
A definite difficult time right now. How is everyone doing during this pandemic? I already have seen furloughs and layoffs.
Hollow 1977 wrote on Archeia's profile.
Hope you and your family are doing well during this difficult time. :)
My elderly neighbor whom I've been buying groceries for just got carried out of his home on a stretcher by guys with hazmat suits. Considering I've been his only point of contact for the past month it's probably safe to say my boss was right to tell me to stay home once I developed a mild cough after all.
Damn. All these new features to the forums. Takes some getting used to.

Forum statistics

Threads
95,642
Messages
930,676
Members
125,963
Latest member
highchloride
Top