mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-18 11:44:05 +01:00
[MIRROR] fix anomaly gun state (#12906)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2b5e83c843
commit
2dea2b41ea
@@ -1636,6 +1636,8 @@
|
||||
return FALSE
|
||||
if(given_type == /obj/item/borg/upgrade/restricted/advrped)
|
||||
return has_upgrade_module(/obj/item/storage/part_replacer/adv)
|
||||
if(given_type == /obj/item/borg/upgrade/restricted/anomalygun)
|
||||
return has_upgrade_module(/obj/item/gun/energy/anomaly/mounted)
|
||||
if(given_type == /obj/item/borg/upgrade/restricted/diamonddrill)
|
||||
return has_upgrade_module(/obj/item/pickaxe/diamonddrill)
|
||||
if(given_type == /obj/item/borg/upgrade/restricted/pka)
|
||||
|
||||
@@ -498,7 +498,10 @@
|
||||
if(selected.message_mode || selected.digest_mode == DM_UNABSORB)
|
||||
tab_data["possible_messages"] += UNABSORB_MESSAGE
|
||||
if(!selected_message)
|
||||
selected_message = DIGEST_MESSAGE
|
||||
if(length(tab_data["possible_messages"]))
|
||||
selected_message = tab_data["possible_messages"][1]
|
||||
else
|
||||
selected_message = DIGEST_MESSAGE
|
||||
if(selected_message == DIGEST_MESSAGE)
|
||||
tab_data["max_length"] = BELLIES_IDLE_MAX
|
||||
tab_data["active_message"] = SANITIZE_LIST(selected.emote_lists[DM_DIGEST])
|
||||
|
||||
Reference in New Issue
Block a user