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
Disable half of the mods, see if the problem is still there. If yes, disable half of the remaining, if no enable half of recently disabled. Repeat until the problem causing mod is found.
i want to know how effective my boomalope farm will be on my gravship
Not sure if they maybe changed something to the code with the addition of the "special skill" training type (like digging or foraging)
I needed “Pets Can Eat from Wall Refrigerator.” Thank you for solving my foolish problem.
Of course, I've enabled it in the options, and I've made sure that the paste dispenser and the space around it fit within the restricted zone.
I thought it might be caused by Animal Controls, so I tried removing it, but that didn't work either.
https://gist.github.com/HugsLibRecordKeeper/dd068f333bd6b4a168641585c9aa3e83
Exception ticking AEXP_Quagga1266525 (at (111, 0, 83)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref B9D8549E]
at AnimalsLogic.ForgetMeNot.TamenessCanDecay (Verse.ThingDef def) [0x00000] in <12585d00e2414d01974d347c1d90ddc8>:0
at RimWorld.Pawn_TrainingTracker.TrainingTrackerTickRare () [0x0018c] in <323997631b604b6db469e110087828ac>:0
- TRANSPILER net.quicksilverfox.rimworld.mod.animalslogic: IEnumerable`1 AnimalsLogic.ForgetMeNot+Pawn_TrainingTracker_TrainingTrackerTickRare_Patch:Transpiler(IEnumerable`1 instructions)
- TRANSPILER VFEInsectoidsMod: IEnumerable`1
public static bool TamenessCanDecay(Pawn pawn)
{
return !pawn.RaceProps.FenceBlocked && pawn.GetStatValue(StatDefOf.Wildness) > Settings.wildness_threshold_for_tameness_decay;
}
static IEnumerable<CodeInstruction> PatchTamenessDecay(IEnumerable<CodeInstruction> instructions, MethodInfo target, MethodInfo replacement)
{
var res = new List<CodeInstruction>(instructions);
for (int i = 0; i < res.Count; i++)
{
if (res .opcode == OpCodes.Call && res .operand == target)
{
res .operand = replacement;
break;
}
}
return res;
}
private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions)
{
return ForgetMeNot.PatchTamenessDecay(
instructions,
AccessTools.Method(typeof(TrainableUtility), "TamenessCanDecay", new Type[]{typeof(Pawn)}),
AccessTools.Method(typeof(ForgetMeNot), "TamenessCanDecay", new Type[]{typeof(Pawn)}));
}[/code]