# Multiple Character Mod

**URL:** <https://discourse.cataclysmdda.org/t/multiple-character-mod/16589>\
**Category:** The Drawing Board\
**Created:** [September 13, 2018, 8:16pm UTC](https://discourse.cataclysmdda.org/t/multiple-character-mod/16589 "2018-09-13T20:16:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Mantar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mantar/32/42_2.png) [@Mantar](https://discourse.cataclysmdda.org/u/Mantar)\
**Post date:** [September 14, 2018, 5:56pm UTC](https://discourse.cataclysmdda.org/t/multiple-character-mod/16589/5 "2018-09-14T17:56:25Z")

</div>

There was some discussion about swapping control from a PC to an NPC a long ways back. It’s probably doable, but someone needs to write the code to dump a PC’s data out into NPC format and vice versa. Once that’s done, you just need some UI stuff to make it happen. Oh here, this was the thread:

> [@Player character switching?](https://discourse.cataclysmdda.org/t/player-character-switching/16188/2):
>
> This wouldn’t be trivial to implement, but it’s not impossible either. You’d need to write two functions, convert npc\_to\_player and convert\_player\_to\_npc, or more likely player::serialize\_as\_npc and npc::serialize\_as\_pc. players and npcs both inherit class character, so that wouldn’t be too hard, I expect. Then you’d have to add a menu or something to let you switch, which would serialize[1] the player as an NPC and the NPC as the player, and then deserialize them. I’d start with just the seri…

---

_[View the full topic](https://discourse.cataclysmdda.org/t/multiple-character-mod/16589)._
