Commit of decompiled and "updated" code.

This commit is contained in:
Big Duckie
2022-07-03 14:13:26 -06:00
parent 3d34e53842
commit e1441e74a5
731 changed files with 18423 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.NPCs;
public class VanillaNPCShop : GlobalNPC
{
public override void SetupShop(int type, Chest shop, ref int nextSlot)
{
if (type == 17)
{
shop.item[nextSlot].SetDefaults(75, false);
nextSlot++;
shop.item[nextSlot].SetDefaults(150, false);
shop.item[nextSlot].shopCustomPrice = 100;
nextSlot++;
}
if (type == 20)
{
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Items.Items.PetSummons.SuspiciousFlower>(), false);
nextSlot++;
}
}
}