mirror of
https://gitgud.io/Ed86/rjw-std.git
synced 2024-08-14 23:57:23 +00:00
update for rjw 5.3.1
This commit is contained in:
parent
b86a0b0647
commit
a17150fb6a
4 changed files with 4 additions and 7 deletions
Binary file not shown.
|
@ -7,7 +7,7 @@ using System.Reflection;
|
|||
namespace rjwstd
|
||||
{
|
||||
///<summary>
|
||||
///roll for STD update every 10 sex need ticks
|
||||
///roll for STD update
|
||||
///</summary>
|
||||
[HarmonyPatch(typeof(Need_Sex), "NeedInterval")]
|
||||
[StaticConstructorOnStartup]
|
||||
|
@ -21,10 +21,7 @@ namespace rjwstd
|
|||
if (__instance.isInvisible)
|
||||
return; // no caravans
|
||||
|
||||
if (__instance.needsex_tick <= 0) // every 10 ticks - real tick
|
||||
{
|
||||
std_updater.update(___pawn);
|
||||
}
|
||||
std_updater.update(___pawn);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace rjwstd
|
|||
/// </summary>
|
||||
public static class std_updater
|
||||
{
|
||||
public const float UpdatesPerDay = GenDate.TicksPerDay / 150f / (float)Need_Sex.needsex_tick_timer;
|
||||
public const float UpdatesPerDay = GenDate.TicksPerDay / 150f / 10f;
|
||||
|
||||
public static void update(Pawn p)
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Manifest>
|
||||
<identifier>RimJobWorld STD</identifier>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.1</version>
|
||||
<dependencies>
|
||||
<li>RimJobWorld</li>
|
||||
</dependencies>
|
||||
|
|
Loading…
Reference in a new issue