68 m_modelWidget.AutoRotationVector =
new Vector3(0f, 1f, 0f);
70 m_nameWidget.Text = bestiaryCreatureInfo.
DisplayName;
71 m_descriptionWidget.Text = bestiaryCreatureInfo.
Description;
72 m_propertyNames1Widget.Text =
string.Empty;
73 m_propertyValues1Widget.Text =
string.Empty;
76 propertyValues1Widget.Text = $
"{propertyValues1Widget.Text}{bestiaryCreatureInfo.AttackResilience}\n";
79 propertyValues1Widget2.Text =
80 $
"{propertyValues1Widget2.Text}{(bestiaryCreatureInfo.AttackPower > 0f ? bestiaryCreatureInfo.AttackPower.ToString("0.0
") : LanguageControl.None)}\n";
83 propertyValues1Widget3.Text =
84 $
"{propertyValues1Widget3.Text}{(bestiaryCreatureInfo.IsHerding ? LanguageControl.Yes : LanguageControl.No)}\n";
87 propertyValues1Widget4.Text =
88 $
"{propertyValues1Widget4.Text}{(bestiaryCreatureInfo.CanBeRidden ? LanguageControl.Yes : LanguageControl.No)}\n";
91 m_propertyNames2Widget.Text =
string.Empty;
92 m_propertyValues2Widget.Text =
string.Empty;
95 propertyValues2Widget.Text = propertyValues2Widget.Text
96 + (bestiaryCreatureInfo.MovementSpeed * 3.6).ToString(
"0")
100 propertyValues2Widget2.Text = propertyValues2Widget2.Text
101 + bestiaryCreatureInfo.
JumpHeight.ToString(
"0.0")
105 propertyValues2Widget3.Text = propertyValues2Widget3.Text
106 + bestiaryCreatureInfo.Mass
108 m_propertyNames2Widget.Text += $
"{LanguageControl.Get("BlocksManager", "Spawner Eggs
")}:";
110 propertyValues2Widget4.Text =
111 $
"{propertyValues2Widget4.Text}{(bestiaryCreatureInfo.HasSpawnerEgg ? LanguageControl.Exists : LanguageControl.None)}\n";
119 if (valuesDictionaryLoot !=
null) {
122 if (bestiaryCreatureInfo.
Loot.Count > 0) {
124 if (item.MaxCount == 0
125 || item.Probability == 0) {
128 string text = item.MinCount >= item.MaxCount
131 if (item.Probability < 1f) {
152 "UpdateCreaturePropertiesInBestiaryDescriptionScreen",
154 loader.UpdateCreaturePropertiesInBestiaryDescriptionScreen(
156 bestiaryCreatureInfo,