forked from tModLoader/tModLoader
-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
182d1ef
commit 13b701b
Showing
17 changed files
with
89 additions
and
17 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
62 changes: 62 additions & 0 deletions
62
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount.cs
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,62 @@ | ||
using Microsoft.Xna.Framework; | ||
using Microsoft.Xna.Framework.Graphics; | ||
using System; | ||
using Terraria.DataStructures; | ||
|
||
namespace Terraria.ModLoader.Default.Patreon | ||
{ | ||
internal class Tantamount_Head : PatreonItem | ||
{ | ||
public override string SetName => "Tantamount"; | ||
public override EquipType ItemEquipType => EquipType.Head; | ||
|
||
public override void SetDefaults() { | ||
base.SetDefaults(); | ||
item.width = 34; | ||
item.height = 22; | ||
} | ||
} | ||
|
||
// female sprite was pretty much the same and made it difficult to support, so ommitted. | ||
internal class Tantamount_Body : PatreonItem | ||
{ | ||
public override string SetName => "Tantamount"; | ||
public override EquipType ItemEquipType => EquipType.Body; | ||
|
||
public override void SetDefaults() { | ||
base.SetDefaults(); | ||
item.width = 42; | ||
item.height = 24; | ||
} | ||
} | ||
|
||
internal class Tantamount_Legs : PatreonItem | ||
{ | ||
public override string SetName => "Tantamount"; | ||
public override EquipType ItemEquipType => EquipType.Legs; | ||
|
||
public override void SetDefaults() { | ||
base.SetDefaults(); | ||
item.width = 22; | ||
item.height = 18; | ||
} | ||
} | ||
|
||
internal class Tantamount_Wings : PatreonItem | ||
{ | ||
public override string SetName => "Tantamount"; | ||
public override EquipType ItemEquipType => EquipType.Wings; | ||
|
||
public override void SetDefaults() { | ||
base.SetDefaults(); | ||
item.vanity = false; | ||
item.width = 24; | ||
item.height = 8; | ||
item.accessory = true; | ||
} | ||
|
||
public override void UpdateAccessory(Player player, bool hideVisual) { | ||
player.wingTimeMax = 150; | ||
} | ||
} | ||
} |
Binary file added
BIN
+2.53 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Body.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.46 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Body_Arms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.43 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Body_Body.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.31 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.47 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Head_Head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.63 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Legs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.11 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Legs_Legs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.16 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Wings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.07 KB
patches/tModLoader/Terraria.ModLoader.Default.Patreon/Tantamount_Wings_Wings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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