sabotage events, fixes #7
This commit is contained in:
parent
8810a1bd6e
commit
435d509b9d
|
@ -5393,6 +5393,8 @@
|
||||||
"HUMAN": true,
|
"HUMAN": true,
|
||||||
"KOBOLD": true,
|
"KOBOLD": true,
|
||||||
"REPTILE_MAN": true,
|
"REPTILE_MAN": true,
|
||||||
|
"SERPENT_MAN": true,
|
||||||
|
"TROLL": true,
|
||||||
"amphibian man": true,
|
"amphibian man": true,
|
||||||
"cave dragon": true,
|
"cave dragon": true,
|
||||||
"cave fish man": true,
|
"cave fish man": true,
|
||||||
|
@ -7314,6 +7316,7 @@
|
||||||
"disorderly conduct": true,
|
"disorderly conduct": true,
|
||||||
"embezzlement": true,
|
"embezzlement": true,
|
||||||
"espionage": true,
|
"espionage": true,
|
||||||
|
"kidnapping": true,
|
||||||
"murder": true,
|
"murder": true,
|
||||||
"theft": true,
|
"theft": true,
|
||||||
"treason": true,
|
"treason": true,
|
||||||
|
@ -7764,7 +7767,8 @@
|
||||||
"Values": {
|
"Values": {
|
||||||
"DEFAULT": true,
|
"DEFAULT": true,
|
||||||
"FEMALE": true,
|
"FEMALE": true,
|
||||||
"MALE": true
|
"MALE": true,
|
||||||
|
"WORKER": true
|
||||||
},
|
},
|
||||||
"Enum": true
|
"Enum": true
|
||||||
},
|
},
|
||||||
|
@ -10040,13 +10044,18 @@
|
||||||
"mathematics:numbers:sieve algorithm for primes": true,
|
"mathematics:numbers:sieve algorithm for primes": true,
|
||||||
"mathematics:numbers:unique prime factorization": true,
|
"mathematics:numbers:unique prime factorization": true,
|
||||||
"medicine:method:anesthesia": true,
|
"medicine:method:anesthesia": true,
|
||||||
|
"medicine:method:asylum for mentally ill": true,
|
||||||
"medicine:method:autopsy": true,
|
"medicine:method:autopsy": true,
|
||||||
|
"medicine:method:cataract surgery": true,
|
||||||
"medicine:method:cauterization": true,
|
"medicine:method:cauterization": true,
|
||||||
"medicine:method:fracture immobilization": true,
|
"medicine:method:fracture immobilization": true,
|
||||||
"medicine:method:fracture treatment": true,
|
"medicine:method:fracture treatment": true,
|
||||||
"medicine:method:hernia surgery": true,
|
"medicine:method:hernia surgery": true,
|
||||||
|
"medicine:method:hospital lab": true,
|
||||||
"medicine:method:lithotomy surgery": true,
|
"medicine:method:lithotomy surgery": true,
|
||||||
|
"medicine:method:medical school": true,
|
||||||
"medicine:method:physical examination": true,
|
"medicine:method:physical examination": true,
|
||||||
|
"medicine:method:professional hospital staff": true,
|
||||||
"medicine:method:specialized wards": true,
|
"medicine:method:specialized wards": true,
|
||||||
"medicine:method:surgery draining": true,
|
"medicine:method:surgery draining": true,
|
||||||
"medicine:method:surgery excision": true,
|
"medicine:method:surgery excision": true,
|
||||||
|
@ -10078,6 +10087,8 @@
|
||||||
"medicine:theory:prognosis": true,
|
"medicine:theory:prognosis": true,
|
||||||
"medicine:theory:pulmonary circulation": true,
|
"medicine:theory:pulmonary circulation": true,
|
||||||
"medicine:theory:pulmonary medicine": true,
|
"medicine:theory:pulmonary medicine": true,
|
||||||
|
"medicine:theory:reaction time": true,
|
||||||
|
"medicine:theory:relapse": true,
|
||||||
"medicine:theory:specialized surgical instruments": true,
|
"medicine:theory:specialized surgical instruments": true,
|
||||||
"medicine:theory:surgical models": true,
|
"medicine:theory:surgical models": true,
|
||||||
"medicine:theory:the voice": true,
|
"medicine:theory:the voice": true,
|
||||||
|
@ -10091,10 +10102,12 @@
|
||||||
"medicine:tool:herbal remedies": true,
|
"medicine:tool:herbal remedies": true,
|
||||||
"medicine:tool:mineral remedies": true,
|
"medicine:tool:mineral remedies": true,
|
||||||
"medicine:tool:mud bags as surgical models": true,
|
"medicine:tool:mud bags as surgical models": true,
|
||||||
|
"medicine:tool:orthopedic cast": true,
|
||||||
"medicine:tool:plants as surgical models": true,
|
"medicine:tool:plants as surgical models": true,
|
||||||
"medicine:tool:scalpel": true,
|
"medicine:tool:scalpel": true,
|
||||||
"medicine:tool:surgical needles": true,
|
"medicine:tool:surgical needles": true,
|
||||||
"medicine:tool:surgical scissors": true,
|
"medicine:tool:surgical scissors": true,
|
||||||
|
"medicine:tool:traction bench": true,
|
||||||
"naturalist:method:dissection": true,
|
"naturalist:method:dissection": true,
|
||||||
"naturalist:observation:anatomy": true,
|
"naturalist:observation:anatomy": true,
|
||||||
"naturalist:observation:diseases": true,
|
"naturalist:observation:diseases": true,
|
||||||
|
@ -11866,6 +11879,33 @@
|
||||||
"Values": {},
|
"Values": {},
|
||||||
"Enum": true
|
"Enum": true
|
||||||
},
|
},
|
||||||
|
"df_world|historical_events|historical_event+Sabotage|saboteur_hfid": {
|
||||||
|
"IsString": false,
|
||||||
|
"NoBool": true,
|
||||||
|
"Multiple": false,
|
||||||
|
"Base": true,
|
||||||
|
"Plus": false,
|
||||||
|
"Values": {},
|
||||||
|
"Enum": true
|
||||||
|
},
|
||||||
|
"df_world|historical_events|historical_event+Sabotage|site_id": {
|
||||||
|
"IsString": false,
|
||||||
|
"NoBool": true,
|
||||||
|
"Multiple": false,
|
||||||
|
"Base": true,
|
||||||
|
"Plus": false,
|
||||||
|
"Values": {},
|
||||||
|
"Enum": true
|
||||||
|
},
|
||||||
|
"df_world|historical_events|historical_event+Sabotage|target_hfid": {
|
||||||
|
"IsString": false,
|
||||||
|
"NoBool": true,
|
||||||
|
"Multiple": false,
|
||||||
|
"Base": true,
|
||||||
|
"Plus": false,
|
||||||
|
"Values": {},
|
||||||
|
"Enum": true
|
||||||
|
},
|
||||||
"df_world|historical_events|historical_event+SiteDied|abandoned": {
|
"df_world|historical_events|historical_event+SiteDied|abandoned": {
|
||||||
"IsString": true,
|
"IsString": true,
|
||||||
"NoBool": false,
|
"NoBool": false,
|
||||||
|
@ -13236,6 +13276,7 @@
|
||||||
"former apprentice": true,
|
"former apprentice": true,
|
||||||
"former master": true,
|
"former master": true,
|
||||||
"former spouse": true,
|
"former spouse": true,
|
||||||
|
"imprisoner": true,
|
||||||
"lover": true,
|
"lover": true,
|
||||||
"master": true,
|
"master": true,
|
||||||
"mother": true,
|
"mother": true,
|
||||||
|
@ -14101,6 +14142,7 @@
|
||||||
"home structure": true,
|
"home structure": true,
|
||||||
"lair": true,
|
"lair": true,
|
||||||
"occupation": true,
|
"occupation": true,
|
||||||
|
"prison building profile": true,
|
||||||
"seat of power": true
|
"seat of power": true
|
||||||
},
|
},
|
||||||
"Enum": true
|
"Enum": true
|
||||||
|
@ -16260,6 +16302,11 @@
|
||||||
"base": "replaced structure",
|
"base": "replaced structure",
|
||||||
"plus": "replaced_building"
|
"plus": "replaced_building"
|
||||||
},
|
},
|
||||||
|
"Sabotage": {
|
||||||
|
"name": "Sabotage",
|
||||||
|
"base": "sabotage",
|
||||||
|
"plus": ""
|
||||||
|
},
|
||||||
"SiteDied": {
|
"SiteDied": {
|
||||||
"name": "SiteDied",
|
"name": "SiteDied",
|
||||||
"base": "site died",
|
"base": "site died",
|
||||||
|
|
|
@ -2213,3 +2213,7 @@ func (x *HistoricalEventWrittenContentComposed) Html(c *Context) string {
|
||||||
}
|
}
|
||||||
return c.writtenContent(x.WcId) + " was authored by " + c.hf(x.HistFigureId) + c.location(x.SiteId, " in", x.SubregionId, " in") + reason + circumstance
|
return c.writtenContent(x.WcId) + " was authored by " + c.hf(x.HistFigureId) + c.location(x.SiteId, " in", x.SubregionId, " in") + reason + circumstance
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *HistoricalEventSabotage) Html(c *Context) string {
|
||||||
|
return c.hf(x.SaboteurHfid) + " sabotaged the activities of " + c.hfRelated(x.TargetHfid, x.SaboteurHfid) + c.site(x.SiteId, " at")
|
||||||
|
}
|
||||||
|
|
|
@ -1015,6 +1015,7 @@ func InitSameFields() {
|
||||||
"SiteId": true,
|
"SiteId": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"HistoricalEventSabotage": {},
|
||||||
"HistoricalEventSiteDied": {},
|
"HistoricalEventSiteDied": {},
|
||||||
"HistoricalEventSiteDispute": {},
|
"HistoricalEventSiteDispute": {},
|
||||||
"HistoricalEventSiteRetired": {},
|
"HistoricalEventSiteRetired": {},
|
||||||
|
@ -2576,6 +2577,7 @@ const (
|
||||||
HfLinkLinkType_FormerApprentice
|
HfLinkLinkType_FormerApprentice
|
||||||
HfLinkLinkType_FormerMaster
|
HfLinkLinkType_FormerMaster
|
||||||
HfLinkLinkType_FormerSpouse
|
HfLinkLinkType_FormerSpouse
|
||||||
|
HfLinkLinkType_Imprisoner
|
||||||
HfLinkLinkType_Lover
|
HfLinkLinkType_Lover
|
||||||
HfLinkLinkType_Master
|
HfLinkLinkType_Master
|
||||||
HfLinkLinkType_Mother
|
HfLinkLinkType_Mother
|
||||||
|
@ -2604,6 +2606,8 @@ func parseHfLinkLinkType(s string) HfLinkLinkType {
|
||||||
return HfLinkLinkType_FormerMaster
|
return HfLinkLinkType_FormerMaster
|
||||||
case "former spouse":
|
case "former spouse":
|
||||||
return HfLinkLinkType_FormerSpouse
|
return HfLinkLinkType_FormerSpouse
|
||||||
|
case "imprisoner":
|
||||||
|
return HfLinkLinkType_Imprisoner
|
||||||
case "lover":
|
case "lover":
|
||||||
return HfLinkLinkType_Lover
|
return HfLinkLinkType_Lover
|
||||||
case "master":
|
case "master":
|
||||||
|
@ -2640,6 +2644,8 @@ func (s HfLinkLinkType) String() string {
|
||||||
return "former master"
|
return "former master"
|
||||||
case HfLinkLinkType_FormerSpouse:
|
case HfLinkLinkType_FormerSpouse:
|
||||||
return "former spouse"
|
return "former spouse"
|
||||||
|
case HfLinkLinkType_Imprisoner:
|
||||||
|
return "imprisoner"
|
||||||
case HfLinkLinkType_Lover:
|
case HfLinkLinkType_Lover:
|
||||||
return "lover"
|
return "lover"
|
||||||
case HfLinkLinkType_Master:
|
case HfLinkLinkType_Master:
|
||||||
|
@ -9680,6 +9686,7 @@ const (
|
||||||
HistoricalEventHfConvictedCrime_DisorderlyConduct
|
HistoricalEventHfConvictedCrime_DisorderlyConduct
|
||||||
HistoricalEventHfConvictedCrime_Embezzlement
|
HistoricalEventHfConvictedCrime_Embezzlement
|
||||||
HistoricalEventHfConvictedCrime_Espionage
|
HistoricalEventHfConvictedCrime_Espionage
|
||||||
|
HistoricalEventHfConvictedCrime_Kidnapping
|
||||||
HistoricalEventHfConvictedCrime_Murder
|
HistoricalEventHfConvictedCrime_Murder
|
||||||
HistoricalEventHfConvictedCrime_Theft
|
HistoricalEventHfConvictedCrime_Theft
|
||||||
HistoricalEventHfConvictedCrime_Treason
|
HistoricalEventHfConvictedCrime_Treason
|
||||||
|
@ -9704,6 +9711,8 @@ func parseHistoricalEventHfConvictedCrime(s string) HistoricalEventHfConvictedCr
|
||||||
return HistoricalEventHfConvictedCrime_Embezzlement
|
return HistoricalEventHfConvictedCrime_Embezzlement
|
||||||
case "espionage":
|
case "espionage":
|
||||||
return HistoricalEventHfConvictedCrime_Espionage
|
return HistoricalEventHfConvictedCrime_Espionage
|
||||||
|
case "kidnapping":
|
||||||
|
return HistoricalEventHfConvictedCrime_Kidnapping
|
||||||
case "murder":
|
case "murder":
|
||||||
return HistoricalEventHfConvictedCrime_Murder
|
return HistoricalEventHfConvictedCrime_Murder
|
||||||
case "theft":
|
case "theft":
|
||||||
|
@ -9734,6 +9743,8 @@ func (s HistoricalEventHfConvictedCrime) String() string {
|
||||||
return "embezzlement"
|
return "embezzlement"
|
||||||
case HistoricalEventHfConvictedCrime_Espionage:
|
case HistoricalEventHfConvictedCrime_Espionage:
|
||||||
return "espionage"
|
return "espionage"
|
||||||
|
case HistoricalEventHfConvictedCrime_Kidnapping:
|
||||||
|
return "kidnapping"
|
||||||
case HistoricalEventHfConvictedCrime_Murder:
|
case HistoricalEventHfConvictedCrime_Murder:
|
||||||
return "murder"
|
return "murder"
|
||||||
case HistoricalEventHfConvictedCrime_Theft:
|
case HistoricalEventHfConvictedCrime_Theft:
|
||||||
|
@ -13797,13 +13808,18 @@ const (
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MathematicsNumbersSieveAlgorithmForPrimes
|
HistoricalEventKnowledgeDiscoveredKnowledge_MathematicsNumbersSieveAlgorithmForPrimes
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MathematicsNumbersUniquePrimeFactorization
|
HistoricalEventKnowledgeDiscoveredKnowledge_MathematicsNumbersUniquePrimeFactorization
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAnesthesia
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAnesthesia
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAsylumForMentallyIll
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAutopsy
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAutopsy
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCataractSurgery
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCauterization
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCauterization
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureImmobilization
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureImmobilization
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureTreatment
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureTreatment
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHerniaSurgery
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHerniaSurgery
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHospitalLab
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodLithotomySurgery
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodLithotomySurgery
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodMedicalSchool
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodPhysicalExamination
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodPhysicalExamination
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodProfessionalHospitalStaff
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSpecializedWards
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSpecializedWards
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSurgeryDraining
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSurgeryDraining
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSurgeryExcision
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSurgeryExcision
|
||||||
|
@ -13835,6 +13851,8 @@ const (
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPrognosis
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPrognosis
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryCirculation
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryCirculation
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryMedicine
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryMedicine
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryReactionTime
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryRelapse
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySpecializedSurgicalInstruments
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySpecializedSurgicalInstruments
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySurgicalModels
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySurgicalModels
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryTheVoice
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryTheVoice
|
||||||
|
@ -13848,10 +13866,12 @@ const (
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolHerbalRemedies
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolHerbalRemedies
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMineralRemedies
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMineralRemedies
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMudBagsAsSurgicalModels
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMudBagsAsSurgicalModels
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolOrthopedicCast
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolPlantsAsSurgicalModels
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolPlantsAsSurgicalModels
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolScalpel
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolScalpel
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalNeedles
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalNeedles
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalScissors
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalScissors
|
||||||
|
HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolTractionBench
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistMethodDissection
|
HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistMethodDissection
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistObservationAnatomy
|
HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistObservationAnatomy
|
||||||
HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistObservationDiseases
|
HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistObservationDiseases
|
||||||
|
@ -14245,8 +14265,12 @@ func parseHistoricalEventKnowledgeDiscoveredKnowledge(s string) HistoricalEventK
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MathematicsNumbersUniquePrimeFactorization
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MathematicsNumbersUniquePrimeFactorization
|
||||||
case "medicine:method:anesthesia":
|
case "medicine:method:anesthesia":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAnesthesia
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAnesthesia
|
||||||
|
case "medicine:method:asylum for mentally ill":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAsylumForMentallyIll
|
||||||
case "medicine:method:autopsy":
|
case "medicine:method:autopsy":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAutopsy
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAutopsy
|
||||||
|
case "medicine:method:cataract surgery":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCataractSurgery
|
||||||
case "medicine:method:cauterization":
|
case "medicine:method:cauterization":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCauterization
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCauterization
|
||||||
case "medicine:method:fracture immobilization":
|
case "medicine:method:fracture immobilization":
|
||||||
|
@ -14255,10 +14279,16 @@ func parseHistoricalEventKnowledgeDiscoveredKnowledge(s string) HistoricalEventK
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureTreatment
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureTreatment
|
||||||
case "medicine:method:hernia surgery":
|
case "medicine:method:hernia surgery":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHerniaSurgery
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHerniaSurgery
|
||||||
|
case "medicine:method:hospital lab":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHospitalLab
|
||||||
case "medicine:method:lithotomy surgery":
|
case "medicine:method:lithotomy surgery":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodLithotomySurgery
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodLithotomySurgery
|
||||||
|
case "medicine:method:medical school":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodMedicalSchool
|
||||||
case "medicine:method:physical examination":
|
case "medicine:method:physical examination":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodPhysicalExamination
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodPhysicalExamination
|
||||||
|
case "medicine:method:professional hospital staff":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodProfessionalHospitalStaff
|
||||||
case "medicine:method:specialized wards":
|
case "medicine:method:specialized wards":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSpecializedWards
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSpecializedWards
|
||||||
case "medicine:method:surgery draining":
|
case "medicine:method:surgery draining":
|
||||||
|
@ -14321,6 +14351,10 @@ func parseHistoricalEventKnowledgeDiscoveredKnowledge(s string) HistoricalEventK
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryCirculation
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryCirculation
|
||||||
case "medicine:theory:pulmonary medicine":
|
case "medicine:theory:pulmonary medicine":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryMedicine
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryMedicine
|
||||||
|
case "medicine:theory:reaction time":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryReactionTime
|
||||||
|
case "medicine:theory:relapse":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryRelapse
|
||||||
case "medicine:theory:specialized surgical instruments":
|
case "medicine:theory:specialized surgical instruments":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySpecializedSurgicalInstruments
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySpecializedSurgicalInstruments
|
||||||
case "medicine:theory:surgical models":
|
case "medicine:theory:surgical models":
|
||||||
|
@ -14347,6 +14381,8 @@ func parseHistoricalEventKnowledgeDiscoveredKnowledge(s string) HistoricalEventK
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMineralRemedies
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMineralRemedies
|
||||||
case "medicine:tool:mud bags as surgical models":
|
case "medicine:tool:mud bags as surgical models":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMudBagsAsSurgicalModels
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMudBagsAsSurgicalModels
|
||||||
|
case "medicine:tool:orthopedic cast":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolOrthopedicCast
|
||||||
case "medicine:tool:plants as surgical models":
|
case "medicine:tool:plants as surgical models":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolPlantsAsSurgicalModels
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolPlantsAsSurgicalModels
|
||||||
case "medicine:tool:scalpel":
|
case "medicine:tool:scalpel":
|
||||||
|
@ -14355,6 +14391,8 @@ func parseHistoricalEventKnowledgeDiscoveredKnowledge(s string) HistoricalEventK
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalNeedles
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalNeedles
|
||||||
case "medicine:tool:surgical scissors":
|
case "medicine:tool:surgical scissors":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalScissors
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalScissors
|
||||||
|
case "medicine:tool:traction bench":
|
||||||
|
return HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolTractionBench
|
||||||
case "naturalist:method:dissection":
|
case "naturalist:method:dissection":
|
||||||
return HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistMethodDissection
|
return HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistMethodDissection
|
||||||
case "naturalist:observation:anatomy":
|
case "naturalist:observation:anatomy":
|
||||||
|
@ -14799,8 +14837,12 @@ func (s HistoricalEventKnowledgeDiscoveredKnowledge) String() string {
|
||||||
return "mathematics numbers unique prime factorization"
|
return "mathematics numbers unique prime factorization"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAnesthesia:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAnesthesia:
|
||||||
return "medicine method anesthesia"
|
return "medicine method anesthesia"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAsylumForMentallyIll:
|
||||||
|
return "medicine method asylum for mentally ill"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAutopsy:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodAutopsy:
|
||||||
return "medicine method autopsy"
|
return "medicine method autopsy"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCataractSurgery:
|
||||||
|
return "medicine method cataract surgery"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCauterization:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodCauterization:
|
||||||
return "medicine method cauterization"
|
return "medicine method cauterization"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureImmobilization:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodFractureImmobilization:
|
||||||
|
@ -14809,10 +14851,16 @@ func (s HistoricalEventKnowledgeDiscoveredKnowledge) String() string {
|
||||||
return "medicine method fracture treatment"
|
return "medicine method fracture treatment"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHerniaSurgery:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHerniaSurgery:
|
||||||
return "medicine method hernia surgery"
|
return "medicine method hernia surgery"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodHospitalLab:
|
||||||
|
return "medicine method hospital lab"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodLithotomySurgery:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodLithotomySurgery:
|
||||||
return "medicine method lithotomy surgery"
|
return "medicine method lithotomy surgery"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodMedicalSchool:
|
||||||
|
return "medicine method medical school"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodPhysicalExamination:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodPhysicalExamination:
|
||||||
return "medicine method physical examination"
|
return "medicine method physical examination"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodProfessionalHospitalStaff:
|
||||||
|
return "medicine method professional hospital staff"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSpecializedWards:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSpecializedWards:
|
||||||
return "medicine method specialized wards"
|
return "medicine method specialized wards"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSurgeryDraining:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineMethodSurgeryDraining:
|
||||||
|
@ -14875,6 +14923,10 @@ func (s HistoricalEventKnowledgeDiscoveredKnowledge) String() string {
|
||||||
return "medicine theory pulmonary circulation"
|
return "medicine theory pulmonary circulation"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryMedicine:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryPulmonaryMedicine:
|
||||||
return "medicine theory pulmonary medicine"
|
return "medicine theory pulmonary medicine"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryReactionTime:
|
||||||
|
return "medicine theory reaction time"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheoryRelapse:
|
||||||
|
return "medicine theory relapse"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySpecializedSurgicalInstruments:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySpecializedSurgicalInstruments:
|
||||||
return "medicine theory specialized surgical instruments"
|
return "medicine theory specialized surgical instruments"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySurgicalModels:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineTheorySurgicalModels:
|
||||||
|
@ -14901,6 +14953,8 @@ func (s HistoricalEventKnowledgeDiscoveredKnowledge) String() string {
|
||||||
return "medicine tool mineral remedies"
|
return "medicine tool mineral remedies"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMudBagsAsSurgicalModels:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolMudBagsAsSurgicalModels:
|
||||||
return "medicine tool mud bags as surgical models"
|
return "medicine tool mud bags as surgical models"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolOrthopedicCast:
|
||||||
|
return "medicine tool orthopedic cast"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolPlantsAsSurgicalModels:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolPlantsAsSurgicalModels:
|
||||||
return "medicine tool plants as surgical models"
|
return "medicine tool plants as surgical models"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolScalpel:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolScalpel:
|
||||||
|
@ -14909,6 +14963,8 @@ func (s HistoricalEventKnowledgeDiscoveredKnowledge) String() string {
|
||||||
return "medicine tool surgical needles"
|
return "medicine tool surgical needles"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalScissors:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolSurgicalScissors:
|
||||||
return "medicine tool surgical scissors"
|
return "medicine tool surgical scissors"
|
||||||
|
case HistoricalEventKnowledgeDiscoveredKnowledge_MedicineToolTractionBench:
|
||||||
|
return "medicine tool traction bench"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistMethodDissection:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistMethodDissection:
|
||||||
return "naturalist method dissection"
|
return "naturalist method dissection"
|
||||||
case HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistObservationAnatomy:
|
case HistoricalEventKnowledgeDiscoveredKnowledge_NaturalistObservationAnatomy:
|
||||||
|
@ -17954,6 +18010,53 @@ func (x *HistoricalEventReplacedStructure) MarshalJSON() ([]byte, error) {
|
||||||
return json.Marshal(d)
|
return json.Marshal(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type HistoricalEventSabotage struct {
|
||||||
|
SaboteurHfid int `json:"saboteurHfid" legend:"base" related:""` // saboteur_hfid
|
||||||
|
SiteId int `json:"siteId" legend:"base" related:""` // site_id
|
||||||
|
TargetHfid int `json:"targetHfid" legend:"base" related:""` // target_hfid
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewHistoricalEventSabotage() *HistoricalEventSabotage {
|
||||||
|
return &HistoricalEventSabotage{
|
||||||
|
SaboteurHfid: -1,
|
||||||
|
SiteId: -1,
|
||||||
|
TargetHfid: -1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func (x *HistoricalEventSabotage) Type() string { return "sabotage" }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToEntity(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToHf(id int) bool {
|
||||||
|
return x.SaboteurHfid == id || x.TargetHfid == id
|
||||||
|
}
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToArtifact(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToSite(id int) bool { return x.SiteId == id }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToStructure(siteId, id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToRegion(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToWorldConstruction(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToWrittenContent(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToDanceForm(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToMusicalForm(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToPoeticForm(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToMountain(id int) bool { return false }
|
||||||
|
func (x *HistoricalEventSabotage) RelatedToIdentity(id int) bool { return false }
|
||||||
|
|
||||||
|
func (x *HistoricalEventSabotage) CheckFields() {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HistoricalEventSabotage) MarshalJSON() ([]byte, error) {
|
||||||
|
d := make(map[string]any)
|
||||||
|
if x.SaboteurHfid != -1 {
|
||||||
|
d["saboteurHfid"] = x.SaboteurHfid
|
||||||
|
}
|
||||||
|
if x.SiteId != -1 {
|
||||||
|
d["siteId"] = x.SiteId
|
||||||
|
}
|
||||||
|
if x.TargetHfid != -1 {
|
||||||
|
d["targetHfid"] = x.TargetHfid
|
||||||
|
}
|
||||||
|
return json.Marshal(d)
|
||||||
|
}
|
||||||
|
|
||||||
type HistoricalEventSiteDied struct {
|
type HistoricalEventSiteDied struct {
|
||||||
Abandoned bool `json:"abandoned" legend:"base" related:""` // abandoned
|
Abandoned bool `json:"abandoned" legend:"base" related:""` // abandoned
|
||||||
CivId int `json:"civId" legend:"base" related:""` // civ_id
|
CivId int `json:"civId" legend:"base" related:""` // civ_id
|
||||||
|
@ -21351,6 +21454,7 @@ const (
|
||||||
SiteLinkLinkType_HomeStructure
|
SiteLinkLinkType_HomeStructure
|
||||||
SiteLinkLinkType_Lair
|
SiteLinkLinkType_Lair
|
||||||
SiteLinkLinkType_Occupation
|
SiteLinkLinkType_Occupation
|
||||||
|
SiteLinkLinkType_PrisonBuildingProfile
|
||||||
SiteLinkLinkType_SeatOfPower
|
SiteLinkLinkType_SeatOfPower
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -21370,6 +21474,8 @@ func parseSiteLinkLinkType(s string) SiteLinkLinkType {
|
||||||
return SiteLinkLinkType_Lair
|
return SiteLinkLinkType_Lair
|
||||||
case "occupation":
|
case "occupation":
|
||||||
return SiteLinkLinkType_Occupation
|
return SiteLinkLinkType_Occupation
|
||||||
|
case "prison building profile":
|
||||||
|
return SiteLinkLinkType_PrisonBuildingProfile
|
||||||
case "seat of power":
|
case "seat of power":
|
||||||
return SiteLinkLinkType_SeatOfPower
|
return SiteLinkLinkType_SeatOfPower
|
||||||
}
|
}
|
||||||
|
@ -21392,6 +21498,8 @@ func (s SiteLinkLinkType) String() string {
|
||||||
return "lair"
|
return "lair"
|
||||||
case SiteLinkLinkType_Occupation:
|
case SiteLinkLinkType_Occupation:
|
||||||
return "occupation"
|
return "occupation"
|
||||||
|
case SiteLinkLinkType_PrisonBuildingProfile:
|
||||||
|
return "prison building profile"
|
||||||
case SiteLinkLinkType_SeatOfPower:
|
case SiteLinkLinkType_SeatOfPower:
|
||||||
return "seat of power"
|
return "seat of power"
|
||||||
}
|
}
|
||||||
|
@ -24803,6 +24911,8 @@ func parseHistoricalEvent(p *util.XMLParser) (*HistoricalEvent, error) {
|
||||||
obj.Details, err = parseHistoricalEventRemoveHfSiteLink(p)
|
obj.Details, err = parseHistoricalEventRemoveHfSiteLink(p)
|
||||||
case "replaced structure":
|
case "replaced structure":
|
||||||
obj.Details, err = parseHistoricalEventReplacedStructure(p)
|
obj.Details, err = parseHistoricalEventReplacedStructure(p)
|
||||||
|
case "sabotage":
|
||||||
|
obj.Details, err = parseHistoricalEventSabotage(p)
|
||||||
case "site died":
|
case "site died":
|
||||||
obj.Details, err = parseHistoricalEventSiteDied(p)
|
obj.Details, err = parseHistoricalEventSiteDied(p)
|
||||||
case "site dispute":
|
case "site dispute":
|
||||||
|
@ -37344,6 +37454,70 @@ func parseHistoricalEventReplacedStructurePlus(p *util.XMLParser, obj *Historica
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
func parseHistoricalEventSabotage(p *util.XMLParser) (*HistoricalEventSabotage, error) {
|
||||||
|
var obj = NewHistoricalEventSabotage()
|
||||||
|
|
||||||
|
for {
|
||||||
|
t, n, err := p.Token()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
switch t {
|
||||||
|
case util.StartElement:
|
||||||
|
switch n {
|
||||||
|
case "saboteur_hfid":
|
||||||
|
data, err := p.Value()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
obj.SaboteurHfid = num(data)
|
||||||
|
case "site_id":
|
||||||
|
data, err := p.Value()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
obj.SiteId = num(data)
|
||||||
|
case "target_hfid":
|
||||||
|
data, err := p.Value()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
obj.TargetHfid = num(data)
|
||||||
|
default:
|
||||||
|
// fmt.Println("unknown field", n)
|
||||||
|
p.Skip()
|
||||||
|
}
|
||||||
|
|
||||||
|
case util.EndElement:
|
||||||
|
obj.CheckFields()
|
||||||
|
return obj, nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func parseHistoricalEventSabotagePlus(p *util.XMLParser, obj *HistoricalEventSabotage) (*HistoricalEventSabotage, error) {
|
||||||
|
if obj == nil {
|
||||||
|
obj = NewHistoricalEventSabotage()
|
||||||
|
}
|
||||||
|
|
||||||
|
for {
|
||||||
|
t, n, err := p.Token()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
switch t {
|
||||||
|
case util.StartElement:
|
||||||
|
switch n {
|
||||||
|
default:
|
||||||
|
// fmt.Println("unknown field", n)
|
||||||
|
p.Skip()
|
||||||
|
}
|
||||||
|
|
||||||
|
case util.EndElement:
|
||||||
|
obj.CheckFields()
|
||||||
|
return obj, nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
func parseHistoricalEventSiteDied(p *util.XMLParser) (*HistoricalEventSiteDied, error) {
|
func parseHistoricalEventSiteDied(p *util.XMLParser) (*HistoricalEventSiteDied, error) {
|
||||||
var obj = NewHistoricalEventSiteDied()
|
var obj = NewHistoricalEventSiteDied()
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
@ -10,7 +11,10 @@ import (
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var CheckAfterLoading = false
|
||||||
|
|
||||||
func (w *DfWorld) process() {
|
func (w *DfWorld) process() {
|
||||||
|
fmt.Println("\nprocessing...")
|
||||||
for id, r := range w.Rivers {
|
for id, r := range w.Rivers {
|
||||||
r.Id_ = id
|
r.Id_ = id
|
||||||
}
|
}
|
||||||
|
@ -194,13 +198,16 @@ func (w *DfWorld) process() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// check events texts
|
// check events texts
|
||||||
for _, e := range w.HistoricalEvents {
|
if CheckAfterLoading {
|
||||||
e.Details.Html(&Context{World: w})
|
for _, e := range w.HistoricalEvents {
|
||||||
}
|
e.Details.Html(&Context{World: w})
|
||||||
for _, e := range w.HistoricalEventCollections {
|
}
|
||||||
e.Details.Html(e, &Context{World: w})
|
for _, e := range w.HistoricalEventCollections {
|
||||||
|
e.Details.Html(e, &Context{World: w})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("world ready")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *DfWorld) processEvents() {
|
func (w *DfWorld) processEvents() {
|
||||||
|
|
Loading…
Reference in New Issue