-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from sc2ad/settings
Added ModSettings in-game, with enabling and disabling
- Loading branch information
Showing
87 changed files
with
2,886 additions
and
455 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,25 @@ | ||
using DustDevilFramework; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace CustomHero_Mod | ||
{ | ||
public class CustomHeroTestSettings : CustomHeroSettings | ||
{ | ||
public string HeroToReplace = "Skroig"; | ||
public string HeroName = "Skroggerz"; | ||
public bool ReplaceHero = false; | ||
[SettingsRange(100, 100000)] | ||
public float HeroHP = 1000; | ||
[SettingsRange(10,1000)] | ||
public float Speed = 80; | ||
public bool LogHeroData = true; | ||
public string PathToRanks = "Ranks.txt"; | ||
public CustomHeroTestSettings(string name) : base(name) | ||
{ | ||
} | ||
} | ||
} |
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,25 @@ | ||
using DustDevilFramework; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace CustomHero_Mod | ||
{ | ||
public class CustomHeroTestSettings : CustomHeroSettings | ||
{ | ||
public string HeroToReplace = "Skroig"; | ||
public string HeroName = "Skroggerz"; | ||
public bool ReplaceHero = false; | ||
[SettingsRange(100, 100000)] | ||
public float HeroHP = 1000; | ||
[SettingsRange(10,1000)] | ||
public float Speed = 80; | ||
public bool LogHeroData = true; | ||
public string PathToRanks = "Ranks.txt"; | ||
public CustomHeroTestSettings(string name) : base(name) | ||
{ | ||
} | ||
} | ||
} |
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,16 @@ | ||
using DustDevilFramework; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace OPSashaItem_Mod | ||
{ | ||
public class ShinyItemSettings : CustomItemSettings | ||
{ | ||
public ShinyItemSettings(string name) : base(name) | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.