Board Thread:General Mod Discussion/@comment-25101089-20170120034622

Hello wiki editors,

You may be aware that there was a change in NPC held-item format around Beta 26. Some melee-ranged-switching NPCs became able to use a more varied palette of melee or ranged weapons, rather than a single hard-coded item, as did some civilians who put away their weapons when idle. As a consequence, summon commands no longer worked as expected for NPCs' held items.

I recently realised that nobody has yet documented this format on the wiki, even though the change was made over a year ago, and since then plenty of people have been asking about it, wondering how to use it in commands, and even reporting it as a bug. I think we can all agree that it would be very useful for the community to have a reference on how this format works.

So, to help anyone who may wish to work on a new article (or a section of an existing one) documenting this, here is a comment I wrote that explains the system. Perhaps I should have just written an article myself, but I think it's best if I work on the mod instead. 