Sentry Gun Network Laptop
Sentry gun computer which links to defensive structures.
Vars | |
cam_background | camera screen which shows a blank error |
---|---|
cam_screen | camera screen which renders the world |
cell | battery in the laptop |
current | defensive structure which has the camera active |
last_camera_turf | The turf where the camera was last updated. |
map_name | asset name for the game map |
on | if the laptop is turned on and powered |
open | if the laptop has been opened (the model not tgui) |
paired_sentry | list of paired defences |
power_consumption | multiplier for how much power to drain per linked device |
range_turfs | All turfs within range of the currently active camera |
silent | if the laptop should announce events on radio, for live server testing |
Procs | |
handle_empty_ammo | Handler for when a linked sentry has no ammo. @param sentrygun: sentry gun which has ran out of ammo. |
handle_engaged | Handler for when a linked sentry gun engages a target. @param sentrygun: gun which has fired. |
handle_low_ammo | Handler for when a linked sentry has low ammo. @param sentrygun: gun which is low on ammo. |
pair_sentry | Links the target sentry gun to this laptop, linking signals and storing data. @params target: defensive structure to link. |
register | Run checks and register a sentry gun to this sentry computer. @param tool: tool which was used to link. @param user: mob which initiated the link. @param defensive_structure: defensive structure which is to be linked. |
send_message | Broadcast a message to those nearby and on sentry radio. @param message: message to broadcast. |
sentry_destroyed | Handler for when a linked sentry gun is destroyed. @param sentry_gun: sentry gun which is currently being destroyed. |
show_camera_static | Set the displayed camera to the static not-connected. |
teardown | Called to reset the state of the laptop to closed and inactive. |
unpair_sentry | Unlinks the target sentry gun from this laptop, unlinking signals and removing from internal storage lists. @params target: defensive structure to unlink |
unregister | Run checks and unregister a sentry gun from this sentry computer. @param tool: tool which was used to unlink. @param user: mob which initiated the unlink. @param defensive_structure: defensive structure which is to be unlinked. |
update_active_camera | Update camera settings and redraw camera on the current variable. |
Var Details
cam_background
camera screen which shows a blank error
cam_screen
camera screen which renders the world
cell
battery in the laptop
current
defensive structure which has the camera active
last_camera_turf
The turf where the camera was last updated.
map_name
asset name for the game map
on
if the laptop is turned on and powered
open
if the laptop has been opened (the model not tgui)
paired_sentry
list of paired defences
power_consumption
multiplier for how much power to drain per linked device
range_turfs
All turfs within range of the currently active camera
silent
if the laptop should announce events on radio, for live server testing
Proc Details
handle_empty_ammo
Handler for when a linked sentry has no ammo. @param sentrygun: sentry gun which has ran out of ammo.
handle_engaged
Handler for when a linked sentry gun engages a target. @param sentrygun: gun which has fired.
handle_low_ammo
Handler for when a linked sentry has low ammo. @param sentrygun: gun which is low on ammo.
pair_sentry
Links the target sentry gun to this laptop, linking signals and storing data. @params target: defensive structure to link.
register
Run checks and register a sentry gun to this sentry computer. @param tool: tool which was used to link. @param user: mob which initiated the link. @param defensive_structure: defensive structure which is to be linked.
send_message
Broadcast a message to those nearby and on sentry radio. @param message: message to broadcast.
sentry_destroyed
Handler for when a linked sentry gun is destroyed. @param sentry_gun: sentry gun which is currently being destroyed.
show_camera_static
Set the displayed camera to the static not-connected.
teardown
Called to reset the state of the laptop to closed and inactive.
unpair_sentry
Unlinks the target sentry gun from this laptop, unlinking signals and removing from internal storage lists. @params target: defensive structure to unlink
unregister
Run checks and unregister a sentry gun from this sentry computer. @param tool: tool which was used to unlink. @param user: mob which initiated the unlink. @param defensive_structure: defensive structure which is to be unlinked.
update_active_camera
Update camera settings and redraw camera on the current variable.