You are viewing a potentially older version of this package. View all versions.
ThinkInvis-Yeet-3.0.1 icon

Yeet

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

Date uploaded 2 years ago
Version 3.0.1
Download link ThinkInvis-Yeet-3.0.1.zip
Downloads 51545
Dependency string ThinkInvis-Yeet-3.0.1

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2103 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2103
RiskofThunder-R2API_Core-5.0.6 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.0.6
RiskofThunder-R2API_Prefab-1.0.1 icon
RiskofThunder-R2API_Prefab

API for Prefab creation, networking and duplication

Preferred version: 1.0.1
ThinkInvis-TILER2-7.3.4 icon
ThinkInvis-TILER2

ThinkInvisible's Library of Extras for RoR2 -- modularization/boilerplate and multiplayer config sync tools for other mods.

Preferred version: 7.3.4

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.