mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-24 00:23:39 +01:00
feat(guild): implement rookie and return guild assignment
New/returning players are now auto-assigned to temporary holding guilds on MSG_MHF_ENTRY_ROOKIE_GUILD (pkt.Unk=0 → rookie guild, ≥1 → comeback guild). Guilds are created on demand and capped at 60 members. Players leave via the OperateGuildGraduateRookie/Return actions. The guild info response now reports isReturnGuild from the DB instead of hardcoded false. Migration 0014_return_guilds adds return_type to the guilds table.
This commit is contained in:
@@ -108,7 +108,9 @@ type i18n struct {
|
||||
berserkSmall string
|
||||
}
|
||||
guild struct {
|
||||
invite struct {
|
||||
rookieGuildName string
|
||||
returnGuildName string
|
||||
invite struct {
|
||||
title string
|
||||
body string
|
||||
success struct {
|
||||
@@ -183,6 +185,9 @@ func getLangStrings(s *Server) i18n {
|
||||
i.raviente.extremeLimited = "<大討伐:猛狂期【極】(制限付)>が開催されました!"
|
||||
i.raviente.berserkSmall = "<大討伐:猛狂期(小数)>が開催されました!"
|
||||
|
||||
i.guild.rookieGuildName = "新米猟団%d"
|
||||
i.guild.returnGuildName = "復帰猟団%d"
|
||||
|
||||
i.guild.invite.title = "猟団勧誘のご案内"
|
||||
i.guild.invite.body = "猟団「%s」からの勧誘通知です。\n「勧誘に返答」より、返答を行ってください。"
|
||||
|
||||
@@ -272,6 +277,9 @@ func getLangStrings(s *Server) i18n {
|
||||
i.raviente.extremeLimited = "<Great Slaying: Extreme (Limited)> is being held!"
|
||||
i.raviente.berserkSmall = "<Great Slaying: Berserk (Small)> is being held!"
|
||||
|
||||
i.guild.rookieGuildName = "Rookie Clan %d"
|
||||
i.guild.returnGuildName = "Return Clan %d"
|
||||
|
||||
i.guild.invite.title = "Invitation!"
|
||||
i.guild.invite.body = "You have been invited to join\n「%s」\nDo you want to accept?"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user