Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Thankfully, it is a rare event that "Milk Bottle" is chosen as an ingredient with 0 StartVolume.
To fix this, in ObjectBlueprints.xml. Change this line,
<object Name="Milk Bottle" Inherits="Bottle">
<part Name="LiquidVolume" MaxVolume="16" StartVolume="1d7-1" InitialLiquid="milk-1000"></part>
to
<object Name="Milk Bottle" Inherits="Bottle">
<part Name="LiquidVolume" MaxVolume="16" StartVolume="1d7" InitialLiquid="milk-1000"></part>
In other words, change "Milk Bottle"'s StartVolume from "1d7-1" to "1d7".
All of that said, I don't know if you want "Milk Bottle" to be an ingredient. Usually you'd just use the milk in food, not the whole bottle too. lol
[code]
INFO - PopulationResult.RollOneFrom("Ingredients0"): Result is Milk Bottle, , , 1
INFO - GameObject.Create("Milk Bottle")
INFO - GameObject.Create("Milk Bottle") == Milk Bottle
INFO - GameObject.Create("Milk Bottle") analysis:
__result?.HasPart<LiquidVolume>()=True
__result?.GetPart<LiquidVolume>()?.GetPrimaryLiquid()=NULL
__result?.GetPart<LiquidVolume>()?.GetPrimaryLiquid()?.GetName(null)=NULL
__result?.DisplayNameOnlyDirectAndStripped)=glass bottle
ERROR - Booting game :System.NullReferenceException: Object reference not set to an instance of an object
at XRL.Annals.ImportedFoodorDrink.Generate () [0x00422] in XRL.Annals\ImportedFoodorDrink.cs:87
at HistoryKit.HistoricEntity.ApplyEvent (HistoryKit.HistoricEvent newEvent, System.Int64 year) [0x0003a] in HistoryKit\HistoricEntity.cs:287
at XRL.Annals.QudHistoryFactory.GenerateNewVillage
[/code]
In ObjectBlueprints.xml, "Hunk of Cheese" is missing the above part. I fixed this by adding the following to it's entry:
<part Name="PreparedCookingIngredient" type="regenLowtier" charges="1" />