Armor Crates
Hey all.
For my custom "tutorial" zone I was wanting a way to make sure players got a full set of starter gear without having to farm for specific pieces due to them not dropping the first time around. I've made a solution that can be applicable to a ton of other situations and I thought it would be useful to other server developers. Instead of having gear drop that may or may not suit the player's class, you can have these "loot crates" drop that will award the player a piece of gear suitable to their class every time. Well worth the extra work in my opinion. Here's how: I have a set of gear using a modified version of kingly krab's set generation scripts found here. I copied the blank armor set "Glowing Othni" from live and added a BLANK spell to it, mainly for the description, but also very important that the item is listed as itemtype "21". This is so the item is consumed upon use of its 1 charge. https://i.gyazo.com/f20a01fb6e5d191d...879fb656ce.png Please ignore the current description as I'm lazy and just copied an existing spell I was using for AA tokens. On each piece of this new glowing othni set I set the script file ID to 1, as that is the name of the script I'm currently using. Note: The check at the bottom is because all set pieces awarded through this script are Lore items. quests/global/items/script_1.pl Code:
sub EVENT_ITEM_CLICK { |
You can also just make a spell like the Phantom Plate spell and have it summon a bag full of gear. Or add entries to the starting_items table to make them spawn in fully equipped so they don’t have to farm at all.
|
Quote:
|
Quote:
|
Quote:
This whole thing is getting off-topic.. I used my specific example of what I was using this for as a tutorial zone to outline one of the many possibilities this could be used for. Kingly and I have a history and every time I make a contribution he has to try and one up me. There are many ways to do things if you don't want to use it then don't. |
I wasn’t trying to one up you at all. I was just giving my feedback as well as alternative methods to achieve similar results.
|
not trying to one up you, but this is a bit more of a easier way of doing what you were trying to do...
Code:
sub EVENT_ITEM_CLICK { |
All times are GMT -4. The time now is 05:56 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.