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>
local.amountneeded=<tag0.smeltamount>
If <amount><<local.amountneeded>
src.sysmessage u need <eval <local.amountneeded>>
return 1
endif
endif
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.