-
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
5e0fe40
commit 54de422
Showing
76 changed files
with
13,561 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"ExpandedNodes": [ | ||
"" | ||
], | ||
"PreviewInSolutionExplorer": false | ||
} |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
using calamityVanillaItemRecipeChanges.Items; | ||
using Microsoft.Xna.Framework; | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges | ||
{ | ||
class MyGlobalNPC : GlobalNPC | ||
{ | ||
public override void NPCLoot(NPC npc) | ||
{ | ||
if (npc.type == NPCID.Vulture) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) { | ||
Item.NewItem(npc.getRect(), mod.ItemType("DesertFeather")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.BloodZombie) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) { | ||
Item.NewItem(npc.getRect(), mod.ItemType("BloodOrb")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.Drippler) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) { | ||
Item.NewItem(npc.getRect(), mod.ItemType("BloodOrb")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.TheBride) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) { | ||
Item.NewItem(npc.getRect(), mod.ItemType("BloodOrb")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.TheGroom) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("BloodOrb")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.Clown) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("BloodOrb")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.Arapaima) | ||
{ | ||
if (Main.rand.NextFloat() < .25f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("MurkyPaste")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.SpikedJungleSlime) | ||
{ | ||
if (Main.rand.NextFloat() < .25f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("MurkyPaste")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.Derpling) | ||
{ | ||
if (Main.rand.NextFloat() < .25f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("BeetleJuice")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.WanderingEye) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("BlightedLens")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.Skeleton) | ||
{ | ||
if (Main.rand.NextFloat() < .25f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("AncientBoneDust")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.GreekSkeleton) | ||
{ | ||
if (Main.rand.NextFloat() < .25f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("AncientBoneDust")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.ArmoredSkeleton) | ||
{ | ||
if (Main.rand.NextFloat() < .25f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("AncientBoneDust")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.SkeletonArcher) | ||
{ | ||
if (Main.rand.NextFloat() < .25f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("AncientBoneDust")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.IceTortoise) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("EssenceOfEleum")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.IcyMerman) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("EssenceOfEleum")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.IceElemental) | ||
{ | ||
if (Main.rand.NextFloat() < .50f) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("EssenceOfEleum")); | ||
} | ||
} | ||
|
||
if (npc.type == NPCID.IceGolem) | ||
{ | ||
Item.NewItem(npc.getRect(), mod.ItemType("EssenceOfEleum"), 2); | ||
} | ||
// Addtional if statements here if you would like to add drops to other vanilla npc. | ||
} | ||
} | ||
} |
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,18 @@ | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items | ||
{ | ||
class AncientBoneDust : ModItem | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
item.maxStack = 999; | ||
item.consumable = false; | ||
item.value = 100; | ||
item.rare = 1; | ||
} | ||
|
||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items | ||
{ | ||
class BeetleJuice : ModItem | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
item.maxStack = 999; | ||
item.consumable = false; | ||
item.value = 1600; | ||
item.rare = 5; | ||
} | ||
|
||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items | ||
{ | ||
class BlightedLens : ModItem | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
item.maxStack = 999; | ||
item.consumable = false; | ||
item.value = 5600; | ||
item.rare = 5; | ||
} | ||
|
||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items | ||
{ | ||
class BloodOrb : ModItem | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
item.maxStack = 999; | ||
item.consumable = false; | ||
item.value = 120; | ||
item.rare = 1; | ||
} | ||
|
||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items | ||
{ | ||
class DesertFeather : ModItem | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
item.maxStack = 999; | ||
item.consumable = false; | ||
item.value = 20; | ||
item.rare = 1; | ||
} | ||
|
||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items | ||
{ | ||
class EssenceOfEleum : ModItem | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
item.maxStack = 999; | ||
item.consumable = false; | ||
item.value = 4000; | ||
item.rare = 5; | ||
} | ||
|
||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items | ||
{ | ||
class MurkyPaste : ModItem | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
item.maxStack = 999; | ||
item.consumable = false; | ||
item.value = 200; | ||
item.rare = 1; | ||
} | ||
|
||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace calamityVanillaItemRecipeChanges.Items.Placeable | ||
{ | ||
public class AlchemicalMaterialManipulator : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
Tooltip.SetDefault("An Ancient Manipulator with the power to change water into potions."); | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
item.width = 28; | ||
item.height = 14; | ||
item.maxStack = 99; | ||
item.useTurn = true; | ||
item.autoReuse = true; | ||
item.useAnimation = 15; | ||
item.useTime = 10; | ||
item.useStyle = ItemUseStyleID.SwingThrow; | ||
item.consumable = true; | ||
item.value = 150; | ||
item.rare = 10; | ||
item.createTile = ModContent.TileType<Tiles.AlchemicalMaterialManipulator>(); | ||
} | ||
|
||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.