NOTE: I no longer am on SL, and as such these do not come with user support.
This script is used to create an object to dispense items with. This can be anything from notecards in a bookshelf, weapons on a rack, or items in a chest.
Terms of Use:
This script is full perm to allow for easy customization, and for those new to scripting to learn from it. However, it is not for resale or transfer without permission. If you want to use this script in an item you are going to sell or distribute, please contact Giere Drachios.
The way this script works is simple:
Drop the script into the desired object, and edit the script till your heart's content. Then, drop in the items (must be copy/trans) to give out.
Edit the index notecard (the list of item names users can copy/paste to get), and drop it into the object.
And that's all! I made this script very easy to edit, filling it to the brim with comments. Everything you'll want to edit is at the very top, so you won't have to go hunting through the code to change it.
When a user hits 'Select' on the menu, a text box pops up, allowing the user to enter what they want to get, or enter 'All' to receive everything. This allows users to just pull one notecard from a shelf, or easily get all the notecards in a folder.
Additional options include:
- List-only or Group-only access, or both list access, and then group! (by default, access list has priority over group-access)
- Silent to full flavor text, for those RP areas!
- Specific type of item given out, or able to distribute all within the object's contents.
- In-use blocks others from stealing control, custom time-out limit.
- Able to block 'take all' to "hide" items on the shelf (users can still look at the object's contents, though...)
- Fully customizable messages.
- Probably a bit more I'm forgetting.
If you need help with setting this script up, please IM me.
Demo:
A demo is available for testing. This is easy to set up:
Create an object, and drop the script and the accompanying notecards into it. Click the object and have at it!
- Easy to set up and use
- Essentially infinite in inventory size (untested)
- Simple editing for flavor text (if wanted, optional)
- Many additional options available! (see full description)