This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
-
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.
- Loading branch information
1 parent
fff135c
commit 2bc27e6
Showing
14 changed files
with
249 additions
and
15 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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,17 @@ | ||
using Terraria.ID; | ||
using Terraria; | ||
using Terraria.ModLoader; | ||
|
||
namespace NekoTweakMod.Items | ||
{ | ||
public class ModifyEffect : GlobalItem | ||
{ | ||
public override void UpdateEquip(Item item, Player player) | ||
{ | ||
if(item.type == ItemID.SpiderMask) // Also changes the tooltip in Modifytooltip.cs for this item | ||
{ | ||
player.maxMinions -= 1; // reduces the max minion cap by 1 | ||
} | ||
} | ||
} | ||
} |
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,21 @@ | ||
using Terraria.ID; | ||
using Terraria; | ||
using Terraria.ModLoader; | ||
|
||
namespace NekoTweakMod.Items | ||
{ | ||
public class SummonerItemSound : GlobalItem // class name & vanilla hook | ||
{ | ||
public override void SetDefaults(Item item) // SetDefaults allows you to set/change properties of items | ||
{ // Single line "if" statements as we are only changing 1 property | ||
// if (item.type == ItemID.BabyBird) item.UseSound = SoundID.Item44; v1.4 | ||
// if (item.type == ItemID.bladestaff) item.UseSound = SoundID.Item77; | ||
// if (item.type == ItemID.Sanguinestaff) item.UseSound = SoundID.Item83; | ||
// if (item.type == ItemID.Deserttigerstaff) item.UseSound = SoundID.Item77; | ||
if (item.type == ItemID.TempestStaff) item.UseSound = SoundID.Item77; | ||
if (item.type == ItemID.XenoStaff) item.UseSound = SoundID.Item82; | ||
if (item.type == ItemID.StardustCellStaff) item.UseSound = SoundID.Item113; | ||
if (item.type == ItemID.StardustDragonStaff) item.UseSound = SoundID.Item113; | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
displayName = Neko's Tweak Mod | ||
author = Neko | ||
version = 0.1.2.0 | ||
version = 0.1.2.1 | ||
homepage = https://forums.terraria.org/index.php?threads/nekos-tweak-mod.93711/ | ||
buildIgnore = obj\*, bin\*, *.csproj, .git\*, .gitattributes, .gitignore, .psd, .sln, ..vs\*, LICENSE |
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
Binary file not shown.