ThinkInvis-Yeet icon

Yeet

Toss all your items! To other players, or right under a boss, or off a cliff...

Last updated 3 weeks ago
Total downloads 102840
Total rating 21 
Categories Mods Tweaks Server-side
Dependency string ThinkInvis-Yeet-3.0.1
Dependants 47 other mods depend on this mod

This mod requires the following mods to function

bbepis-BepInExPack-5.4.1902 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.1902
tristanmcpherson-R2API-4.0.11 icon
tristanmcpherson-R2API

A modding API for Risk of Rain 2

Preferred version: 4.0.11
ThinkInvis-TILER2-7.1.0 icon
ThinkInvis-TILER2

ThinkInvisible's Library of Extras for RoR2.

Preferred version: 7.1.0

README

Yeet

Description

Clicking an item or equipment in your inventory will remove one stack of it and forcefully toss it in the direction you're aiming. Functions on both client and server by way of the yeet [item name/index] console command, which may also be used on its own.

Holding the mouse button down for longer will throw the item farther.

Config options include (default values):

  • Server:
    • Blacklist, prevent dropping:
      • Items and equipment by name token (none)
      • Items by tier (Lunar and all Void)
      • Tierless/hidden/non-removable items (all on)
      • Non-Lunar or Lunar equipment (both off)
      • All items (off)
      • All equipment (off).
    • Cooldown on dropping (10s) and on picking up items you just dropped (5s)
    • Prevent Recycler on dropped items (on)
    • Drop Command droplets if relevant artifact is active (off)
    • Limit maximum allowable items dropped per click if dropping multiple (1/off)
    • Entirely disable mod temporarily (on/not disabled)
    • Announce dropped items in chat (on)
    • Minimum and maximum throw force (30, 150)
  • Client:
    • Make left and/or right click drop multiple items (1/off, 1/off)
    • Click hold time required to reach maximum throw force (2 sec)

Issues/TODO

  • Doesn't support controllers.
  • Could do with some sort of UI indicator that items can be clicked.
  • "Drop last valid pickup" command/keybind.
  • Primary skill is fired while clicking in inventory to drop items (the alternative is 'sticky' UI focus when adding buttons; picked lesser of two evils for now).
  • See the GitHub repo for more!

Changelog

The 5 latest updates are listed below. For a full changelog, see: https://github.com/ThinkInvis/RoR2-Yeet/blob/master/changelog.md

3.0.1

  • Fixed only one item being removed from inventory while dropping multiple copies of that item.
  • Slightly optimized order of checks before dropping an item.

3.0.0

  • Made serverside blacklist configs more granular.
    • Added BlacklistTier and BlacklistItem comma-delimited strings. BlacklistItem affects equipments, too.
    • Added PreventLunarEquipment and PreventNonLunarEquipment booleans for equipments.
    • Added PreventHidden, PreventCantRemove, and PreventTierless booleans for items.
    • PreventLunar and PreventVoid have been removed (merged into tier blacklist).
  • Added an option to announce dropped items to all players in chat, enabled by default.
  • Added an option to drop multiple items per click, disabled by default.
  • Added an option to drop differing item counts between left and right click, disabled by default.
  • ConCmdYeet now uses chat to tell the calling player why it failed in some cases.
  • Removed code that was still unnecessarily treating TILER2 as a soft dependency.
  • Switched to TILER2 NetUtil for networked chat messages, was previously using an internal implementation.
  • Updated dependencies, and updated lang version to C#9.

2.2.0

  • Moved configs from manual implementation to TILER2.AutoConfig. Added Risk Of Options support.
  • Changed TILER2 dependency type to a hard dependency (v7.0.1).
  • Recompiled for latest game version.

2.1.1

  • Fixed yeet_on convar defaulting to 0 (intended default value is 1).

2.1.0

  • Added a server convar (yeet_on) that enables/disables most mod functionality.

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-7-18 3.0.1 6225 Version 3.0.1 Install
2022-7-4 3.0.0 4173 Version 3.0.0 Install
2022-4-21 2.2.0 14338 Version 2.2.0 Install
2022-4-15 2.1.1 3469 Version 2.1.1 Install
2022-4-14 2.1.0 367 Version 2.1.0 Install
2022-3-15 2.0.1 9296 Version 2.0.1 Install
2022-3-11 2.0.0 2494 Version 2.0.0 Install
2022-3-8 1.2.3 1883 Version 1.2.3 Install
2022-3-7 1.2.2 665 Version 1.2.2 Install
2021-5-20 1.2.1 27334 Version 1.2.1 Install
2020-9-9 1.2.0 26226 Version 1.2.0 Install
2020-8-28 1.1.2 3822 Version 1.1.2 Install
2020-8-28 1.1.1 350 Version 1.1.1 Install
2020-7-13 1.1.0 1996 Version 1.1.0 Install
2020-7-12 1.0.0 202 Version 1.0.0 Install