Skip to content

Commit

Permalink
rationalized managing speed stat
Browse files Browse the repository at this point in the history
slightly increased base speed from intellect, and increased modifier
base 40%, per skill point: 6%.
(e.g. 40% at 0, 100 at 10, 160 at 20)
massively increased base speed from social, reduced modifier;
base 80%, per skill point: 2%.
(e.g. 80% at 0, 100 at 10, 120 at 20).
  • Loading branch information
FluffierThanThou committed May 10, 2019
1 parent 4e6dc2e commit 1a5bbd2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ rw-chaos: German translation (update)
Marcos Villar: Portuguese (Brazilian) translation (update)

<size=24>Version</size>
This is version 4.7.443, for RimWorld 1.0.2231.
This is version 4.7.444, for RimWorld 1.0.2231.

</description>
<supportedVersions>
Expand Down
Binary file modified Assemblies/Fluffy_ColonyManager.dll
Binary file not shown.
8 changes: 4 additions & 4 deletions Defs/StatDefs/Stat_ManagingSpeed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<skillNeedFactors>
<li Class="SkillNeed_BaseBonus">
<skill>Intellectual</skill>
<baseValue>0.3</baseValue>
<bonusPerLevel>0.02</bonusPerLevel>
<baseValue>0.4</baseValue>
<bonusPerLevel>0.06</bonusPerLevel>
</li>
<li Class="SkillNeed_BaseBonus">
<skill>Social</skill>
<baseValue>0.1</baseValue>
<bonusPerLevel>0.04</bonusPerLevel>
<baseValue>0.8</baseValue>
<bonusPerLevel>0.02</bonusPerLevel>
</li>
</skillNeedFactors>
<capacityFactors>
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ Show your appreciation by buying me a coffee (or contribute towards a nice singl
[![Buy Me a Coffee](http://i.imgur.com/EjWiUwx.gif)](https://ko-fi.com/fluffymods)

# Version
This is version 4.7.443, for RimWorld 1.0.2231.
This is version 4.7.444, for RimWorld 1.0.2231.
6 changes: 2 additions & 4 deletions Source/JobDrivers/JobDriver_ManagingAtManagingStation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ private Toil Manage( TargetIndex targetIndex )
toil.initAction = () =>
{
workDone = 0;
workNeeded = (int)
( comp.Props.Speed *
( 1 - pawn.GetStatValue( StatDef.Named( "ManagingSpeed" ) ) + .5 ) );
workNeeded = comp.Props.Speed;
};

toil.tickAction = () =>
Expand All @@ -75,7 +73,7 @@ private Toil Manage( TargetIndex targetIndex )
.Learn( 0.11f );
// update counter
workDone++;
workDone += pawn.GetStatValue( StatDef.Named( "ManagingSpeed" ) );
// are we done yet?
if ( workDone > workNeeded )
Expand Down
2 changes: 1 addition & 1 deletion Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("4.0.0")]
[assembly: AssemblyFileVersion("4.7.443")]
[assembly: AssemblyFileVersion("4.7.444")]

0 comments on commit 1a5bbd2

Please sign in to comment.