Skip to content

Commit

Permalink
antags work right in job time requirement(needs color for antag names…
Browse files Browse the repository at this point in the history
… for time requirements)
  • Loading branch information
Cojoke-dot committed Nov 10, 2024
1 parent 64ba1f3 commit 5aff2c5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Content.Shared/Roles/Jobs/SharedJobSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ private void SetupTrackerLookup()
{
_inverseTrackerLookup.Add(job.PlayTimeTracker, job.ID);
}
foreach (var antag in _prototypes.EnumeratePrototypes<AntagPrototype>())
{
_inverseTrackerLookup.Add(antag.PlayTimeTracker, antag.ID);
}
}

/// <summary>
Expand Down
16 changes: 16 additions & 0 deletions Resources/Locale/en-US/prototypes/roles/antags.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,19 @@ roles-antag-thief-objective = Add some NT property to your personal collection w
roles-antag-dragon-name = Space Dragon
roles-antag-dragon-objective = Create a carp army to take over this quadrant.
# Role timers

AntagNuclearAgent = Nuclear Operative Agent
AntagNuclearOperative = Nuclear Operative
AntagNuclearCommander = Nuclear Operative Commander
AntagSyndicateAgent = Syndicate Agent
AntagSyndicateSleeperAgent = Syndicate Sleeper Agent
AntagThief = Thief
AntagHeadRevolutionary = Head Revolutionary
AntagRevolutionary = Revolutionary
AntagZombie = Zombie
AntagInitialInfected = Initial Infected
JobNinja = Space Ninja
AntagDragon = Space Dragon
AntagSubvertedSilicon = Subverted Silicon

0 comments on commit 5aff2c5

Please sign in to comment.