Skip to content

Commit

Permalink
adds california
Browse files Browse the repository at this point in the history
  • Loading branch information
SynthTwo committed Oct 11, 2024
1 parent 56bdd93 commit b3fb15e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modular_iris/code/__DEFINES/send2relay.dm
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
#define US_EAST_RELAY_ADDR "byond://useast.irisstation.lol:4200"
#define US_WEST_RELAY_ADDR "byond://uswest.irisstation.lol:4200"
#define SYDNEY_RELAY_ADDR "byond://sydney.irisstation.lol:4200"
#define SINGAPORE_RELAY_ADDR "byond://singapore.irisstation.lol:4200"
#define NO_RELAY_ADDR "byond://play.irisstation.lol:4200"

#define US_EAST_RELAY "Connect to US-East (Virginia)"
#define US_WEST_RELAY "Connect to US-West (California)"
#define SYDNEY_RELAY "Connect to Sydney (Australia)"
#define SINGAPORE_RELAY "Connect to Singapore (Asia)"
#define NO_RELAY "No Relay (Direct Connect)"

/client/verb/go2relay()
var/list/static/relays = list(
US_EAST_RELAY,
US_WEST_RELAY,
SYDNEY_RELAY,
SINGAPORE_RELAY,
NO_RELAY,
Expand All @@ -20,6 +23,8 @@
switch(choice)
if(US_EAST_RELAY)
destination = US_EAST_RELAY_ADDR
if(US_WEST_RELAY)
destination = US_WEST_RELAY_ADDR
if(SYDNEY_RELAY)
destination = SYDNEY_RELAY_ADDR
if(SINGAPORE_RELAY)
Expand All @@ -34,11 +39,13 @@
usr << "You didn't select a relay."

#undef US_EAST_RELAY_ADDR
#undef US_WEST_RELAY_ADDR
#undef SYDNEY_RELAY_ADDR
#undef SINGAPORE_RELAY_ADDR
#undef NO_RELAY_ADDR

#undef US_EAST_RELAY
#undef US_WEST_RELAY
#undef SYDNEY_RELAY
#undef SINGAPORE_RELAY
#undef NO_RELAY

0 comments on commit b3fb15e

Please sign in to comment.