Source Request - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere X (/Forum-Sphere-X) +--- Forum: Script Requests (/Forum-Script-Requests--60) +--- Thread: Source Request (/Thread-Source-Request) |
Source Request - rastrero - 01-22-2020 08:10 PM Hello. I have 2 request to add to source. Request 1: Carve Trigger It is posible to make a @trigger for "carve"? ON=@item_carved // When item is carved src=character carving |=Ítem being carved Return 1 //dosnt allow anything to happen Return 0 //allow cutting effect but prevent resources generation. Request 2: Smelt Trigger ON=@Item_being_smelted src=character |=item being smelted local.amountneeded= //minimum amount needed to smelt and produce resources (default 1) Local.Maxproduction= //Amount resources the smelting Will produce. (default 1) eg Code: If <tag0.smeltamount> Return 1 //Prevent all Return 0 //Prevent resource generation but not anims or fire effects. This two request, should give Access to carve system and smelting system, so we dont have to replicate the entire system if we want to do lesser changes. It is a pitty to duplicate by script what sphere does better. |