-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.1 - Fixed emitter pseudo-tiles not scaling with game zoom
* Fixed emitter pseudo-tiles not scaling with game zoom * Added setting to restrict emitter distance * Reset emitters on world load (ModWorld.Initialize) * Fixed UISliders not handling arrow clicks well
- Loading branch information
hamstar0
committed
Apr 27, 2020
1 parent
ec67651
commit 59e1195
Showing
7 changed files
with
76 additions
and
20 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
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,31 @@ | ||
using System; | ||
using System.ComponentModel; | ||
using Terraria.ModLoader.Config; | ||
using HamstarHelpers.Services.Configs; | ||
|
||
|
||
namespace Emitters { | ||
//class MyFloatInputElement : FloatInputElement { } | ||
//[CustomModConfigItem( typeof( MyFloatInputElement ) )] | ||
|
||
|
||
|
||
|
||
public partial class EmittersConfig : StackableModConfig { | ||
public static EmittersConfig Instance => ModConfigStack.GetMergedConfigs<EmittersConfig>(); | ||
|
||
|
||
|
||
//////////////// | ||
|
||
public override ConfigScope Mode => ConfigScope.ServerSide; | ||
|
||
|
||
|
||
//////////////// | ||
|
||
[Range( 16 * 16, 16 * 1000 )] | ||
[DefaultValue( 16 * 96 )] | ||
public int DustEmitterMinimumRangeBeforeEmit { get; set; } = 16 * 96; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
displayName = Emitters | ||
author = hamstar | ||
version = 1.0.0.2 | ||
version = 1.0.1 | ||
modReferences = [email protected] | ||
buildIgnore = *.csproj, *.user, *.bat, obj\*, bin\*, .vs\*, .git\* | ||
homepage = https://forums.terraria.org/index.php?threads/emitters.87584/ |