mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Area sensitivity restoration - fixes ambience, ship hum, gravity, area blurbs, etc. (#21788)
Finally tracked this rat bastard down; requisite trait assignment was removed from mobs at some point. Drifting in zero-gravity works again (including throwing things to change speed and direction). Area text blurbs work again (my band-aid fix adding them to status window has been removed). Random ambience sounds now play again. Ship hum works again while on the Horizon. Probably fixes more stuff that its removal broke.
This commit is contained in:
@@ -215,21 +215,6 @@
|
||||
|
||||
/mob/living/carbon/human/get_status_tab_items()
|
||||
. = ..()
|
||||
|
||||
/// This needs to be updated to use signals.
|
||||
var/holding_gps = FALSE
|
||||
if(istype(src.get_active_hand(), /obj/item/gps) || istype(src.get_inactive_hand(), /obj/item/gps))
|
||||
holding_gps = TRUE
|
||||
|
||||
var/area/A = get_area(src)
|
||||
var/area_name
|
||||
if(holding_gps)
|
||||
area_name = get_area_display_name(A)
|
||||
. += "[area_name]"
|
||||
. += ""
|
||||
if(A.area_blurb)
|
||||
. += "[A.area_blurb]"
|
||||
. += ""
|
||||
. += "Intent: [a_intent]"
|
||||
. += "Move Mode: [m_intent]"
|
||||
if(is_diona() && DS)
|
||||
|
||||
@@ -103,6 +103,10 @@
|
||||
|
||||
become_hearing_sensitive()
|
||||
|
||||
// This impacts area/entered(), gravity drifting, and probably plenty more. This will likely
|
||||
// need to be removed/moved if and when any 'moodlet' system is implemented (ref. TG component).
|
||||
become_area_sensitive(INNATE_TRAIT)
|
||||
|
||||
/**
|
||||
* Generate the tag for this mob
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user