Fix indentation.

This commit is contained in:
Pentarctagon 2020-11-23 00:17:31 -06:00
parent 0e800d36a6
commit d4b8f71771
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0
4 changed files with 29 additions and 30 deletions

View file

@ -733,7 +733,6 @@
gold="$(200 + 60 * $timesForever)"
#endif
[/modify_side]
[/then]
[/if]

View file

@ -11,7 +11,7 @@
#enddef
#define OBJECTIVE_FOOTNOTE TEXT
# Add a footnote to an objective in small print
# Add a footnote to an objective in small print
"<span foreground='white'><small> " + {TEXT} + "</small></span>"
#enddef
@ -25,17 +25,17 @@
#enddef
#define BONUS_OBJECTIVE_CAPTION
# Add a caption for a bonus objective
# Add a caption for a bonus objective
caption= _ "Bonus objective:"
#enddef
#define OPTIONAL_OBJECTIVE_CAPTION
# Add a caption for an optional objective
# Add a caption for an optional objective
caption= _ "Optional objective:"
#enddef
#define ALTERNATIVE_OBJECTIVE OBJECTIVE_TEXT
# Add an alternative objective that can be attained in place of the primary objective to win the scenario.
# Add an alternative objective that can be attained in place of the primary objective to win the scenario.
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}
description={OBJECTIVE_TEXT}
@ -44,7 +44,7 @@
#enddef
#define ALTERNATIVE_OBJECTIVE_BONUS OBJECTIVE_TEXT
# Add an alternative objective that grants an early finish bonus.
# Add an alternative objective that grants an early finish bonus.
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}
description={OBJECTIVE_TEXT}+{EARLY_FINISH_BONUS_FOOTNOTE}
@ -53,7 +53,7 @@
#enddef
#define IS_LAST_SCENARIO
# Add a note to the objectives indicating that this is the final scenario in the campaign.
# Add a note to the objectives indicating that this is the final scenario in the campaign.
[note]
red,blue,green=0,255,255
description="<b>" + _"This is the last scenario." + "</b>"
@ -61,7 +61,7 @@
#enddef
#define HAS_NO_TURN_LIMIT
# Add a note to the objectives indicating that there is no turn limit.
# Add a note to the objectives indicating that there is no turn limit.
[note]
description= "<b>" + _"No turn limit" + "</b>"
[/note]

View file

@ -5,16 +5,16 @@
# ! in comments is used in generating HTML documentation, ignore it otherwise.
#define FOREVER
# Max number of turns in a scenario, mainly for use as a turn upper bound
# in ai declarations for aggression, etc.
# Max number of turns in a scenario, mainly for use as a turn upper bound
# in ai declarations for aggression, etc.
999 #enddef
#define INFINITY
# The effectively infinite radius.
# The effectively infinite radius.
999 #enddef
#define EVERYWHERE
# Everywhere on the map. For filters that would otherwise touch recall lists.
# Everywhere on the map. For filters that would otherwise touch recall lists.
x,y=1-infinity,1-infinity #enddef
#define NO_MAP_DATA
@ -67,7 +67,7 @@ Gg, Gg, Gg, Gg
#enddef
#define CAMPAIGN_DIFFICULTY DEFINE IMAGE LABEL DESCRIPTION
# Define a difficulty level for a campaign
# Define a difficulty level for a campaign
[difficulty]
define={DEFINE}
image={IMAGE}
@ -77,7 +77,7 @@ Gg, Gg, Gg, Gg
#enddef
#define DEFAULT_DIFFICULTY
# Append to {CAMPAIGN_DIFFICULTY} to mark it as the default difficulty.
# Append to {CAMPAIGN_DIFFICULTY} to mark it as the default difficulty.
[+difficulty]
default=yes
[/difficulty]

View file

@ -2,7 +2,7 @@
# This file defines all the standard time schedules.
#define TOD_COLOR_SHIFT RED GREEN BLUE
# Append to any time definition to add a color shift.
# Append to any time definition to add a color shift.
[+time]
red={RED}
green={GREEN}
@ -98,7 +98,7 @@
#enddef
#define INDOORS
# A time schedule that's always bright, for indoor settings.
# A time schedule that's always bright, for indoor settings.
[time]
id=indoors
name= _ "Indoors"
@ -107,7 +107,7 @@
#enddef
#define UNDERGROUND
# A time schedule that's always dark, for underground settings.
# A time schedule that's always dark, for underground settings.
[time]
id=underground
name= _ "Underground"
@ -120,8 +120,8 @@
#enddef
#define DEEP_UNDERGROUND
# A time schedule that's extremely dark, for deep underground settings.
# The chaotic bonus is 30%.
# A time schedule that's extremely dark, for deep underground settings.
# The chaotic bonus is 30%.
[time]
id=deep_underground
name= _ "Deep Underground"
@ -134,7 +134,7 @@
#enddef
#define DEFAULT_SCHEDULE
# The default schedule, with dawn, morning, afternoon, dusk, and first and second watches.
# The default schedule, with dawn, morning, afternoon, dusk, and first and second watches.
{DAWN}
{MORNING}
{AFTERNOON}
@ -144,7 +144,7 @@
#enddef
#define SUMMER_SCHEDULE
# A summer schedule, witha longer daylight segment.
# A summer schedule, witha longer daylight segment.
{DAWN} {TOD_COLOR_SHIFT 0 -10 -5}
{MORNING} {TOD_COLOR_SHIFT 5 5 0}
{MIDDAY} {TOD_COLOR_SHIFT 5 5 0}
@ -154,7 +154,7 @@
#enddef
#define WINTER_SCHEDULE
# A winter schedule, with a longer nighttime segment.
# A winter schedule, with a longer nighttime segment.
{DAWN} {TOD_COLOR_SHIFT -30 -15 5}
{MIDDAY} {TOD_COLOR_SHIFT -5 -5 5}
{DUSK} {TOD_COLOR_SHIFT 5 -20 -30}
@ -164,36 +164,36 @@
#enddef
#define DEFAULT_SCHEDULE_DAWN
# Default schedule, starting at dawn.
# Default schedule, starting at dawn.
{DEFAULT_SCHEDULE}
#enddef
#define DEFAULT_SCHEDULE_MORNING
# Default schedule, but starting at morning.
# Default schedule, but starting at morning.
{DEFAULT_SCHEDULE}
current_time=1
#enddef
#define DEFAULT_SCHEDULE_AFTERNOON
# Default schedule, but starting at afternoon.
# Default schedule, but starting at afternoon.
{DEFAULT_SCHEDULE}
current_time=2
#enddef
#define DEFAULT_SCHEDULE_DUSK
# Default schedule, but starting at dusk.
# Default schedule, but starting at dusk.
{DEFAULT_SCHEDULE}
current_time=3
#enddef
#define DEFAULT_SCHEDULE_FIRST_WATCH
# Default schedule, but starting at first watch.
# Default schedule, but starting at first watch.
{DEFAULT_SCHEDULE}
current_time=4
#enddef
#define DEFAULT_SCHEDULE_SECOND_WATCH
# Default schedule, but starting at second watch.
# Default schedule, but starting at second watch.
{DEFAULT_SCHEDULE}
current_time=5
#enddef
@ -466,7 +466,7 @@
#enddef
#define DEFAULT_SCHEDULE_24H
# A 24-hour schedule, where each turn represents 1 hour.
# A 24-hour schedule, where each turn represents 1 hour.
{DAWN_HOUR}
{MORNING_HOUR1}
{MORNING_HOUR2}
@ -687,7 +687,7 @@
#enddef
#define TWO_SUNS_DEFAULT_SCHEDULE
# The standard After the Fall schedule, with two uneven days.
# The standard After the Fall schedule, with two uneven days.
{DAWN1}
{MORNING1}
{MIDDAY1}