Skip to content

Commit

Permalink
Remove tunnel naming (#16683)
Browse files Browse the repository at this point in the history
Co-authored-by: TiviPlus <[email protected]>
  • Loading branch information
TiviPlus and TiviPlus authored Oct 20, 2024
1 parent 8077dff commit 8530e5c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,9 @@

to_chat(X, span_xenonotice("We now have <b>[LAZYLEN(X.tunnels)] of [HIVELORD_TUNNEL_SET_LIMIT]</b> tunnels."))

var/msg = stripped_input(X, "Give your tunnel a descriptive name:", "Tunnel Name")
newt.tunnel_desc = "[get_area(newt)] (X: [newt.x], Y: [newt.y])"
newt.name += " [msg]"

xeno_message("[X.name] has built a new tunnel named [newt.name] at [newt.tunnel_desc]!", "xenoannounce", 5, X.hivenumber)
xeno_message("[key_name(X)] has built a new tunnel at [newt.tunnel_desc]!", "xenoannounce", 5, X.hivenumber)

if(LAZYLEN(X.tunnels) > HIVELORD_TUNNEL_SET_LIMIT) //if we exceed the limit, delete the oldest tunnel set.
var/obj/structure/xeno/tunnel/old_tunnel = X.tunnels[1]
Expand Down

0 comments on commit 8530e5c

Please sign in to comment.