ParadiseSS13/Paradise — pull request #30 by TheDZD (2014-12-02 23:30:34+00:00)
Title: Bay pAI Drone Form Port [Do Not Merge]

Currently posting this pull request to better keep track of changes as well as obtain feedback. What it does is port, rebalance, and fix bugs with the drone form for pAI ported from Baystation 12.

Specifics:
- pAIs are capable of choosing the flavor text for their speech, which can range from the same messages for humanoids, to meowing, to chirping, purely flavor text. This can only be done once.
- pAIs can go into a drone form which allows them to walk around within the physical world, which allows them to examine things, although their abilities to interact with the world are deliberately limited.
- pAIs can be clicked with an empty hand to return them to their card form, attacking them with a melee weapon will return them to their card form in addition to damaging them.
- pAIs are incapable of interacting with most things in the world, they cannot open airlocks or windoors.
- pAIs are capable of choosing the sprite for their drone form, with the available list consisting of a cat, maintenance drone, monkey, and mouse. All sprites have a distinct green/black color scheme that distinguishes them from the normal form of these mobs.

Bugfixes/Balance:
- [x] Upon reaching zero health, a pAI will be destroyed (leaving behind cleanable debris), whether in drone form or card form, this also fixes pAI death in general, as it was extremely dodgy before.
- [x] Cooldown between each form switch on Baystation 12 was 10 seconds, increased to 20 seconds.
- [x] Allows projectile weapons (guns/lasers) to damage pAIs in drone from, also forces them back into their card form.
- [x] Baystation 12 allowed pAIs to drag tiny items, this has been changed, they can no longer drag anything (To prevent things such as pAIs Yakkety Saxxing a nuke disk around as nuke ops chase it down).
- [x] pAIs can no longer push other mobs around.
- [x] pAIs can no longer strip mobs. Note that this also prevents any mob considered small; (small var set to 1) such as borers, Poly, and Coffee from stripping people.

To do:
- [ ] Debug and fix pAI master interface, this bug has been around for a while on Paradise, although despite having the exact same code for it as Baystation 12, they do not have the same bug.
- [ ] Add option for pAI master to disable pAI form switching in master interface, as already has the ability to disable the radio, PDA, and remote signaler functions of the pAI (Or at least it would if it worked).
- [ ] Fix any other bugs introduced when I ported this from a fork of the old Paradise Github repository to this new one.
- [ ] Any additional bugfixing/balance suggestions.