SphereCommunity
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


RE: Armor Packing - Extreme - 12-29-2013 06:59 AM

(12-29-2013 06:48 AM)Khaos Wrote:  Updated a bit.
Store all infos of each piece in only one tag.

tag.<args>.id=<argo.id>
tag.<args>.color=<argo.color>
tag.<args>.hitscur=<argo.more1l>
tag.<args>.hitsmax=<argo.more1h>
tag.<args>.attr=<argo.attr>

to

tag.<args> <argo.id>,<argo.color>,<argo.more1l>,<argo.more1h>,<argo.attr>


RE: Armor Packing - Khaos - 12-29-2013 07:06 AM

I thought about that, but it would be pretty intensive on string parsing to go through that tag. Originally I did have it as just one tag.

The only option I could see that would work string parsing wise would be EXPLODE.

Updated. Added color parsing via a def. Added ARGS parsing and removed tags. Added option to delete or keep deed on unpacking.