mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
Bots use pronouns (#91483)
## About The Pull Request Makes bots use pronouns if they're given them. ## Why It's Good For The Game Most bots are genderless, which is a given. But notably the hygiene and sec bots use he/him instead of it/its, the tooltips related to their panel and such didn't adhere to this until now. If a bot is given gender, the description, tooltips and all other text info should adhere. ## Changelog 🆑 code: bots use their correct pronouns, if given any, in their tooltips /🆑
This commit is contained in:
committed by
GitHub
parent
1c5ead3ccb
commit
aecd2de344
@@ -261,7 +261,7 @@ GLOBAL_LIST_INIT(command_strings, list(
|
||||
var/new_name = sanitize_name(
|
||||
reject_bad_text(tgui_input_text(
|
||||
user = user,
|
||||
message = "This machine is designated [real_name]. Would you like to update its registration?",
|
||||
message = "This machine is designated [real_name]. Would you like to update [p_their()] registration?",
|
||||
title = "Name change",
|
||||
default = real_name,
|
||||
max_length = MAX_NAME_LEN,
|
||||
@@ -333,16 +333,16 @@ GLOBAL_LIST_INIT(command_strings, list(
|
||||
else
|
||||
. += "[src] is in pristine condition."
|
||||
|
||||
. += span_notice("Its maintenance panel is [bot_access_flags & BOT_COVER_MAINTS_OPEN ? "open" : "closed"].")
|
||||
. += span_info("You can use a <b>screwdriver</b> to [bot_access_flags & BOT_COVER_MAINTS_OPEN ? "close" : "open"] it.")
|
||||
. += span_notice("[p_Their()] maintenance panel is [bot_access_flags & BOT_COVER_MAINTS_OPEN ? "open" : "closed"].")
|
||||
. += span_info("You can use a <b>screwdriver</b> to [bot_access_flags & BOT_COVER_MAINTS_OPEN ? "close" : "open"] [p_them()].")
|
||||
|
||||
if(bot_access_flags & BOT_COVER_MAINTS_OPEN)
|
||||
. += span_notice("Its control panel is [bot_access_flags & BOT_COVER_LOCKED ? "locked" : "unlocked"].")
|
||||
. += span_notice("[p_Their()] control panel is [bot_access_flags & BOT_COVER_LOCKED ? "locked" : "unlocked"].")
|
||||
if(!(bot_access_flags & BOT_COVER_EMAGGED) && (issilicon(user) || user.Adjacent(src)))
|
||||
. += span_info("Alt-click [issilicon(user) ? "" : "or use your ID on "]it to [bot_access_flags & BOT_COVER_LOCKED ? "un" : ""]lock its control panel.")
|
||||
. += span_info("Alt-click [issilicon(user) ? "" : "or use your ID on "][p_them()] to [bot_access_flags & BOT_COVER_LOCKED ? "un" : ""]lock [p_their()] control panel.")
|
||||
if(isnull(paicard))
|
||||
return
|
||||
. += span_notice("It has a pAI device installed.")
|
||||
. += span_notice("[p_They()] [p_have()] a pAI device installed.")
|
||||
if(!(bot_access_flags & BOT_COVER_MAINTS_OPEN))
|
||||
. += span_info("You can use a <b>hemostat</b> to remove it.")
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
base_icon_state = "hygienebot"
|
||||
pass_flags = parent_type::pass_flags | PASSTABLE
|
||||
layer = MOB_UPPER_LAYER
|
||||
gender = MALE
|
||||
density = FALSE
|
||||
anchored = FALSE
|
||||
health = 100
|
||||
|
||||
@@ -360,7 +360,7 @@
|
||||
patient.visible_message(span_notice("[src] tends the wounds of [patient]!"), "[span_infoplain(span_green("[src] tends your wounds!"))]")
|
||||
|
||||
if(done_healing)
|
||||
visible_message(span_infoplain("[src] places its tools back into itself."))
|
||||
visible_message(span_infoplain("[src] places [p_their()] tools back into [p_themselves()]."))
|
||||
to_chat(src, "[patient] is now healthy!")
|
||||
update_bot_mode(new_mode = BOT_IDLE)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user