Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Comments of the changes #953

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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