Each space object in FrontierSpace represents one 'hull' within the simulation. Multiple hulls can be attached together ('linked'). A single linked set of hulls is the basic object on which the simulation operates.
Each hull has a given number of mount points, each of which may contain a space component. Any hull can have any number of space devices associated with it, as well. Additionally, each hull should have an associated space zone object.
A space object is simply a normal object of type 'thing' with the Space_Object flag set and the following attributes:
Attribute | Description |
---|---|
ZONE | the dbref of the space zone for the hull |
COORDINATES | the full coordinates of the hull's current location |
BEARING | the direction the hull is facing in the X/Y plane |
MARK | the direction the hull is facing out of the X/Y plane |
DESIRED_BEARING | the direction the hull is turning to in the X/Y plane |
DESIRED_MARK | the direction the hull is turning to out of the X/Y plane |
WARP_FACTOR | the speed of the hull if at warp |
MOVEMENT_VELOCITY | the current speed of the hull |
INTEGRITY | the number of 'hit points' the hull has |
MAX_INTEGRITY | the maximum value for INTEGRITY |
RADIUS | the radius of the hull |
MASS | the mass of the hull |
CAN_LAND | a boolean value telling whether the hull can land |
CAN_LAUNCH | whether the hull can take off after landing |
HATCH | 0 for closed, 1 for open |
AIRLOCK | the dbref of the hull's airlock |
DOCKED_AT | the dbref of the object the hull is docked at |
AIRLOCK_ARC | an arc within which the airlock faces |
LINK_POINTS | a list of link points, see 'Space Link Points' |
DOCKING_PORTS | a list of docking ports |
DOCKING_ARC | an arc within which the docking ports face |
DOCKING_DOOR | the status of the docking door |
DOCKING_DOOR_TIME | how many seconds the door takes to transition |
DOCKING_DOOR_TIME_REMAINING | seconds until the door is done moving |
MOUNT_POINTS | a list of mount points, see 'Space Mount Points' |
DEVICES | a list of space devices |
REPAIR_CREWS | a list of repair crews |
AINSTALL | triggered when a component is installed on the hull %0 = mount point number %1 = dbref of component |
AUNINSTALL | triggered when a component is uninstalled from the hull%0 = mount point number %1 = dbref of component |
ALINK | triggered on male object when two hulls are linked%0 = link point number %1 = dbref of female hull %2 = link point on female hull |
ALINKED | triggered on female object when two hulls are linked%0 = link point number %1 = dbref of male hull %2 = link point on male hull |
AUNLINK | triggered on male object when two hulls are unlinked%0 = link point number %1 = dbref of female hull %2 = link point on female hull |
AUNLINKED | triggered on female object when two hulls are unlinked%0 = link point number %1 = dbref of male hull %2 = link point on male hull |
ADOCK | triggered when the hull docks at another hull%0 = dbref of hull it is docking to %1 = docking port number |
ADOCKEDAT | triggered when another hull docks at this one%0 = docking port number %1 = dbref of the hull docking there |
AUNDOCK | triggered when the hull undocks from another hull%0 = dbref of hull it is undocking from %1 = docking port number |
AUNDOCKEDFROM | triggered when another hull undocks from this one%0 = docking port number %1 = dbref of the hull undocking from there |
ADOOROPEN | triggered when the docking door is fully opened |
ADOORCLOSE | triggered when the docking door is fully closed |
AENTERWARP | triggered when the hull goes to warp |
ALEAVEWARP | triggered when the hull drops out of warp |