Overmap objects
Everything visible on the overmap: stations, ships, ruins, events, and more.
This base class should be the parent of all objects present on the overmap. For the control counterparts, see /obj/machinery/computer/helm. For the shuttle counterparts (ONLY USED FOR SHIPS), see /obj/docking_port/mobile.
Vars | |
close_overmap_objects | List of other overmap objects in the same tile |
---|---|
id | ID, literally the most important thing |
integrity | Integrity percentage, do NOT modify. Use [/obj/structure/overmap/proc/receive_damage] instead. |
overmap_armor | Armor value, reduces integrity damage taken |
render_map | |
sensor_range | The range of the view shown to helms and viewscreens (subject to be relegated to something else) |
Procs | |
Crossed | When something crosses another overmap object, add it to the nearby objects list, which are used by events and docking |
Move | Done to ensure the connected helms are updated appropriately |
Uncrossed | See /obj/structure/overmap/Crossed |
recieve_damage | Reduces overmap object integrity by X amount, divided by armor |
update_screen | Updates the screen object, which is displayed on all connected helms |
Var Details
close_overmap_objects
List of other overmap objects in the same tile
id
ID, literally the most important thing
integrity
Integrity percentage, do NOT modify. Use [/obj/structure/overmap/proc/receive_damage] instead.
overmap_armor
Armor value, reduces integrity damage taken
render_map
If we need to render a map for cameras and helms for this object basically can you look at and use this as a ship or station
sensor_range
The range of the view shown to helms and viewscreens (subject to be relegated to something else)
Proc Details
Crossed
When something crosses another overmap object, add it to the nearby objects list, which are used by events and docking
Move
Done to ensure the connected helms are updated appropriately
Uncrossed
See /obj/structure/overmap/Crossed
recieve_damage
Reduces overmap object integrity by X amount, divided by armor
- amount - amount of damage to apply to the ship
update_screen
Updates the screen object, which is displayed on all connected helms