


" public override bool SetupShop(Item shop)"


With this update, the only NPCs with a secondary function remaining require the NPC dialog screen, so I shouldn't be able to implement them.Īlso the Right click code interface for VendingMachineItems was changed to include the VendingMachineData of the vending machine being used, and the Invisible NPC spawner was made "public static" The Hair Dryer also counts as a chair for your house, if you need one. All machines are made the same as the others (requiring specific souls) except for the Hair Dryer, which requires Silk instead of Glass. Version 1.2 adds the ATM, a Tax Collector based Machine that collects taxes, the Dye Ball Machine, a Dye Trader machine that allows for trading Strange Plants for Dyes, and the Hair Dryer, a Stylist based machine that allows you to color and style your hair. Both these machines can be used as an example for building machines with custom Right-click code. This m od also includes the "Easy Vending Machine", an example vending machine that sells health and mana potions that is coded completely without an equivalent NPC.Īs of version 1.1, it also includes the "Guide's Crafting Help Machine", that allows for access to the crafting help interface from the Guide, which requires the "Soul of the Guide" and the remaining regular vending machine crafting items, and a "Reforge Machine" crafted from the "Soul of the Goblin Thinkerer" and vending machine crafting items, which allows for reforging, same as the Goblin Tinkerer. The Travelling and Skeleton Merchant's shops change based on the day you are on, or if one of them spawns in your world. The Nurse Vending Machine is special: It will heal you at the cost the nurse would with a right click (it had to be implemented like that due to limitations).
