mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
Compare commits
No commits in common. "a722673244737b9f4c310b294248c397dec2ab3c" and "a19953c6884bf9a8c42931f4c8f375ad76416874" have entirely different histories.
a722673244
...
a19953c688
4 changed files with 5 additions and 10 deletions
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<Manifest>
|
<Manifest>
|
||||||
<identifier>RJWSexperienceIdeology</identifier>
|
<identifier>RJWSexperienceIdeology</identifier>
|
||||||
<version>1.0.2.1</version>
|
<version>1.0.2.0</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<li>RimJobWorld >= 5.3.0</li>
|
<li>RimJobWorld >= 5.3.0</li>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
## Version 1.0.2.1
|
|
||||||
* Fixed SecondaryRomanceChanceFactor patch
|
|
||||||
## Version 1.0.2.0
|
## Version 1.0.2.0
|
||||||
* Removed Incestuos_IncestOnly conflict with Zoophile
|
* Removed Incestuos_IncestOnly conflict with Zoophile
|
||||||
* Patched manual romance to respect incestuous precepts
|
* Patched manual romance to respect incestuous precepts
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using Mono.Cecil.Cil;
|
|
||||||
using RimWorld;
|
using RimWorld;
|
||||||
using rjw;
|
using rjw;
|
||||||
using RJWSexperience.Ideology.HistoryEvents;
|
using RJWSexperience.Ideology.HistoryEvents;
|
||||||
|
@ -146,7 +145,7 @@ namespace RJWSexperience.Ideology.Patches
|
||||||
// store results in the same place original loop does and remove everything else until Endfinaly
|
// store results in the same place original loop does and remove everything else until Endfinaly
|
||||||
|
|
||||||
IEnumerator<CodeInstruction> enumerator = instructions.GetEnumerator();
|
IEnumerator<CodeInstruction> enumerator = instructions.GetEnumerator();
|
||||||
bool endOfInstructions = !enumerator.MoveNext();
|
bool endOfInstructions = enumerator.MoveNext();
|
||||||
|
|
||||||
// Find and replace GetRelations
|
// Find and replace GetRelations
|
||||||
while (!endOfInstructions)
|
while (!endOfInstructions)
|
||||||
|
@ -161,7 +160,7 @@ namespace RJWSexperience.Ideology.Patches
|
||||||
}
|
}
|
||||||
|
|
||||||
yield return instruction;
|
yield return instruction;
|
||||||
endOfInstructions = !enumerator.MoveNext();
|
endOfInstructions = enumerator.MoveNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endOfInstructions)
|
if (endOfInstructions)
|
||||||
|
@ -180,7 +179,7 @@ namespace RJWSexperience.Ideology.Patches
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
endOfInstructions = !enumerator.MoveNext();
|
endOfInstructions = enumerator.MoveNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endOfInstructions)
|
if (endOfInstructions)
|
||||||
|
@ -198,7 +197,7 @@ namespace RJWSexperience.Ideology.Patches
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
endOfInstructions = !enumerator.MoveNext();
|
endOfInstructions = enumerator.MoveNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endOfInstructions)
|
if (endOfInstructions)
|
||||||
|
@ -212,8 +211,6 @@ namespace RJWSexperience.Ideology.Patches
|
||||||
{
|
{
|
||||||
yield return enumerator.Current;
|
yield return enumerator.Current;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Prefs.DevMode) Log.Message("[RSI] Successfully transpiled Pawn_RelationsTracker.SecondaryRomanceChanceFactor");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPatch(typeof(Precept), nameof(Precept.GetTip))]
|
[HarmonyPatch(typeof(Precept), nameof(Precept.GetTip))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue