summaryrefslogblamecommitdiff
path: root/npc/items/unreleased_item.txt
blob: de7ac0f064845380ec3d5cd5036210e41db1249a (plain) (tree)
1
2
3
4
5
6
7
8
9
                   

                                                                                                       



                                                                      
                                                                                                                  
                  




                  
// Unreleased items
function	script	UnreleasedItem	{
    // If the server allows equipping unreleased items or if the active character is staff, do nothing.
    // If you can equip *anything*, this restriction is moot
    if (debug || has_permission(PERM_USE_ALL_EQUIPMENT, getcharid(3)))
        return;
    .@me=getarg(0);
    message strcharinfo(0), "You have difficulties equipping this item, as if it is not yet fully in this world.";
    unequip(.@me);
    goto L_Return;

L_Return:
    return;
}