Some fixes (#19234)

* Some fixes

* .

* word breaks are detected as maro
This commit is contained in:
Kashargul
2026-02-26 20:00:02 +01:00
committed by GitHub
parent d22257710e
commit 6227672218
5 changed files with 33 additions and 5 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
new/datum/data/pda/app/main_menu,
new/datum/data/pda/app/notekeeper,
new/datum/data/pda/app/news,
new/datum/data/pda/app/messenger)
new/datum/data/pda/app/messenger,
new/datum/data/pda/app/game_launcher)
special_handling = TRUE
/obj/item/pda/ai/proc/set_name_and_job(newname as text, newjob as text, newrank as null|text)
+20
View File
@@ -905,6 +905,16 @@
for(var/at_flag in belly_data["autotransfer_blacklist"])
new_belly.autotransfer_blacklist += new_belly.autotransfer_flags_list[at_flag]
if(islist(belly_data["autotransfer_whitelist_items"]))
new_belly.autotransfer_whitelist_items = 0
for(var/at_flag in belly_data["autotransfer_whitelist_items"])
new_belly.autotransfer_whitelist_items += new_belly.autotransfer_flags_list_items[at_flag]
if(islist(belly_data["autotransfer_blacklist_items"]))
new_belly.autotransfer_blacklist_items = 0
for(var/at_flag in belly_data["autotransfer_blacklist_items"])
new_belly.autotransfer_blacklist_items += new_belly.autotransfer_flags_list_items[at_flag]
if(islist(belly_data["autotransfer_secondary_whitelist"]))
new_belly.autotransfer_secondary_whitelist = 0
for(var/at_flag in belly_data["autotransfer_secondary_whitelist"])
@@ -915,6 +925,16 @@
for(var/at_flag in belly_data["autotransfer_secondary_blacklist"])
new_belly.autotransfer_secondary_blacklist += new_belly.autotransfer_flags_list[at_flag]
if(islist(belly_data["autotransfer_secondary_whitelist_items"]))
new_belly.autotransfer_secondary_whitelist_items = 0
for(var/at_flag in belly_data["autotransfer_secondary_whitelist_items"])
new_belly.autotransfer_secondary_whitelist_items += new_belly.autotransfer_flags_list_items[at_flag]
if(islist(belly_data["autotransfer_secondary_blacklist_items"]))
new_belly.autotransfer_secondary_blacklist_items = 0
for(var/at_flag in belly_data["autotransfer_secondary_blacklist_items"])
new_belly.autotransfer_secondary_blacklist_items += new_belly.autotransfer_flags_list_items[at_flag]
if(isnum(belly_data["absorbchance"]))
var/new_absorbchance = belly_data["absorbchance"]
new_belly.absorbchance = sanitize_integer(new_absorbchance, 0, 100, initial(new_belly.absorbchance))