Billy 164 Report post Posted May 3, 2016 (edited) Usage: ExtendedMakeItem(role,ID,AttrTable) Role is the player who will be given the item. ID is the ID of the item to be given. AttrTable is a table of attributes for the item. (example tables are included) This allows making of items with 5 editable stats, or to give items already gemmed /fused etc. Example table: ExampleFairyTable = { Attr1 = 26, Attr1Num = 2, Attr2 = 27, Attr2Num = 77, Attr3 = 28, Attr3Num = 9, Attr4 = 29, Attr4Num = 20, Attr5 = 47, Attr5Num = 1, MaxGrowth = 640, Growth = 620, MaxStamina = 32000, Stamina = 16000 } A fairy created with this table has editable str/agi/acc/con/PR , 26 str, 77 agi, 9 acc, 20 con, 1 pr, 640 max growth, 640 max stamina. Making an item this way overwrites the default editable stats, so if you wanted to give a fairy with editable str, but no base str stats, you would need to have an attr for 26 and num as 0. Download : Extended Make Item.lua Edited June 12, 2016 by 7n6 Updated link 2 Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted May 4, 2016 I just downloaded your lua file. Its nice. Have you thought about porting your code to an object oriented concept for easier usage? 1 Quote Share this post Link to post Share on other sites