Skip to content

Commit

Permalink
Fixing Comments of the changes (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krarilotus committed Dec 6, 2021
1 parent 6128fba commit e5b466b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions UnofficialCrusaderPatch/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -626,12 +626,14 @@ public class Version

new Change("ai_resources_rebuy", ChangeType.AILords, true)
{
// vanilla:
// additional attack troops = factor * attack number
// wood, iron, flour and hops are checked periodically if there is at least one building using the resource
// A tracker tracks the time that no stock is available
// When the time reaches a limit, the resource is restocked: 5 wood / 2 iron / 2 flour / 2 hops
// we only make the first 3 accessible, as hops is dealt with by minimumHops in the AIC

new SliderHeader("ai_nowood_maxtime", true, 0, 72, 1, 36, 1)
{
// 004CDEDC
// Extreme: 004CC010
new BinaryEdit("ai_nowood_maxtime")
{
new BinByteValue(),
Expand All @@ -640,7 +642,7 @@ public class Version

new SliderHeader("ai_noiron_maxtime", true, 0, 72, 1, 36, 4)
{
// 004CDEDC
// Extreme: 004cc02B
new BinaryEdit("ai_noiron_maxtime")
{
new BinByteValue(),
Expand All @@ -649,7 +651,7 @@ public class Version

new SliderHeader("ai_noflour_maxtime", true, 0, 72, 1, 36, 6)
{
// 004CDEDC
// Extreme: 004cc04E
new BinaryEdit("ai_noflour_maxtime")
{
new BinByteValue(),
Expand Down

0 comments on commit e5b466b

Please sign in to comment.