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
Do you know if this is fixed in version 1.4?
Note how it only takes one food Thing from each cell to check.
Also FindFeedInAnyHopper() may need patching as well.
Thing thing = null;
Thing thing2 = null;
List<Thing> thingList = c.GetThingList(base.Map);
for (int j = 0; j < thingList.Count; j++)
{
Thing thing3 = thingList[j];
if (IsAcceptableFeedstock(thing3.def))
{
thing = thing3;
}
if (thing3.IsHopper())
{
thing2 = thing3;
}
}
if (thing != null && thing2 != null)
{
num += (float)thing.stackCount * thing.GetStatValue(StatDefOf.Nutrition);
}
if (num >= def.building.nutritionCostPerDispense)
{
return true;
}
}
return false;
}