mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Gives mirror maids random 1920s English/Welsh names (#96936)
## About The Pull Request This PR adds a list of 100 1920s English/Welsh names for Maids in the Mirror. The names have been sourced from and attributed to the United Kingdom's Office for National Statistics. Admittedly I haven't worked with licenses much, so please correct me if I've gotten the attribution wrong. Example names are as follows: "Mirror Maid Mildred" "Mirror Maid Gertrude" "Mirror Maid Gwendoline" I've attempted to code this such that names only get reused after all are randomly gone through. ## Why It's Good For The Game It is currently difficult to distinguish between several Maids in the Mirror, and this PR attempts to remedy that in a thematically appropriate way. Additionally, this PR may address issue #96587. (While this doesn't provide mob numbers specifically, it does make their names distinct.) ## Changelog 🆑 add: Maids in the Mirror now get random 1920s English/Welsh names. /🆑 --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
co-authored by
LemonInTheDark
parent
4638fa482b
commit
6cbee1bcc9
@@ -22,6 +22,11 @@
|
||||
var/recent_examine_damage_cooldown = 10 SECONDS
|
||||
/// A list of REFs to people who recently examined us
|
||||
var/list/recent_examiner_refs = list()
|
||||
/// The 1920s English/Welsh name appended to the end of the maid's title.
|
||||
var/antiquated_name
|
||||
/// A large list of names. One is randomly chosen upon mirror maid creation and removed
|
||||
/// to prevent duplicates. If somehow emptied, the list is restored to its original state.
|
||||
var/static/list/antiquated_names = GLOB.mirror_maid_names.Copy()
|
||||
|
||||
/mob/living/basic/heretic_summon/maid_in_the_mirror/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -35,6 +40,13 @@
|
||||
GRANT_ACTION(/datum/action/cooldown/spell/jaunt/mirror_walk)
|
||||
ADD_TRAIT(src, TRAIT_UNHITTABLE_BY_LASERS, INNATE_TRAIT)
|
||||
|
||||
if(!length(antiquated_names))
|
||||
antiquated_names = GLOB.mirror_maid_names.Copy()
|
||||
|
||||
antiquated_name = pick_n_take(antiquated_names)
|
||||
name = "Mirror Maid [antiquated_name]"
|
||||
real_name = name
|
||||
|
||||
/mob/living/basic/heretic_summon/maid_in_the_mirror/death(gibbed)
|
||||
var/turf/death_turf = get_turf(src)
|
||||
death_turf.TakeTemperature(-40) // Spooky
|
||||
|
||||
Reference in New Issue
Block a user