Syntax: control: removefunction <id> <function>

Files modified: auxdata.hst

Since: PHost 4.0i

function is a hull function number or name, id is a ship Id. This command permanently removes the specified function from the ship. This command only removes a function directly assigned to the ship (through addfunction or a AssignTo=Ship statement); if you gave the ship this function through a AssignTo=Hull statement, this command cannot remove it.

If the ship does not have the specified function, this command does nothing.

For example, remove 39 unclonable will make ship 39 clonable again (unless its ship type was made unclonable by making its hull type unclonable in hullfunc.txt).