PRT: ONEW

PRT: ONEW is a C3/DS CAOS command used when installing a connectable agent to create the output port.

Documentation
PRT: ONEW (command) id (integer) name (string) description (string) x (integer) y (integer)

Create a new output port on target. You should number input port ids starting at 0. The port's relative position is given by x, y.

Examples
Installation of the anti-bacterial spray:

new: comp 3 8 19 "anti-infection spray" 10 0 5005 attr 199 bhvr 41 perm 64 elas 20 accg 1.64 fric 100 pat: dull 1 "anti-infection spray" 10 4 -38 0 prt: inew 0 "input" "anti-infection spray input" 14 42 2001 prt: onew 0 "output" "anti-infection spray output" 35 42 mvto 1983 3877 SETV OV61 100 emit 18 .35
 * Creature can activate, pickup and hit.
 * Spray dull part - well why not? :)
 * Give it some ports!
 * Stick it in the medical bay!