SphereCommunity
How to create the menu to create this bow - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: How to create the menu to create this bow (/Thread-How-to-create-the-menu-to-create-this-bow)



How to create the menu to create this bow - victorstelzer - 06-27-2012 10:32 AM

How to create the menu to create this bow

Does not appear in this menu to create a bow valorite, already own the items, i_ingot_valorite 12, 15 i_log, creating the menu to create the bow.

[ITEMDEF i_valorite_bow]
ID=i_bow
NAME=Valorite Bow
SKILLMAKE=SKILL_BOWCRAFT 60.0,SKILL_ARMSLORE 75.0
RESOURCES=12 i_ingot_valorite,15 i_log
CATEGORY=New Colored Weapons
SUBSECTION=Valorite
DESCRIPTION=Valorite Bow
TEVENTS=T_PROPRIEDADES

ON=@Create
TAG0.DAMINCREASE += <SERV.ITEMDEF.<RESOURCES.0.KEY>.TAG0.DAMBONUS>
TAG0.HITCHANCEINCREASE += <SERV.ITEMDEF.<RESOURCES.0.KEY>.TAG0.HITCHANCEBONUS>
hitpoints={70 120}
COLOR=color_o_valorite


RE: How to create the menu to create this bow - Skul - 06-27-2012 01:46 PM

well, considering it's a bow, and you need to open the skillmenu from sm_bowcraft
Code:
on=i_bow Valorite Bows
skillmenu=sm_bowcraft_valorite

is a seperate part or script:
Code:
[skillmenu sm_bowcraft_valorite]
Valorite Bows

on=i_valorite_bow <name> <resmake>
makeitem=i_valorite_bow

simple.


RE: How to create the menu to create this bow - victorstelzer - 06-28-2012 11:17 AM

Thank you, was of great help ....