![]() |
Armor Packing - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Requests (/Forum-Script-Requests) +--- Thread: Armor Packing (/Thread-Armor-Packing) Pages: 1 2 |
Armor Packing - Runcuks - 12-19-2013 09:34 PM Hi, could someone please share Armor Packing script ? RE: Armor Packing - Soulless - 12-20-2013 08:14 AM What is armor packing? RE: Armor Packing - Avatar - 12-20-2013 10:23 AM I suppose he just mentions about armor store or whatever like that ? Like assembling each item of armor set into one peace as deed or so ? What do you really mean my friend ![]() RE: Armor Packing - Runcuks - 12-20-2013 03:45 PM I mean , for example if have player full iron platemail armor, he can pack it into one peace bag,deed etc, and dclick that bag or deed player will get the same Iron Platemail armor. Just like Avatar wrote. And ofcourse sorry for my bad english ![]() RE: Armor Packing - Anarch Cassius - 12-20-2013 06:37 PM Umm, hate to be a smart ass, but what about a bag? I'm honestly trying to see what you couldn't do with a normal container. Player vendors can sell containers and they are easy in the trade window. I suppose you can't see the bag CONTENTS in the trade window. Really you need to get a bit clearer on desired features, I'm not sure something like this exists but you may be able to modify something. RE: Armor Packing - Avatar - 12-20-2013 06:41 PM Why dont you make this with tagging. For instance, create an item ad deed , [itemdef i_deed_store_set] id i_deed type t_script /or whatever you want name color etc.. on=@create tag.glove tag.gorget tag.etc etc etc.... // You donot need to put tags at the beginning but i just show you how you gonna do. Then on=@dclick target Which set item you would like to store ? on=@targot_item if <argo.type> = t_armor_etc etc ec // arrange here. argo.remove tag.<argo.id> 1 // for instance. tag.set_total ++ return 1 endif if <tag0.set_total> == 5 // for instance // here just put serv.newitem from tags to create sets you stored. endif Only thing you need targeting items that you want to store and remove them, tag them to deed and once you store all item you want to store , limit # of items that set should have by tagging. That's all. You can make like that. I saw your post befor i go to colleage therefore, I'm writing too fast and just try to get the analogy. RE: Armor Packing - Runcuks - 12-20-2013 08:24 PM Ok ty guys i will do my best ![]() RE: Armor Packing - Khaos - 12-29-2013 03:39 AM Code: [template loot_platemail_armor] or Code: [itemdef i_deed_for_a_platemail_armor_set] RE: Armor Packing - Khaos - 12-29-2013 05:38 AM In fact... let me know how this works! Untested; but should be awesome. Basically it will let you store any armor type in the deed of each piece minus the shield (look it over to add that in). It will store the info via a tag system and unpack it via the same system. Meanwhile keeping the deed in existence, changing the name on it... and color. Updated: Switched parsing to EXPLODE and remove OCOLOR variable and now storing colors via a def. Code: [itemdef i_armor_packing_deed] If there is any issues let me know and I will correct it. But damn that is awesome looking. You are welcome for like an hour of my life (not really, time is accurate; but I was talking to XuN the entire time too; so really 15 minutes). lol! RE: Armor Packing - Khaos - 12-29-2013 06:48 AM Updated a bit. |