Makes aux base builder failure message say the name not the path (#93880)

## About The Pull Request

Makes the base builder console "you can't build here" response thing say
the name of the area, rather than the path

## Why It's Good For The Game

You can't build within area/shuttle/auxillary_base

## Changelog
🆑

spellcheck: Auxbase construction console says the name of the area
rather than the path in failure messages

/🆑

---------

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
This commit is contained in:
Leland Kemble
2025-11-13 00:34:56 +01:00
committed by GitHub
co-authored by SmArtKar
parent 97419caff5
commit a40627148f
@@ -32,10 +32,10 @@
if (!area_constraint)
return TRUE
if(!istype(build_area, area_constraint))
to_chat(owner, span_warning("You can only build within [area_constraint]!"))
to_chat(owner, span_warning("You can only build within [area_constraint::name]!"))
return FALSE
if(only_station_z && !is_station_level(build_target.z))
to_chat(owner, span_warning("[area_constraint] has launched and can no longer be modified."))
to_chat(owner, span_warning("[area_constraint::name] has launched and can no longer be modified."))
return FALSE
return TRUE