Revenant Tweaks (#11002)

Tau Ceti Basic speakers can now understand 80% of what revenants say.
    Revenants can now universally understand all languages.
    Revenants now spawn between 20 and 30 minutes into the round.
    Revenants now get a numerical identifier after their name that increments up from 1.
This commit is contained in:
Geeves
2021-01-18 20:19:38 +02:00
committed by GitHub
parent 1d52dfec1e
commit b39f1d48dd
5 changed files with 25 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
required_players = 10
required_enemies = 0
round_autoantag = TRUE
var/first_spawn_delay = 20 MINUTES
min_autotraitor_delay = 3 MINUTES
max_autotraitor_delay = 6 MINUTES
antag_scaling_coeff = 4 // four people can handle one revenant pretty easily
@@ -11,7 +12,13 @@
extended_round_description = "This a wave defense gamemode. The crew all have to work together to repel an endless horde of bluespace horrors."
antag_tags = list(MODE_REVENANT)
/datum/game_mode/revenants/New()
..()
first_spawn_delay = rand(20 MINUTES, 30 MINUTES)
/datum/game_mode/revenants/process_autoantag()
if(world.time - round_start_time < first_spawn_delay)
return
var/datum/ghostspawner/revenant/R = SSghostroles.get_spawner(MODE_REVENANT)
var/datum/antagonist/A = all_antag_types[MODE_REVENANT]
A.update_current_antag_max()
@@ -20,4 +27,5 @@
if(R.max_count > previous_count)
say_dead_direct("A slot for a Revenant as opened up!<br>Spawn in as it by using the ghost spawner menu in the ghost tab, and try to be good!")
if(!R.enabled)
R.enable()
R.enable()
next_spawn = world.time + rand(min_autotraitor_delay, max_autotraitor_delay)

View File

@@ -14,6 +14,7 @@
spawn_mob = /mob/living/carbon/human/revenant
respawn_flag = ANIMAL
var/spawn_index = 1 // used to add a numerical identifier to the revenant. increases by 1 per spawn
var/has_fired = FALSE
/datum/ghostspawner/revenant/spawn_mob(mob/user)
@@ -26,6 +27,9 @@
return
if(R)
R.real_name = "[R.real_name] ([spawn_index])"
R.name = R.real_name
spawn_index++
announce_ghost_joinleave(user, FALSE, "They are now a [name].")
R.ckey = user.ckey

View File

@@ -103,4 +103,5 @@
colour = "revenant"
key = "c"
syllables = list("grhhg", "ghrohg", "grgugh", "grrhh", "hghh", "rghghh", "gghhh", "ggrh", "aghrh")
flags = RESTRICTED
flags = RESTRICTED
partial_understanding = list(LANGUAGE_TCB = 80)

View File

@@ -117,6 +117,7 @@
H.name = H.real_name
..()
H.gender = NEUTER
H.universal_understand = TRUE
/datum/species/revenant/get_random_name()
return "Revenant"