Skip to content

Commit

Permalink
Кукурузная кишка охотника, ПивоВкус
Browse files Browse the repository at this point in the history
  • Loading branch information
KIBORG04 committed Jan 9, 2025
1 parent 9911714 commit 531f201
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@

#define BYOND_JOIN_LINK "byond://[BYOND_SERVER_ADDRESS]"
#define BYOND_SERVER_ADDRESS config.server ? "[config.server]" : "[world.address]:[world.port]"
#define BRIDGE_JOIN_LINKS "Присоединиться: [BYOND_JOIN_LINK]"

#define DELAY2GLIDESIZE(delay) (world.icon_size / max(CEIL(delay / world.tick_lag), 1))

Expand Down
2 changes: 1 addition & 1 deletion code/controllers/subsystem/events.dm
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ SUBSYSTEM_DEF(events)
world.send2bridge(
type = list(BRIDGE_ANNOUNCE),
attachment_title = "Ивент от администрации",
attachment_msg = custom_event_msg + "\nПрисоединиться сейчас: <[BYOND_JOIN_LINK]>",
attachment_msg = custom_event_msg + "\n" + BRIDGE_JOIN_LINKS,
attachment_color = BRIDGE_COLOR_ANNOUNCE,
mention = BRIDGE_MENTION_EVENT,
)
2 changes: 1 addition & 1 deletion code/controllers/subsystem/shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ SUBSYSTEM_DEF(shuttle)
world.send2bridge(
type = list(BRIDGE_ROUNDSTAT),
attachment_title = "Шаттл пристыковался к станции",
attachment_msg = "Присоединиться сейчас: <[BYOND_JOIN_LINK]>",
attachment_msg = BRIDGE_JOIN_LINKS,
attachment_color = BRIDGE_COLOR_ROUNDSTAT,
)

Expand Down
2 changes: 1 addition & 1 deletion code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ SUBSYSTEM_DEF(ticker)
world.send2bridge(
type = list(BRIDGE_ROUNDSTAT),
attachment_title = "Раунд начался, игровой режим - **[master_mode]**",
attachment_msg = "Раунд #[global.round_id]; Присоединиться сейчас: <[BYOND_JOIN_LINK]>",
attachment_msg = "Раунд #[global.round_id]; [BRIDGE_JOIN_LINKS]",
attachment_color = BRIDGE_COLOR_ANNOUNCE,
)

Expand Down
2 changes: 1 addition & 1 deletion code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var/global/it_is_a_snow_day = FALSE
world.send2bridge(
type = list(BRIDGE_ROUNDSTAT),
attachment_title = "Сервер запущен, скоро начнется новый раунд",
attachment_msg = "Присоединиться сейчас: <[BYOND_JOIN_LINK]>",
attachment_msg = BRIDGE_JOIN_LINKS,
attachment_color = BRIDGE_COLOR_ANNOUNCE,
mention = BRIDGE_MENTION_ROUNDSTART,
)
Expand Down

0 comments on commit 531f201

Please sign in to comment.