Skip to content

Commit 185a23b

Browse files
committed
v0.3.4, infinite flight for godmode, show full item tooltips
1 parent 9b800d4 commit 185a23b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

HEROsModModPlayer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public override void PreUpdate()
6565
{
6666
player.statLife = player.statLifeMax2;
6767
player.statMana = player.statManaMax2;
68+
player.wingTime = player.wingTimeMax;
6869
}
6970
}
7071

UIKit/UIComponents/Slot.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@ protected override float GetHeight()
5555

5656
private void Slot2_onHover(object sender, EventArgs e)
5757
{
58-
HoverText = item.Name;
58+
//HoverText = item.Name;
5959
//HoverItem = item.Clone();
60+
61+
Main.hoverItemName = item.Name;
62+
Main.HoverItem = item.Clone();
63+
Main.HoverItem.SetNameOverride(Main.HoverItem.Name + (Main.HoverItem.modItem != null ? " [" + Main.HoverItem.modItem.mod.Name + "]" : ""));
6064
}
6165

6266
private void Slot2_onLeftClick(object sender, EventArgs e)

build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
author = HERO, jopojelly, Matt Thompson, Panini
2-
version = 0.3.3
2+
version = 0.3.4
33
versionScheme = ?.?.Fix.Quickfix
44
displayName = HERO's Mod
55
homepage = http://forums.terraria.org/index.php?threads/heros-mod-creative-mode-server-management-and-over-25-tools-1-3-1-1-compatible.44650/

0 commit comments

Comments
 (0)