6 Commits

Author SHA1 Message Date
Kashargul b26f91600b clean them up 2025-01-06 02:29:25 +01:00
Kashargul 4879a52633 Server maint subsystem (#16518)
* upports server maint subsystem

* fix runtime in admin z narrate

* .

* sorts them verbs

* .

* .

* Update code/controllers/subsystems/statpanel.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/controllers/subsystems/server_maint.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2024-11-04 11:44:44 +01:00
Kashargul e0d694e8ac rid of old span macros 2024-10-01 23:51:48 +02:00
Kashargul 2f19f66cc5 default tgui alert input handling (#16241)
* default handling

* do not push that

* fix

* .

* .
2024-09-02 04:27:26 +10:00
Runa Dacino 6b0adb782f tweak(Event Triggers): Implements requested changes
- Merges Personal, Vis and Aud checks into a single var
- Removes excessive isObserver check
- Permits removing other staff's stuff with an explicit confirmation and request to ask them first
- Removes Invisibility = 100 setting from new()
- Adds check for potential null responses
- Clarifies comment in type definition.
2023-07-29 14:05:59 +02:00
Runa Dacino 694a5b617b Adds(feature): Triggerable Landmarks for Event-help
- Adds a new verb to staff with FUN permissions under the eventkit tab
     - name: "Manage Event Triggers"
     - Permits creating "Notification" and "Narration" landmarks
     - Permits deleting/teleporting to self-created landmarks at any time
     - Permits deleting other staff's landmarks if DC'd/Inactive
     - Permits teleporting to other staff's landmarks at any time
(the landmark management buttons I couldn't implement without code repetition due to managing others' landmarks needing (imo) admin logging)
 - Adds new landmark subtype: event_trigger
     - Handles notification of staff/team depending on options
     - May autodelete if requested
     - Makes a loud bwoink at the creator if requested
     - Is triggered by the base DM proc /Crossed(var/atom/movable/AM)
     - Ghosts and NPCs don't trigger it.
 - Adds a subtype of event_trigger, auto_narrate
     - Adds functionality to automatically print a normal/red message to player entering the turf with the landmark.
     - Alternatively, allows creating a visible/audible message when the turf is triggered
     - Inherits all behaviours of event_trigger otherwise
  -Adds new global list, "event_triggers"
      - It is an associative list of key:list(element1,element2,element3) form
      - key is the staffmember's ckey, elements are references to event_trigger landmarks they created
2023-07-24 17:38:11 +02:00