|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
|
Name: Dungeon Barrel (aka Diablo Type Barrel)
Version: 1.01 Author: RavonTUS Description: These barrels will only open if they are chopped up. You may get gold, mana, health, or you may get poisoned, blown up, or just an old broken barrel. Distribution: This script can be freely distributed, as long as the credit notes are left intact. This script can also be modified, as long as the credit notes are left intact. Installation: Copy this file to your Custom director and restart your server. [add DungeonBarrel to add the barrel or add it using a spawn. Thanks to: Joeku, Geezer & Axle for giving me a few pointers on my first script. Change Log: X-SirSly-X gave me the close barrel ID 02-Sep-2005 |
|
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Oct 2004
Location: New York
Age: 28
Posts: 688
|
This was such a simple yet awesome script, great job on it!
I liked the idea & concept so much, I remade how it works. It now picks a random sealed container, and leaves behind decable wood debris when its chopped. Hope to see more good things from you in the future! |
|
|
|
|
#6 (permalink) |
|
The noob formerly known as Jakob
Join Date: Jan 2005
Posts: 316
|
Does this do what you want?
Code:
public override void OnDoubleClick(Mobile from)
{
if (from.Warmode && from.Weapon is BaseAxe)
OnChop(from);
else
from.SendLocalizedMessage(501747); // It appears to be locked.
}
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|