Changed respawn logic to support permanent objects.
Started converting halobjects to new lua bindings: done up to
l_createobject.