Skip to content

[WIP] Character markers for away missions

Rob Nelson requested to merge pull/12495/mapping_markers into Bleeding-Edge

Created by: unid15

Character markers are invisible objects that can be placed in away missions and any maps loaded at runtime, under a mob. Then, observers and ghosts will be able to enter that mob

Here's what it roughly looks like (messages will be changed):

There are two types of markers: team markers and individual markers. The difference between them is that individual markers each send a message to all observers, allowing observers to choose which mob to enter. Team markers with the same name form "teams", and each team sends a message to observers, allowing observers to enter a random mob from the team.

Syndicate-banned players can't use markers

Currently not compatible with vaults, because the message is only sent once, and tehre are usually no observers when vaults are spawned

Other changes:

  • Added spawned_by_map_element(datum/map_element/ME, list/objects) proc, moved some stuff to it
  • Turfs now hold a reference to their map element
  • Added a new area type: /area/vault/automap. Using it in vaults removes the need of creating an entire different subtype of /area/vault for the map element (multiple instances of /area/vault/automap aren't linked together).

TODO LIST:

[V] Add better messages, find and fix bugs

[V] Clear mob references

[V] Admin logging

  • Add an example map (like a trader shuttle)

  • Add a way for ghosts to see all current vacations and enter them

Merge request reports