SphereCommunity
SERV.NEWITEM armor - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere X (/Forum-Sphere-X)
+--- Forum: Script Submissions (/Forum-Script-Submissions--61)
+--- Thread: SERV.NEWITEM armor (/Thread-SERV-NEWITEM-armor)



SERV.NEWITEM armor - ISOcol - 08-28-2022 08:10 AM

// Gathered from Discord

[itemdef i_deed_platemailset]
id=i_deed
name=deed for a platemail armor set
type=t_normal
weight=1

category=111
subsection=dclick deed armor
description=Deed for a Platemail Armor Set

on=@DClick
serv.newitem i_platemail_chest,,<SRC> // removes item equipped from slot and equips
NEW.HITS=999 // sets durability hits
NEW.MAXHITS=666 // sets durability maxhits
// NEW.BOUNCE // uncomment to have the item bounce to inventory instead
// serv.newitem i_platemail_chest // creates item
// NEW.BOUNCE // bounces to inventory
//serv.newitem i_platemail_helm,,<src>
//serv.newitem i_platemail_gloves,,<src>
//serv.newitem i_platemail_leggings,,<src>
//serv.newitem i_platemail_arms,,<src>
//serv.newitem i_platemail_gorget,,<src>
remove
Return 1