Mods / Whack'Em!

Tags: #Crafting #QoL #Utility
Author: Asraiel
Side: Both
Created: Jul 31st 2021 at 12:04 AM
Last modified: Mar 17th 2022 at 3:38 PM
Downloads: 1416
Follow Unfollow 19

Latest release (for Vintage Story 1.16.4, outdated):
whackem_v0.0.2.zip  1-click install


Are you tired of pushing your sheep around? Don't want to flood your village anymore to move some pigs? Domesticated animals are just not scared of you anymore? Fear not! This mod might be for you.

 

  • Adds a craftable Shepherd's Crook that can:
    • anger animals
      • makes them attack you
    • scare animals
      • makes them flee
    • calm animals
      • removes their current actions (works kind of inconsistently)
  • switch functionality via tool mode (F)
  • crafted from sticks, bones and small or medium pelts
  • fixed durability of 500
  • configurable durability costs
  • configurable minimum generation per tool mode

 

If you have any issues or questions, please hit me up on Discord or comment here.

 

Big Thanks to McBain for offering to update this to 1.16!

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
0.0.2 818 Mar 17th 2022 at 3:38 PM whackem_v0.0.2.zip 1-click install

Update generously provided by McBain! Updated to 1.16.4. Updated calming method, but should have no impact on functionality.

0.0.1 598 Jul 31st 2021 at 12:05 AM WhackEm_v0.0.1.zip 1-click install

initial release


2 Comments (oldest first | newest first)

💬 SGTSylver, Oct 9th 2021 at 3:37 PM

Version: v1.15.5 (Stable)9/27/2021 11:24:10 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ShepherdsCrook.ItemShepherdsCrook.IsLifestock(EntitySelection entitySel)
at ShepherdsCrook.ItemShepherdsCrook.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsNoBlockSelected(Single dt)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt)
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt)
at _EMxDKvc7iN7J6hlNFQiKeoxg0Mm._ra0MgpFbqkfgNETNlZ5CppyVnhE(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._iIGaTXNE8VYTpgEu9zjpAQyJSxd(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._vCB99EztL7cSfmplK8tyTwrQQxC(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _q065sSmA3CNgGuKTGnlAjR4ljPw._WkSl7yfiyr5DwPiSMvTudNAhp6(_t3ILnyYBq5OoYhhBY3JeTWgFmJDA , String[] )
at _DBu5wiQWRAHGS5G2jiCKymvQ9yE._WkSl7yfiyr5DwPiSMvTudNAhp6(ThreadStart )
-------------------------------
Version: v1.15.5 (Stable)10/7/2021 11:03:14 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ShepherdsCrook.ItemShepherdsCrook.IsLifestock(EntitySelection entitySel)
at ShepherdsCrook.ItemShepherdsCrook.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, EnumHandHandling& handling)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsNoBlockSelected(Single dt)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt)
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt)
at _EMxDKvc7iN7J6hlNFQiKeoxg0Mm._ra0MgpFbqkfgNETNlZ5CppyVnhE(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._iIGaTXNE8VYTpgEu9zjpAQyJSxd(Single )
at _Wwq7msw90Af4XU7mxkxAUKyrS5B._vCB99EztL7cSfmplK8tyTwrQQxC(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _q065sSmA3CNgGuKTGnlAjR4ljPw._WkSl7yfiyr5DwPiSMvTudNAhp6(_t3ILnyYBq5OoYhhBY3JeTWgFmJDA , String[] )
at _DBu5wiQWRAHGS5G2jiCKymvQ9yE._WkSl7yfiyr5DwPiSMvTudNAhp6(ThreadStart )
-------------------------------

💬 SGTSylver, Oct 8th 2021 at 3:15 AM

This mod doesn't seem to be working. Use of the crook results in a crash. 

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом