mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
* Targeting Datums Renamed (and global) (#79513) ## About The Pull Request [Implements the backend required to make targeting datums global](https://github.com/tgstation/tgstation/commit/6901ead12e419530b7f646ea21094d4432d7385e) It's inconsistent with the rest of basic ai for these to have a high degree of state, plus like, such a waste yaknow? [Implements GET_TARGETING_STRATEGY](https://github.com/tgstation/tgstation/commit/d79c29134d03424a9f8bacd64c08cb41775fe8c0) Regexes used: new.*(/datum/targetting_datum[^,(]*)\(*\)* -> GET_TARGETING_STRATEGY($1) Renamed all instances of targetting to targeting (also targetting datum -> targeting strategy) I've used GET_TARGETING_STRATEGY at the source where the keys are actually used, rather then in the listing. This works out just fine. ## Why It's Good For The Game Not a misspelled name through the whole codebase, very slightly less memory load for basically no downside (slight cpu cost maybe but not a significant one. --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com> * Targeting Datums Renamed (and global) * Update dogs.dm * Modular * Modular * Modular * Merge skew? * Revert "Merge skew?" This reverts commit 0889389ab5cb5c56655f1860d9173ba87efe9a22. --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
16 lines
665 B
Plaintext
16 lines
665 B
Plaintext
///Carp AI blackboard keys
|
|
#define BB_CARP_RIFT "BB_carp_rift"
|
|
#define BB_MAGICARP_SPELL "BB_magicarp_spell"
|
|
|
|
/// List of weakrefs to turfs we want to travel to
|
|
#define BB_CARP_MIGRATION_PATH "BB_carp_migration_path"
|
|
/// Current target turf in your migration
|
|
#define BB_CARP_MIGRATION_TARGET "BB_carp_migration_target"
|
|
|
|
/// Targeting keys for magicarp spells
|
|
#define BB_MAGICARP_SPELL_TARGET "BB_magicarp_spell_target"
|
|
#define BB_MAGICARP_SPELL_SPECIAL_TARGETING "BB_magicarp_spell_special_targeting"
|
|
#define MAGICARP_SPELL_CORPSES "magicarp_spell_corpses"
|
|
#define MAGICARP_SPELL_WALLS "magicarp_spell_walls"
|
|
#define MAGICARP_SPELL_OBJECTS "magicarp_spell_objects"
|