2022-04-18 11:36:29 +03:00
package model
2022-04-19 18:46:11 +03:00
import (
"fmt"
2022-04-21 23:01:18 +03:00
"github.com/iancoleman/strcase"
"github.com/robertjanetzko/LegendsBrowser2/backend/util"
)
2022-04-19 18:46:11 +03:00
func ( x * Honor ) Requirement ( ) string {
var list [ ] string
2022-04-20 22:38:31 +03:00
if x . RequiresAnyMeleeOrRangedSkill {
2022-04-19 18:46:11 +03:00
list = append ( list , "attaining sufficent skill with a weapon or technique" )
}
2022-04-20 22:38:31 +03:00
if x . RequiredSkill != HonorRequiredSkill_Unknown {
list = append ( list , "attaining enough skill with the " + x . RequiredSkill . String ( ) )
}
2022-04-19 18:46:11 +03:00
if x . RequiredBattles == 1 {
list = append ( list , "serving in combat" )
}
if x . RequiredBattles > 1 {
list = append ( list , fmt . Sprintf ( "participating in %d battles" , x . RequiredBattles ) )
}
if x . RequiredYears >= 1 {
list = append ( list , fmt . Sprintf ( "%d years of membership" , x . RequiredYears ) )
}
if x . RequiredKills >= 1 {
2022-04-20 22:38:31 +03:00
list = append ( list , fmt . Sprintf ( "slaying %d enemies" , x . RequiredKills ) )
2022-04-19 18:46:11 +03:00
}
return " after " + andList ( list )
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventAddHfEntityHonor ) Html ( ) string {
2022-04-19 18:46:11 +03:00
e := world . Entities [ x . EntityId ]
h := e . Honor [ x . HonorId ]
return fmt . Sprintf ( "%s received the title %s of %s%s" , hf ( x . Hfid ) , h . Name ( ) , entity ( x . EntityId ) , h . Requirement ( ) )
2022-04-18 11:36:29 +03:00
}
2022-04-20 22:38:31 +03:00
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventAddHfEntityLink ) Html ( ) string {
2022-04-19 18:46:11 +03:00
h := hf ( x . Hfid )
c := entity ( x . CivId )
if x . AppointerHfid != - 1 {
c += fmt . Sprintf ( ", appointed by %s" , hf ( x . AppointerHfid ) )
}
switch x . Link {
case HistoricalEventAddHfEntityLinkLink_Enemy :
return h + " became an enemy of " + c
case HistoricalEventAddHfEntityLinkLink_Member :
return h + " became a member of " + c
case HistoricalEventAddHfEntityLinkLink_Position :
return h + " became " + world . Entities [ x . CivId ] . Position ( x . PositionId ) . GenderName ( world . HistoricalFigures [ x . Hfid ] ) + " of " + c
case HistoricalEventAddHfEntityLinkLink_Prisoner :
return h + " was imprisoned by " + c
case HistoricalEventAddHfEntityLinkLink_Slave :
return h + " was enslaved by " + c
case HistoricalEventAddHfEntityLinkLink_Squad :
2022-04-20 22:38:31 +03:00
return h + " became a hearthperson/solder of " + c // TODO
2022-04-19 18:46:11 +03:00
}
return h + " became SOMETHING of " + c
2022-04-18 11:36:29 +03:00
}
2022-04-19 18:46:11 +03:00
2022-04-20 00:54:29 +03:00
func ( x * HistoricalEventAddHfHfLink ) Html ( ) string {
h := hf ( x . Hfid )
t := hf ( x . HfidTarget )
switch x . LinkType {
case HistoricalEventAddHfHfLinkLinkType_Apprentice :
return h + " became the master of " + t
case HistoricalEventAddHfHfLinkLinkType_Deity :
return h + " began worshipping " + t
2022-04-20 22:38:31 +03:00
case HistoricalEventAddHfHfLinkLinkType_FormerMaster :
return h + " ceased being the apprentice of " + t
2022-04-20 00:54:29 +03:00
case HistoricalEventAddHfHfLinkLinkType_Lover :
return h + " became romantically involved with " + t
case HistoricalEventAddHfHfLinkLinkType_Master :
return h + " began an apprenticeship under " + t
case HistoricalEventAddHfHfLinkLinkType_PetOwner :
return h + " became the owner of " + t
case HistoricalEventAddHfHfLinkLinkType_Prisoner :
return h + " imprisoned " + t
case HistoricalEventAddHfHfLinkLinkType_Spouse :
return h + " married " + t
default :
return h + " LINKED TO " + t
}
}
2022-04-20 22:38:31 +03:00
2022-04-20 00:54:29 +03:00
func ( x * HistoricalEventAddHfSiteLink ) Html ( ) string {
h := hf ( x . Histfig )
c := ""
if x . Civ != - 1 {
c = " of " + entity ( x . Civ )
}
b := ""
if x . Structure != - 1 {
b = " " + structure ( x . SiteId , x . Structure )
}
s := site ( x . SiteId , "in" )
switch x . LinkType {
case HistoricalEventAddHfSiteLinkLinkType_HomeSiteAbstractBuilding :
return h + " took up residence in " + b + c + " " + s
case HistoricalEventAddHfSiteLinkLinkType_Occupation :
return h + " started working at " + b + c + " " + s
case HistoricalEventAddHfSiteLinkLinkType_SeatOfPower :
return h + " ruled from " + b + c + " " + s
default :
return h + " LINKED TO " + s
}
}
2022-04-20 22:38:31 +03:00
func ( x * HistoricalEventAgreementFormed ) Html ( ) string { // TODO
2022-04-18 11:36:29 +03:00
return "UNKNWON HistoricalEventAgreementFormed"
}
2022-04-20 22:38:31 +03:00
func ( x * HistoricalEventAgreementMade ) Html ( ) string { return "UNKNWON HistoricalEventAgreementMade" } // TODO
func ( x * HistoricalEventAgreementRejected ) Html ( ) string { // TODO
2022-04-18 13:13:38 +03:00
return "UNKNWON HistoricalEventAgreementRejected"
}
2022-04-20 22:38:31 +03:00
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventArtifactClaimFormed ) Html ( ) string {
2022-04-20 00:54:29 +03:00
a := artifact ( x . ArtifactId )
switch x . Claim {
case HistoricalEventArtifactClaimFormedClaim_Heirloom :
return a + " was made a family heirloom by " + hf ( x . HistFigureId )
case HistoricalEventArtifactClaimFormedClaim_Symbol :
p := world . Entities [ x . EntityId ] . Position ( x . PositionProfileId ) . Name_
e := entity ( x . EntityId )
return a + " was made a symbol of the " + p + " by " + e
case HistoricalEventArtifactClaimFormedClaim_Treasure :
c := ""
if x . Circumstance != HistoricalEventArtifactClaimFormedCircumstance_Unknown {
2022-04-21 11:58:28 +03:00
c = " " + x . Circumstance . String ( )
2022-04-20 00:54:29 +03:00
}
if x . HistFigureId != - 1 {
return a + " was claimed by " + hf ( x . HistFigureId ) + c
} else if x . EntityId != - 1 {
return a + " was claimed by " + entity ( x . EntityId ) + c
}
}
return a + " was claimed"
}
2022-04-20 22:38:31 +03:00
func ( x * HistoricalEventArtifactCopied ) Html ( ) string {
s := "aquired a copy of"
if x . FromOriginal {
s = "made a copy of the original"
}
return fmt . Sprintf ( "%s %s %s from %s%s of %s, keeping it within %s%s" ,
entity ( x . DestEntityId ) , s , artifact ( x . ArtifactId ) , structure ( x . SourceSiteId , x . SourceStructureId ) , site ( x . SourceSiteId , " in " ) ,
2022-04-20 00:54:29 +03:00
entity ( x . SourceEntityId ) , structure ( x . DestSiteId , x . DestStructureId ) , site ( x . DestSiteId , " in " ) )
2022-04-18 11:36:29 +03:00
}
2022-04-20 22:38:31 +03:00
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventArtifactCreated ) Html ( ) string {
2022-04-20 00:54:29 +03:00
a := artifact ( x . ArtifactId )
h := hf ( x . HistFigureId )
s := ""
if x . SiteId != - 1 {
s = site ( x . SiteId , " in " )
}
if ! x . NameOnly {
return h + " created " + a + s
}
2022-04-20 22:38:31 +03:00
c := ""
if x . Circumstance != nil {
switch x . Circumstance . Type {
case HistoricalEventArtifactCreatedCircumstanceType_Defeated :
c = " after defeating " + hf ( x . Circumstance . Defeated )
case HistoricalEventArtifactCreatedCircumstanceType_Favoritepossession :
c = " as the item was a favorite possession"
case HistoricalEventArtifactCreatedCircumstanceType_Preservebody :
c = " by preserving part of the body"
}
}
2022-04-20 00:54:29 +03:00
switch x . Reason {
case HistoricalEventArtifactCreatedReason_SanctifyHf :
2022-04-20 22:38:31 +03:00
return fmt . Sprintf ( "%s received its name%s from %s in order to sanctify %s%s" , a , s , h , hf ( x . SanctifyHf ) , c )
2022-04-20 00:54:29 +03:00
default :
2022-04-20 22:38:31 +03:00
return fmt . Sprintf ( "%s received its name%s from %s %s" , a , s , h , c )
2022-04-20 00:54:29 +03:00
}
2022-04-18 11:36:29 +03:00
}
func ( x * HistoricalEventArtifactDestroyed ) Html ( ) string {
2022-04-20 22:38:31 +03:00
return fmt . Sprintf ( "%s was destroyed by %s in %s" , artifact ( x . ArtifactId ) , entity ( x . DestroyerEnid ) , site ( x . SiteId , "" ) )
}
func ( x * HistoricalEventArtifactFound ) Html ( ) string {
return fmt . Sprintf ( "%s was found in %s by %s" , artifact ( x . ArtifactId ) , site ( x . SiteId , "" ) , hf ( x . HistFigureId ) )
}
func ( x * HistoricalEventArtifactGiven ) Html ( ) string {
r := ""
if x . ReceiverHistFigureId != - 1 {
r = hf ( x . ReceiverHistFigureId )
if x . ReceiverEntityId != - 1 {
r += " of " + entity ( x . ReceiverEntityId )
}
} else if x . ReceiverEntityId != - 1 {
r += entity ( x . ReceiverEntityId )
}
g := ""
if x . GiverHistFigureId != - 1 {
g = hf ( x . GiverHistFigureId )
if x . GiverEntityId != - 1 {
g += " of " + entity ( x . GiverEntityId )
}
} else if x . GiverEntityId != - 1 {
g += entity ( x . GiverEntityId )
}
reason := ""
switch x . Reason {
case HistoricalEventArtifactGivenReason_PartOfTradeNegotiation :
reason = " as part of a trade negotiation"
}
return fmt . Sprintf ( "%s was offered to %s by %s%s" , artifact ( x . ArtifactId ) , r , g , reason )
}
func ( x * HistoricalEventArtifactLost ) Html ( ) string {
w := ""
2022-04-21 11:58:28 +03:00
if x . SubregionId != - 1 {
w = region ( x . SubregionId )
}
2022-04-20 22:38:31 +03:00
if x . SiteId != - 1 {
w = site ( x . SiteId , "" )
}
return fmt . Sprintf ( "%s was lost in %s" , artifact ( x . ArtifactId ) , w )
2022-04-18 11:36:29 +03:00
}
2022-04-21 11:58:28 +03:00
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventArtifactPossessed ) Html ( ) string {
2022-04-21 11:58:28 +03:00
a := artifact ( x . ArtifactId )
h := hf ( x . HistFigureId )
w := ""
if x . SubregionId != - 1 {
w = region ( x . SubregionId )
}
if x . SiteId != - 1 {
w = site ( x . SiteId , "" )
}
c := ""
switch x . Circumstance {
case HistoricalEventArtifactPossessedCircumstance_HfIsDead :
c = " after the death of " + hf ( x . CircumstanceId )
}
switch x . Reason {
case HistoricalEventArtifactPossessedReason_ArtifactIsHeirloomOfFamilyHfid :
return fmt . Sprintf ( "%s was aquired in %s by %s as an heirloom of %s%s" , a , w , h , hf ( x . ReasonId ) , c )
case HistoricalEventArtifactPossessedReason_ArtifactIsSymbolOfEntityPosition :
return fmt . Sprintf ( "%s was aquired in %s by %s as a symbol of authority within %s%s" , a , w , h , entity ( x . ReasonId ) , c )
}
return fmt . Sprintf ( "%s was claimed in %s by %s%s" , a , w , h , c ) // TODO wording
2022-04-18 11:36:29 +03:00
}
2022-04-21 11:58:28 +03:00
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventArtifactRecovered ) Html ( ) string {
2022-04-21 11:58:28 +03:00
a := artifact ( x . ArtifactId )
h := hf ( x . HistFigureId )
w := ""
if x . SubregionId != - 1 {
w = "in " + region ( x . SubregionId )
}
if x . SiteId != - 1 {
w = site ( x . SiteId , "in " )
if x . StructureId != - 1 {
w = "from " + structure ( x . SiteId , x . StructureId ) + " " + w
}
}
return fmt . Sprintf ( "%s was recovered %s by %s" , a , w , h )
2022-04-18 11:36:29 +03:00
}
2022-04-21 11:58:28 +03:00
func ( x * HistoricalEventArtifactStored ) Html ( ) string {
return fmt . Sprintf ( "%s stored %s in %s" , hf ( x . HistFigureId ) , artifact ( x . ArtifactId ) , site ( x . SiteId , "" ) )
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventArtifactTransformed ) Html ( ) string {
2022-04-21 11:58:28 +03:00
return fmt . Sprintf ( "%s was made from %s by %s in %s" , artifact ( x . NewArtifactId ) , artifact ( x . OldArtifactId ) , hf ( x . HistFigureId ) , site ( x . SiteId , "" ) ) // TODO wording
2022-04-18 13:13:38 +03:00
}
2022-04-21 11:58:28 +03:00
2022-04-21 17:25:35 +03:00
func ( x * HistoricalEventAssumeIdentity ) Html ( ) string {
h := hf ( x . TricksterHfid )
i := identity ( x . IdentityId )
if x . TargetEnid == - 1 {
return fmt . Sprintf ( ` %s assumed the identity "%s" ` , h , i )
} else {
return fmt . Sprintf ( ` %s fooled %s into believing %s was "%s" ` , h , entity ( x . TargetEnid ) , pronoun ( x . TricksterHfid ) , i )
}
}
2022-04-21 23:01:18 +03:00
func ( x * HistoricalEventAttackedSite ) Html ( ) string {
atk := entity ( x . AttackerCivId )
def := entity ( x . DefenderCivId )
if x . SiteCivId != x . DefenderCivId {
def = entity ( x . SiteCivId ) + " of " + def
}
generals := ""
if x . AttackerGeneralHfid != - 1 {
generals += ". " + util . Capitalize ( hf ( x . AttackerGeneralHfid ) ) + " led the attack"
if x . DefenderGeneralHfid != - 1 {
generals += ", and the defenders were led by " + hf ( x . DefenderGeneralHfid )
}
}
mercs := ""
if x . AttackerMercEnid != - 1 {
mercs += fmt . Sprintf ( ". %s were hired by the attackers" , entity ( x . AttackerMercEnid ) )
}
if x . ASupportMercEnid != - 1 {
mercs += fmt . Sprintf ( ". %s were hired as scouts by the attackers" , entity ( x . ASupportMercEnid ) )
}
if x . DefenderMercEnid != - 1 {
mercs += fmt . Sprintf ( ". The defenders hired %s" , entity ( x . DefenderMercEnid ) )
}
if x . DSupportMercEnid != - 1 {
mercs += fmt . Sprintf ( ". The defenders hired %s as scouts" , entity ( x . DSupportMercEnid ) )
}
return fmt . Sprintf ( "%s attacked %s at %s%s%s" , atk , def , site ( x . SiteId , "" ) , generals , mercs )
}
func ( x * HistoricalEventBodyAbused ) Html ( ) string {
s := "the " + util . If ( len ( x . Bodies ) > 1 , "bodies" , "body" ) + " of " + hfList ( x . Bodies ) + " " + util . If ( len ( x . Bodies ) > 1 , "were" , "was" )
switch x . AbuseType {
case HistoricalEventBodyAbusedAbuseType_Animated :
s += " animated" + util . If ( x . Histfig != - 1 , " by " + hf ( x . Histfig ) , "" ) + site ( x . SiteId , " in " )
case HistoricalEventBodyAbusedAbuseType_Flayed :
s += " flayed and the skin stretched over " + structure ( x . SiteId , x . Structure ) + " by " + entity ( x . Civ ) + site ( x . SiteId , " in " )
case HistoricalEventBodyAbusedAbuseType_Hung :
s += " hung from a tree by " + entity ( x . Civ ) + site ( x . SiteId , " in " )
case HistoricalEventBodyAbusedAbuseType_Impaled :
s += " impaled on " + articled ( x . ItemMat + " " + x . ItemSubtype . String ( ) ) + " by " + entity ( x . Civ ) + site ( x . SiteId , " in " )
case HistoricalEventBodyAbusedAbuseType_Mutilated :
s += " horribly mutilated by " + entity ( x . Civ ) + site ( x . SiteId , " in " )
case HistoricalEventBodyAbusedAbuseType_Piled :
s += " added to a "
switch x . PileType {
case HistoricalEventBodyAbusedPileType_Grislymound :
s += "grisly mound"
case HistoricalEventBodyAbusedPileType_Grotesquepillar :
s += "grotesque pillar"
case HistoricalEventBodyAbusedPileType_Gruesomesculpture :
s += "gruesome sculpture"
}
s += " by " + entity ( x . Civ ) + site ( x . SiteId , " in " )
}
return s
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventBuildingProfileAcquired ) Html ( ) string {
2022-04-21 23:01:18 +03:00
return util . If ( x . AcquirerEnid != - 1 , entity ( x . AcquirerEnid ) , hf ( x . AcquirerHfid ) ) +
util . If ( x . PurchasedUnowned , " purchased " , " inherited " ) +
property ( x . SiteId , x . BuildingProfileId ) + site ( x . SiteId , " in" ) +
util . If ( x . LastOwnerHfid != - 1 , " formerly owned by " + hf ( x . LastOwnerHfid ) , "" )
}
func ( x * HistoricalEventCeremony ) Html ( ) string {
r := entity ( x . CivId ) + " held a ceremony in " + site ( x . SiteId , "" )
if e , ok := world . Entities [ x . CivId ] ; ok {
o := e . Occasion [ x . OccasionId ]
r += " as part of " + o . Name ( )
s := o . Schedule [ x . ScheduleId ]
if len ( s . Feature ) > 0 {
r += ". The event featured " + andList ( util . Map ( s . Feature , feature ) )
}
}
return r
2022-04-18 11:36:29 +03:00
}
2022-04-21 23:01:18 +03:00
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventChangeHfBodyState ) Html ( ) string {
2022-04-21 23:01:18 +03:00
r := hf ( x . Hfid )
switch x . BodyState {
case HistoricalEventChangeHfBodyStateBodyState_EntombedAtSite :
r += " was entombed"
}
if x . StructureId != - 1 {
r += " within " + structure ( x . SiteId , x . StructureId )
}
r += site ( x . SiteId , " in " )
return r
}
func ( x * HistoricalEventChangeHfJob ) Html ( ) string {
w := ""
if x . SubregionId != - 1 {
w = " in " + region ( x . SubregionId )
}
if x . SiteId != - 1 {
w = " in " + site ( x . SiteId , "" )
}
old := articled ( strcase . ToDelimited ( x . OldJob , ' ' ) )
new := articled ( strcase . ToDelimited ( x . NewJob , ' ' ) )
if x . OldJob == "standard" {
return hf ( x . Hfid ) + " became " + new + w
} else if x . NewJob == "standard" {
return hf ( x . Hfid ) + " stopped being " + old + w
} else {
return hf ( x . Hfid ) + " gave up being " + old + " to become a " + new + w
}
2022-04-18 11:36:29 +03:00
}
2022-04-19 12:46:43 +03:00
func ( x * HistoricalEventChangeHfState ) Html ( ) string {
2022-04-21 23:01:18 +03:00
r := ""
switch x . Reason {
case HistoricalEventChangeHfStateReason_BeWithMaster :
r = " in order to be with the master"
case HistoricalEventChangeHfStateReason_ConvictionExile :
r = " after being exiled following a criminal conviction"
case HistoricalEventChangeHfStateReason_ExiledAfterConviction :
r = " after being exiled following a criminal conviction"
case HistoricalEventChangeHfStateReason_FailedMood :
r = " after failing to create an artifact"
case HistoricalEventChangeHfStateReason_Flight :
case HistoricalEventChangeHfStateReason_GatherInformation :
r = " to gather information"
case HistoricalEventChangeHfStateReason_GreatDealOfStress :
r = " after a great deal of stress" // TODO check
case HistoricalEventChangeHfStateReason_LackOfSleep :
r = " after a lack of sleep" // TODO check
case HistoricalEventChangeHfStateReason_OnAPilgrimage :
r = " on a pilgrimage"
case HistoricalEventChangeHfStateReason_Scholarship :
r = " in order to pursue scholarship"
case HistoricalEventChangeHfStateReason_UnableToLeaveLocation :
r = " after being unable to leave the location" // TODO check
}
2022-04-19 12:46:43 +03:00
switch x . State {
2022-04-21 23:01:18 +03:00
case HistoricalEventChangeHfStateState_Refugee :
return hf ( x . Hfid ) + " fled " + location ( x . SiteId , "to" , x . SubregionId , "into" )
2022-04-19 12:46:43 +03:00
case HistoricalEventChangeHfStateState_Settled :
switch x . Reason {
2022-04-21 23:01:18 +03:00
case HistoricalEventChangeHfStateReason_BeWithMaster , HistoricalEventChangeHfStateReason_Scholarship :
return hf ( x . Hfid ) + " moved to study " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateReason_Flight :
return hf ( x . Hfid ) + " fled " + site ( x . SiteId , "to" )
case HistoricalEventChangeHfStateReason_ConvictionExile , HistoricalEventChangeHfStateReason_ExiledAfterConviction :
return hf ( x . Hfid ) + " departed " + site ( x . SiteId , "to" ) + r
case HistoricalEventChangeHfStateReason_None :
return hf ( x . Hfid ) + " settled " + location ( x . SiteId , "in" , x . SubregionId , "in" )
}
case HistoricalEventChangeHfStateState_Visiting :
return hf ( x . Hfid ) + " visited " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateState_Wandering :
if x . SubregionId != - 1 {
return hf ( x . Hfid ) + " began wandering " + region ( x . SubregionId )
} else {
return hf ( x . Hfid ) + " began wandering the wilds"
2022-04-19 12:46:43 +03:00
}
}
2022-04-21 23:01:18 +03:00
switch x . Mood { // todo catatonic
case HistoricalEventChangeHfStateMood_Berserk :
return hf ( x . Hfid ) + " went berserk " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateMood_Fell :
return hf ( x . Hfid ) + " was taken by a fell mood " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateMood_Fey :
return hf ( x . Hfid ) + " was taken by a fey mood " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateMood_Insane :
return hf ( x . Hfid ) + " became crazed " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateMood_Macabre :
return hf ( x . Hfid ) + " began to skulk and brood " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateMood_Melancholy :
return hf ( x . Hfid ) + " was striken by melancholy " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateMood_Possessed :
return hf ( x . Hfid ) + " was posessed " + site ( x . SiteId , "in" ) + r
case HistoricalEventChangeHfStateMood_Secretive :
return hf ( x . Hfid ) + " withdrew from society " + site ( x . SiteId , "in" ) + r
}
2022-04-19 12:46:43 +03:00
return "UNKNWON HistoricalEventChangeHfState"
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventChangedCreatureType ) Html ( ) string {
return "UNKNWON HistoricalEventChangedCreatureType"
}
func ( x * HistoricalEventCompetition ) Html ( ) string { return "UNKNWON HistoricalEventCompetition" }
func ( x * HistoricalEventCreateEntityPosition ) Html ( ) string {
return "UNKNWON HistoricalEventCreateEntityPosition"
}
func ( x * HistoricalEventCreatedSite ) Html ( ) string { return "UNKNWON HistoricalEventCreatedSite" }
func ( x * HistoricalEventCreatedStructure ) Html ( ) string {
return "UNKNWON HistoricalEventCreatedStructure"
}
func ( x * HistoricalEventCreatedWorldConstruction ) Html ( ) string {
return "UNKNWON HistoricalEventCreatedWorldConstruction"
}
func ( x * HistoricalEventCreatureDevoured ) Html ( ) string {
return "UNKNWON HistoricalEventCreatureDevoured"
}
func ( x * HistoricalEventDanceFormCreated ) Html ( ) string {
return "UNKNWON HistoricalEventDanceFormCreated"
}
func ( x * HistoricalEventDestroyedSite ) Html ( ) string { return "UNKNWON HistoricalEventDestroyedSite" }
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventDiplomatLost ) Html ( ) string { return "UNKNWON HistoricalEventDiplomatLost" }
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventEntityAllianceFormed ) Html ( ) string {
return "UNKNWON HistoricalEventEntityAllianceFormed"
}
func ( x * HistoricalEventEntityBreachFeatureLayer ) Html ( ) string {
return "UNKNWON HistoricalEventEntityBreachFeatureLayer"
}
func ( x * HistoricalEventEntityCreated ) Html ( ) string { return "UNKNWON HistoricalEventEntityCreated" }
func ( x * HistoricalEventEntityDissolved ) Html ( ) string {
return "UNKNWON HistoricalEventEntityDissolved"
}
func ( x * HistoricalEventEntityEquipmentPurchase ) Html ( ) string {
return "UNKNWON HistoricalEventEntityEquipmentPurchase"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventEntityExpelsHf ) Html ( ) string { return "UNKNWON HistoricalEventEntityExpelsHf" }
func ( x * HistoricalEventEntityFledSite ) Html ( ) string { return "UNKNWON HistoricalEventEntityFledSite" }
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventEntityIncorporated ) Html ( ) string {
return "UNKNWON HistoricalEventEntityIncorporated"
}
func ( x * HistoricalEventEntityLaw ) Html ( ) string { return "UNKNWON HistoricalEventEntityLaw" }
func ( x * HistoricalEventEntityOverthrown ) Html ( ) string {
return "UNKNWON HistoricalEventEntityOverthrown"
}
func ( x * HistoricalEventEntityPersecuted ) Html ( ) string {
return "UNKNWON HistoricalEventEntityPersecuted"
}
func ( x * HistoricalEventEntityPrimaryCriminals ) Html ( ) string {
return "UNKNWON HistoricalEventEntityPrimaryCriminals"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventEntityRampagedInSite ) Html ( ) string {
return "UNKNWON HistoricalEventEntityRampagedInSite"
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventEntityRelocate ) Html ( ) string { return "UNKNWON HistoricalEventEntityRelocate" }
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventEntitySearchedSite ) Html ( ) string {
return "UNKNWON HistoricalEventEntitySearchedSite"
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventFailedFrameAttempt ) Html ( ) string {
return "UNKNWON HistoricalEventFailedFrameAttempt"
}
func ( x * HistoricalEventFailedIntrigueCorruption ) Html ( ) string {
return "UNKNWON HistoricalEventFailedIntrigueCorruption"
}
func ( x * HistoricalEventFieldBattle ) Html ( ) string { return "UNKNWON HistoricalEventFieldBattle" }
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventFirstContact ) Html ( ) string { return "UNKNWON HistoricalEventFirstContact" }
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventGamble ) Html ( ) string { return "UNKNWON HistoricalEventGamble" }
func ( x * HistoricalEventHfAbducted ) Html ( ) string { return "UNKNWON HistoricalEventHfAbducted" }
func ( x * HistoricalEventHfAttackedSite ) Html ( ) string { return "UNKNWON HistoricalEventHfAttackedSite" }
func ( x * HistoricalEventHfConfronted ) Html ( ) string { return "UNKNWON HistoricalEventHfConfronted" }
func ( x * HistoricalEventHfConvicted ) Html ( ) string { return "UNKNWON HistoricalEventHfConvicted" }
func ( x * HistoricalEventHfDestroyedSite ) Html ( ) string {
return "UNKNWON HistoricalEventHfDestroyedSite"
}
func ( x * HistoricalEventHfDied ) Html ( ) string { return "UNKNWON HistoricalEventHfDied" }
func ( x * HistoricalEventHfDisturbedStructure ) Html ( ) string {
return "UNKNWON HistoricalEventHfDisturbedStructure"
}
func ( x * HistoricalEventHfDoesInteraction ) Html ( ) string {
return "UNKNWON HistoricalEventHfDoesInteraction"
}
func ( x * HistoricalEventHfEnslaved ) Html ( ) string { return "UNKNWON HistoricalEventHfEnslaved" }
func ( x * HistoricalEventHfEquipmentPurchase ) Html ( ) string {
return "UNKNWON HistoricalEventHfEquipmentPurchase"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventHfFreed ) Html ( ) string { return "UNKNWON HistoricalEventHfFreed" }
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventHfGainsSecretGoal ) Html ( ) string {
return "UNKNWON HistoricalEventHfGainsSecretGoal"
}
func ( x * HistoricalEventHfInterrogated ) Html ( ) string { return "UNKNWON HistoricalEventHfInterrogated" }
func ( x * HistoricalEventHfLearnsSecret ) Html ( ) string { return "UNKNWON HistoricalEventHfLearnsSecret" }
func ( x * HistoricalEventHfNewPet ) Html ( ) string { return "UNKNWON HistoricalEventHfNewPet" }
func ( x * HistoricalEventHfPerformedHorribleExperiments ) Html ( ) string {
return "UNKNWON HistoricalEventHfPerformedHorribleExperiments"
}
func ( x * HistoricalEventHfPrayedInsideStructure ) Html ( ) string {
return "UNKNWON HistoricalEventHfPrayedInsideStructure"
}
func ( x * HistoricalEventHfPreach ) Html ( ) string { return "UNKNWON HistoricalEventHfPreach" }
func ( x * HistoricalEventHfProfanedStructure ) Html ( ) string {
return "UNKNWON HistoricalEventHfProfanedStructure"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventHfRansomed ) Html ( ) string { return "UNKNWON HistoricalEventHfRansomed" }
func ( x * HistoricalEventHfReachSummit ) Html ( ) string { return "UNKNWON HistoricalEventHfReachSummit" }
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventHfRecruitedUnitTypeForEntity ) Html ( ) string {
return "UNKNWON HistoricalEventHfRecruitedUnitTypeForEntity"
}
func ( x * HistoricalEventHfRelationshipDenied ) Html ( ) string {
return "UNKNWON HistoricalEventHfRelationshipDenied"
}
func ( x * HistoricalEventHfReunion ) Html ( ) string { return "UNKNWON HistoricalEventHfReunion" }
func ( x * HistoricalEventHfRevived ) Html ( ) string { return "UNKNWON HistoricalEventHfRevived" }
func ( x * HistoricalEventHfSimpleBattleEvent ) Html ( ) string {
return "UNKNWON HistoricalEventHfSimpleBattleEvent"
}
func ( x * HistoricalEventHfTravel ) Html ( ) string { return "UNKNWON HistoricalEventHfTravel" }
func ( x * HistoricalEventHfViewedArtifact ) Html ( ) string {
return "UNKNWON HistoricalEventHfViewedArtifact"
}
func ( x * HistoricalEventHfWounded ) Html ( ) string { return "UNKNWON HistoricalEventHfWounded" }
func ( x * HistoricalEventHfsFormedIntrigueRelationship ) Html ( ) string {
return "UNKNWON HistoricalEventHfsFormedIntrigueRelationship"
}
func ( x * HistoricalEventHfsFormedReputationRelationship ) Html ( ) string {
return "UNKNWON HistoricalEventHfsFormedReputationRelationship"
}
func ( x * HistoricalEventHolyCityDeclaration ) Html ( ) string {
return "UNKNWON HistoricalEventHolyCityDeclaration"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventInsurrectionStarted ) Html ( ) string {
return "UNKNWON HistoricalEventInsurrectionStarted"
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventItemStolen ) Html ( ) string { return "UNKNWON HistoricalEventItemStolen" }
func ( x * HistoricalEventKnowledgeDiscovered ) Html ( ) string {
return "UNKNWON HistoricalEventKnowledgeDiscovered"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventMasterpieceArchConstructed ) Html ( ) string {
return "UNKNWON HistoricalEventMasterpieceArchConstructed"
}
func ( x * HistoricalEventMasterpieceEngraving ) Html ( ) string {
return "UNKNWON HistoricalEventMasterpieceEngraving"
}
func ( x * HistoricalEventMasterpieceFood ) Html ( ) string {
return "UNKNWON HistoricalEventMasterpieceFood"
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventMasterpieceItem ) Html ( ) string {
return "UNKNWON HistoricalEventMasterpieceItem"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventMasterpieceItemImprovement ) Html ( ) string {
return "UNKNWON HistoricalEventMasterpieceItemImprovement"
}
func ( x * HistoricalEventMasterpieceLost ) Html ( ) string {
return "UNKNWON HistoricalEventMasterpieceLost"
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventMerchant ) Html ( ) string { return "UNKNWON HistoricalEventMerchant" }
func ( x * HistoricalEventModifiedBuilding ) Html ( ) string {
return "UNKNWON HistoricalEventModifiedBuilding"
}
func ( x * HistoricalEventMusicalFormCreated ) Html ( ) string {
return "UNKNWON HistoricalEventMusicalFormCreated"
}
func ( x * HistoricalEventNewSiteLeader ) Html ( ) string { return "UNKNWON HistoricalEventNewSiteLeader" }
func ( x * HistoricalEventPeaceAccepted ) Html ( ) string { return "UNKNWON HistoricalEventPeaceAccepted" }
func ( x * HistoricalEventPeaceRejected ) Html ( ) string { return "UNKNWON HistoricalEventPeaceRejected" }
func ( x * HistoricalEventPerformance ) Html ( ) string { return "UNKNWON HistoricalEventPerformance" }
func ( x * HistoricalEventPlunderedSite ) Html ( ) string { return "UNKNWON HistoricalEventPlunderedSite" }
func ( x * HistoricalEventPoeticFormCreated ) Html ( ) string {
return "UNKNWON HistoricalEventPoeticFormCreated"
}
func ( x * HistoricalEventProcession ) Html ( ) string { return "UNKNWON HistoricalEventProcession" }
func ( x * HistoricalEventRazedStructure ) Html ( ) string { return "UNKNWON HistoricalEventRazedStructure" }
func ( x * HistoricalEventReclaimSite ) Html ( ) string { return "UNKNWON HistoricalEventReclaimSite" }
func ( x * HistoricalEventRegionpopIncorporatedIntoEntity ) Html ( ) string {
return "UNKNWON HistoricalEventRegionpopIncorporatedIntoEntity"
}
func ( x * HistoricalEventRemoveHfEntityLink ) Html ( ) string {
return "UNKNWON HistoricalEventRemoveHfEntityLink"
}
func ( x * HistoricalEventRemoveHfHfLink ) Html ( ) string { return "UNKNWON HistoricalEventRemoveHfHfLink" }
func ( x * HistoricalEventRemoveHfSiteLink ) Html ( ) string {
return "UNKNWON HistoricalEventRemoveHfSiteLink"
}
func ( x * HistoricalEventReplacedStructure ) Html ( ) string {
return "UNKNWON HistoricalEventReplacedStructure"
}
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventSiteDied ) Html ( ) string { return "UNKNWON HistoricalEventSiteDied" }
func ( x * HistoricalEventSiteDispute ) Html ( ) string { return "UNKNWON HistoricalEventSiteDispute" }
func ( x * HistoricalEventSiteRetired ) Html ( ) string { return "UNKNWON HistoricalEventSiteRetired" }
func ( x * HistoricalEventSiteSurrendered ) Html ( ) string {
return "UNKNWON HistoricalEventSiteSurrendered"
}
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventSiteTakenOver ) Html ( ) string { return "UNKNWON HistoricalEventSiteTakenOver" }
2022-04-18 13:13:38 +03:00
func ( x * HistoricalEventSiteTributeForced ) Html ( ) string {
return "UNKNWON HistoricalEventSiteTributeForced"
}
func ( x * HistoricalEventSneakIntoSite ) Html ( ) string { return "UNKNWON HistoricalEventSneakIntoSite" }
func ( x * HistoricalEventSpottedLeavingSite ) Html ( ) string {
return "UNKNWON HistoricalEventSpottedLeavingSite"
}
func ( x * HistoricalEventSquadVsSquad ) Html ( ) string { return "UNKNWON HistoricalEventSquadVsSquad" }
2022-04-18 11:36:29 +03:00
func ( x * HistoricalEventTacticalSituation ) Html ( ) string {
return "UNKNWON HistoricalEventTacticalSituation"
}
func ( x * HistoricalEventTrade ) Html ( ) string { return "UNKNWON HistoricalEventTrade" }
func ( x * HistoricalEventWrittenContentComposed ) Html ( ) string {
return "UNKNWON HistoricalEventWrittenContentComposed"
}