1. Removed Exo Box go fast button. 2. Fixed Exo Chair Slowdown keybind not unloading
This commit is contained in:
1 parent
3bc399799f
commit
09f41b5fe5
3 files changed
+3
-12
No files matched your search
@@ -3312,8 +3312,6 @@ namespace CalamityMod.CalPlayer
|
||||
if (ExoChair)
|
||||
{
|
||||
float speed = DraedonGamerChairMount.MovementSpeed;
|
||||
if (CalamityKeybinds.ExoChairSpeedupHotkey.Current)
|
||||
speed *= 2f;
|
||||
|
||||
if (Player.controlLeft)
|
||||
{
|
||||
|
||||
+1
-2
@@ -17,7 +17,6 @@ namespace CalamityMod
|
||||
public static ModKeybind PlaguePackHotKey { get; private set; }
|
||||
public static ModKeybind AngelicAllianceHotKey { get; private set; }
|
||||
public static ModKeybind GodSlayerDashHotKey { get; private set; }
|
||||
public static ModKeybind ExoChairSpeedupHotkey { get; private set; }
|
||||
public static ModKeybind ExoChairSlowdownHotkey { get; private set; }
|
||||
|
||||
public override void Load()
|
||||
@@ -35,7 +34,6 @@ namespace CalamityMod
|
||||
PlaguePackHotKey = KeybindLoader.RegisterKeybind(Mod, "Booster Dash", "Q");
|
||||
AngelicAllianceHotKey = KeybindLoader.RegisterKeybind(Mod, "Angelic Alliance Blessing", "G");
|
||||
GodSlayerDashHotKey = KeybindLoader.RegisterKeybind(Mod, "God Slayer Dash", "H");
|
||||
ExoChairSpeedupHotkey = KeybindLoader.RegisterKeybind(Mod, "Exo Chair Speed Up", "LeftShift");
|
||||
ExoChairSlowdownHotkey = KeybindLoader.RegisterKeybind(Mod, "Exo Chair Slow Down", "RightShift");
|
||||
}
|
||||
|
||||
@@ -53,6 +51,7 @@ namespace CalamityMod
|
||||
PlaguePackHotKey = null;
|
||||
AngelicAllianceHotKey = null;
|
||||
GodSlayerDashHotKey = null;
|
||||
ExoChairSlowdownHotkey = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,6 @@ namespace CalamityMod.Items.Mounts
|
||||
DisplayName.SetDefault("Exo Box");
|
||||
Tooltip.SetDefault("Materializes a quite cozy and extremely nimble flying Exo throne\n" +
|
||||
"Replaced\n" +
|
||||
"Also replaced\n" +
|
||||
"A comfortable gamer is a dangerous gamer");
|
||||
SacrificeTotal = 1;
|
||||
}
|
||||
@@ -34,17 +33,12 @@ namespace CalamityMod.Items.Mounts
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> list)
|
||||
{
|
||||
string hotkey = CalamityKeybinds.ExoChairSpeedupHotkey.TooltipHotkeyString();
|
||||
string hotkey2 = CalamityKeybinds.ExoChairSlowdownHotkey.TooltipHotkeyString();
|
||||
string hotkey = CalamityKeybinds.ExoChairSlowdownHotkey.TooltipHotkeyString();
|
||||
|
||||
TooltipLine line = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip1");
|
||||
TooltipLine line2 = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip2");
|
||||
|
||||
if (line != null)
|
||||
line.Text = $"Hold {hotkey} while sitting in the throne to move much faster";
|
||||
|
||||
if (line2 != null)
|
||||
line2.Text = $"And hold {hotkey2} to move much slower";
|
||||
line.Text = $"Hold {hotkey} while sitting in the throne to move slower for more precision";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user