Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- using Microsoft.Xna.Framework;
- using Terraria.ModLoader;
- using Terraria;
- using Terraria.ID;
- using Terraria.DataStructures;
- using Terraria.Utilities;
- using Microsoft.Xna.Framework.Graphics;
- namespace OmegasArsenal.NPCs
- {
- public class PinkJellyfish : GlobalNPC
- {
- public override bool InstancePerEntity
- {
- get
- {
- return true;
- }
- }
- public override void NPCLoot(NPC npc)
- {
- if (npc.type == NPCID.PinkJellyfish)
- {
- if (Main.rand.Next(1) == 0)
- Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("GreenMucos"));
- Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, ItemID.PurpleMucos;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment