-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a repository field to the mod class (#150)
* Add fields for the URL of a mod * Add a test for reading `mod_info.lua` * Similar nil-like check as used in `extractIconPath` * Clean up imports * Create the directory used in the test * Remove the assert as it is not required * Do not use `var`
- Loading branch information
Showing
4 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name = "50% Air Crash Damage" | ||
uid = "daeafcc2-0bcc-463a-962e-a33e703eacd1" | ||
version = 1 | ||
copyright = "EntropyWins" | ||
description = "Reduces Air Crash damage to 50% of normal. Other versions reduce/increase to 150%, 75%, or 25%. Original mod 'No Air Crash Damage' by EntropyWins, modified by Rama." | ||
author = "EntropyWins + Rama" | ||
selectable = true | ||
ui_only = false | ||
enabled = true | ||
url = "https://github.com/JeroenDeDauw/NoAirCrashDamage" | ||
icon = "/mods/AirCrashDamage50/icon.jpg" |