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

Introduce yaml formatting #74

Open
wants to merge 9 commits into
base: v0.21
Choose a base branch
from
Open
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"redhat.vscode-yaml"
]
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"better-yaml.indentSeq": true,
"better-yaml.lineWidth": 0,
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "kennylong.kubernetes-yaml-formatter"
}
}
103 changes: 52 additions & 51 deletions masterlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# data that gets re-used.
prelude:
common:
# Message Anchors
# Message Anchors
- &alreadyInX
type: error
content: 'Delete. Already included in {0}.'
Expand All @@ -14,15 +14,15 @@ prelude:

- &alsoUseX
type: say
content: 'It''s highly recommended that you also use {0}.'
content: "It's highly recommended that you also use {0}."

- &compatIssuesWithX
type: say
content: 'This plugin has compatibility issues with {0}. For more information, read this mod''s compatibility notes.'
content: "This plugin has compatibility issues with {0}. For more information, read this mod's compatibility notes."

- &compatNotes
type: say
content: 'It is recommended that you read this mod''s [Compatibility Notes]({0}).'
content: "It is recommended that you read this mod's [Compatibility Notes]({0})."

- &compatPatch
type: say
Expand All @@ -47,7 +47,7 @@ prelude:

- &deletePlugin
type: warn
content: 'When using **{0}**, it''s recommended that you deactivate or delete this ESP file but keep the resources (e.g. meshes, textures) installed with this mod.'
content: "When using **{0}**, it's recommended that you deactivate or delete this ESP file but keep the resources (e.g. meshes, textures) installed with this mod."

- &deprecated
type: warn
Expand All @@ -59,7 +59,7 @@ prelude:

- &essentialFiles
type: warn
content: 'Another mod seems to be overwriting one of this mod''s essential files. Please ensure you''re using this mod''s version of {0} or a compatible version if available.'
content: "Another mod seems to be overwriting one of this mod's essential files. Please ensure you're using this mod's version of {0} or a compatible version if available."

- &includesX
type: say
Expand Down Expand Up @@ -87,7 +87,7 @@ prelude:

- &missingRequirementXforPlugin
type: warn
content: 'Some of this plugin''s requirements seem to be missing. Please ensure you have correctly installed **{0}**.'
content: "Some of this plugin's requirements seem to be missing. Please ensure you have correctly installed **{0}**."

- &moddingPlugin
type: error
Expand Down Expand Up @@ -116,15 +116,15 @@ prelude:

- &patchIncluded
type: say
content: 'You seem to be using **{0}**, but you have not enabled a compatibility patch for this mod. A compatibility patch is included with this plugin''s installer.'
content: "You seem to be using **{0}**, but you have not enabled a compatibility patch for this mod. A compatibility patch is included with this plugin's installer."

- &patchOutdated
type: warn
content: 'This patch is outdated and may not be compatible with the latest version of the patched mod.'

- &patchProvided
type: say
content: 'You seem to be using **{0}**, but you have not enabled a compatibility patch for this mod. A compatibility patch is provided on this plugin''s mod page.'
content: "You seem to be using **{0}**, but you have not enabled a compatibility patch for this mod. A compatibility patch is provided on this plugin's mod page."

- &patchUnavailable
type: warn
Expand All @@ -140,7 +140,7 @@ prelude:

- &renameXtoY
type: warn
content: 'You need to rename {0} to {1} or this mod won''t work.'
content: "You need to rename {0} to {1} or this mod won't work."

# Useful for when a plugin needs SkyUI, but shouldn't load after it (eg. when it's a master plugin).
- &requiresMCM_X
Expand Down Expand Up @@ -203,7 +203,7 @@ prelude:

- &versionPrecedence
type: error
content: 'Delete {0} from {1}. {2}''s version must take precedence.'
content: "Delete {0} from {1}. {2}'s version must take precedence."

- &versionUpToDateX
type: say
Expand All @@ -217,11 +217,11 @@ prelude:
type: error
content: 'Requires version **{0}** or greater of **{1}**.'

# Cleaning Data Anchors
# Global Anchors
# Cleaning Data Anchors
# Global Anchors
- &changeUnsupported
type: say
content: 'Changing the type of an existing plugin isn''t supported. Additional details are provided [here]({0}).'
content: "Changing the type of an existing plugin isn't supported. Additional details are provided [here]({0})."
subs: [ 'https://loot.github.io/docs/help/Changing-Plugin-Types-In-Starfield.html' ]

- &filenameExtension
Expand Down Expand Up @@ -254,7 +254,7 @@ prelude:
content: 'You seem to be using **{0}**, but it has been superseded. It is recommended that you use **{1}** instead.'

common:
# File Anchors
# File Anchors
- &SFSE
name: '../sfse_loader.exe'
display: '[Starfield Script Extender](https://sfse.silverlock.org/)'
Expand All @@ -264,35 +264,35 @@ common:
bash_tags: []

globals:
# Unsupported Plugin type change
# Unsupported Plugin type change
- *changeUnsupported

# Filename extension .esp
# Filename extension .esp
- <<: *filenameExtension
subs:
- 'Starfield'
- '.esp'
condition: 'file("([^\.]+\.esp)")'

# Filename extension .esl
# Filename extension .esl
- <<: *filenameExtension
subs:
- 'Starfield'
- '.esl'
condition: 'file("([^\.]+\.esl)")'

# Latest LOOT Thread
# Latest LOOT Thread
- *latestLOOTThread

# Plugins.txt Enabler
# Plugins.txt Enabler
- <<: *pluginEnabler
subs:
- '[Plugins.txt Enabler](https://www.nexusmods.com/starfield/mods/4157/)'
- 'Starfield'
- '1.12.30.0'
condition: 'readable("../Starfield.exe") and product_version("../Starfield.exe", "1.12.30.0", >=) and (file("SFSE/Plugins/SFPluginsTxtEnabler.dll") or file("../SFPluginsTxtEnabler.asi"))'

# Latest Version
# Latest Version
# Starfield Game Runtime
- <<: *versionOldX
subs: [ '**Starfield**' ]
Expand All @@ -308,7 +308,7 @@ globals:
subs: [ '**SFSE**' ]
condition: 'version("../sfse_1_14_70.dll", "0.0.2.13", >=) and readable("../Starfield.exe") and product_version("../Starfield.exe", "1.14.70.0", >=)'

# SFSE
# SFSE
# Missing
- <<: *scriptExtenderMissing
subs:
Expand Down Expand Up @@ -351,7 +351,7 @@ groups:
after: [ *dynamicPatchGroup ]

plugins:
###### Official Game Files ######
###### Official Game Files ######
- name: 'Starfield.esm'
group: *mainGroup
- name: 'Constellation.esm'
Expand All @@ -371,14 +371,14 @@ plugins:
- name: 'SFBGS008.esm'
group: *mainGroup

###### Official DLC ######
###### Official DLC ######
- name: 'ShatteredSpace.esm'
url:
- link: 'https://creations.bethesda.net/en/starfield/details/b6b52ca2-3f1f-4316-bef8-dcb0bb2dcc32/Starfield__Shattered_Space/'
name: 'Starfield: Shattered Space'
group: *mainGroup

###### Official BGS Creations ######
###### Official BGS Creations ######
- name: 'sfbgs00a_a.esm'
url:
- link: 'https://creations.bethesda.net/en/starfield/details/31ccf130-4852-417b-842a-9d82672028e4/Skin__Blackout__Drum_Beat_/'
Expand Down Expand Up @@ -454,7 +454,7 @@ plugins:
- name: 'sfbgs01c.esm'
url:
- link: 'https://creations.bethesda.net/en/starfield/details/f84790ea-caeb-4a73-9d06-d4db254dc37d/Water_Cooled_Miners__39__Outfit/'
name: 'Water-Cooled Miners'' Outfit'
name: "Water-Cooled Miners' Outfit"
group: *bgsCreationsGroup

- name: 'sfbgs02a_a.esm'
Expand Down Expand Up @@ -511,8 +511,8 @@ plugins:
name: 'Trackers Alliance: The Vulture'
group: *bgsCreationsGroup

###### Verified Creations ######
###### Base Game Patches ######
###### Verified Creations ######
###### Base Game Patches ######
- name: 'StarfieldCommunityPatch.esm'
url:
- link: 'https://www.nexusmods.com/starfield/mods/1/'
Expand Down Expand Up @@ -546,11 +546,12 @@ plugins:
group: *fixesGroup
after: [ 'unofficial starfield patch.esm' ]

###### Modding Tools - Resources ######
###### Modding Tools - Generated Files ######
###### Resources & Frameworks ######
###### AudioVisual ######
###### AudioVisual - Animations & Physics ######
###### Modding Tools - Resources ######
###### Modding Tools - Generated Files ######
###### Resources & Frameworks ######
###### AudioVisual ######
###### AudioVisual - Animations & Physics ######

- name: 'MoreDramaticGravJumps\.es[mp]'
url:
- link: 'https://www.nexusmods.com/starfield/mods/2413/'
Expand All @@ -560,19 +561,19 @@ plugins:
- <<: *obsolete
subs: [ '[More Dramatic Grav Jumps .esm Plugin](https://www.nexusmods.com/starfield/mods/2413/)' ]

###### AudioVisual - Models & Textures ######
###### AudioVisual - Sound & Music ######
###### AudioVisual - Water ######
###### AudioVisual - Weather & Lighting ######
###### Character Appearance - Body,face & hair ######
###### Character Appearance - Children ######
###### Character Appearance - NPCs ######
###### Character Appearance - Presets ######
###### Encounters - Allies ######
###### Encounters - Enemies ######
###### Encounters - Neutrals ######
###### Environment, Landscape & Flora ######
###### Gameplay ######
###### AudioVisual - Models & Textures ######
###### AudioVisual - Sound & Music ######
###### AudioVisual - Water ######
###### AudioVisual - Weather & Lighting ######
###### Character Appearance - Body,face & hair ######
###### Character Appearance - Children ######
###### Character Appearance - NPCs ######
###### Character Appearance - Presets ######
###### Encounters - Allies ######
###### Encounters - Enemies ######
###### Encounters - Neutrals ######
###### Environment, Landscape & Flora ######
###### Gameplay ######
- name: 'cargo2x.esp'
url:
- link: 'https://www.nexusmods.com/starfield/mods/1049/'
Expand All @@ -581,8 +582,8 @@ plugins:
- <<: *corrupt
condition: 'checksum("cargo2x.esp", A5257F3C)'

###### Gameplay - Character Classes & Races ######
###### Gameplay - Combat ######
###### Gameplay - Character Classes & Races ######
###### Gameplay - Combat ######
- name: 'RealisticDamageMultipliers.esm'
url:
- link: 'https://www.nexusmods.com/starfield/mods/188/'
Expand All @@ -591,7 +592,7 @@ plugins:
- <<: *corrupt
condition: 'checksum("RealisticDamageMultipliers.esm", CBC568FF)'

###### Gameplay - Crafting & Harvesting ######
###### Gameplay - Crafting & Harvesting ######
- name: 'legendaries\.es[mp]'
url:
- link: 'https://www.nexusmods.com/starfield/mods/1379/'
Expand All @@ -602,11 +603,11 @@ plugins:
subs: [ '[Legendary Modifications .esm Plugin](https://www.nexusmods.com/starfield/mods/1379/)' ]
condition: 'checksum("legendaries.esp", 333DF58A) or checksum("legendaries.esp", 62E07118)'

###### Gameplay - Economy & Item Balance ######
###### Gameplay - Economy & Item Balance ######
- name: 'CaptLockerUnlimited.esp'
url:
- link: 'https://www.nexusmods.com/starfield/mods/911/'
name: 'Captain''s Locker Unlimited'
name: "Captain's Locker Unlimited"
msg:
- <<: *corrupt
condition: 'checksum("CaptLockerUnlimited.esp", F41DB3F5)'
Expand Down
Loading