You are viewing a potentially older version of this package. View all versions.
itsschwer-PressureDrop-2.1.0 icon

PressureDrop

Drop items for sharing or removing using a /drop chat command — [ server-side ] — compatible with SotS and earlier patches

Date uploaded 3 months ago
Version 2.1.0
Download link itsschwer-PressureDrop-2.1.0.zip
Downloads 3499
Dependency string itsschwer-PressureDrop-2.1.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2113 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2113
RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
itsschwer-ServerSider-1.6.0 icon
itsschwer-ServerSider

Loop after defeating Mithrix via a portal inside the Rescue Ship; Configure pressure plates to stay pressed down for a duration; Quit to Lobby button; Teleport out of bounds items; and other small gameplay changes (check the README!) — [ server-side ]

Preferred version: 1.6.0

README

pressure drop

A [ server-side / host-only ] mod that adds a /drop item (/drop <itemnamenospaces> [@]) chat command.

why?

sometimes I [ take the wrong item / want to help others catch up ].

balance

strategic! a typing challenge!

  • sacrifice more time than at a Scrapper to reduce the risk of a Printer or Cauldron taking the wrong item
  • more opportunities to use the Recycler
  • leave items for your allies:
    • to help distribute the wealth
    • to help them win against the Teleporter boss (you died)
  • can remove items you are not having fun with
  • can spread void items between players

/drop item command
gif demonstration of /drop item command

configurable

/reload can be used to apply changes made to the configuration file without needing to restart the game (must be hosting a run to use)

  • the drop command can be disabled
  • the ability to send items to the Teleporter can be disabled
  • the ability for dead players to drop items can be disabled
  • the ability to drop void items can be enabled
  • the drop direction can be inverted (i.e. drop behind instead of drop in front)
  • the maximum amount of items to drop to at a time can be configured as you see fit (default: 10, to match Scrappers)
  • which item tiers should be recyclable when dropped can be configured as you see fit (default: only white and green)

see also

  • DropItem v1.3.0 by Thrayonlosa — similar /drop functionality, inspired this implementation
    • can drop equipment
    • can drop from another player's inventory
    • only drops around the executing player (must be alive)
    • not configurable (e.g. max drop stack size, recyclability)
    • drops [ consumed / broken ] items
    • drops all shoot in same direction — scatters messily once landed
      • drop direction is fixed (rather than using aim direction)

end

  • a tip: /d . can be used to drop the newest item type in your inventory — experiment!

CHANGELOG

2.1.0

  • Move features to ServerSider src
    • Configuration option to change void tier pickup rule from ConfirmFirst to ConfirmAll
  • Change visibility of various members from public to internal
  • Code refactoring

2.0.1

  • Fix changelog for version 2.0.0
    • Document missing removal of pressure plate component
    • Restructure for readability

2.0.0

  • Move features to ServerSider src
    • Configuration option to adjust pressure plates (Abandoned Aqueduct) to stay pressed down for a duration
    • Configuration option to send a chat notification listing the items that are consumed when a Scrapper, 3D Printer, Cleansing Pool, or Cauldron is used
      • Configuration option to include Item Scrap in the printed list
    • Note: PressureDrop may eventually be completely merged into ServerSider one day
      • This mod now only implements the chat command for dropping items (and the "void pick up confirm all rule")
  • Move features to HUDdleUP src
    • Configuration option to show chat history when the scoreboard is open

1.5.1

  • Fix Longstanding Solitude not being matched by the /drop command
    • Allows Longstanding Solitude to be dropped

1.5.0

  • Add configuration option to send a chat notification listing the items that are consumed when a Scrapper, 3D Printer, Cleansing Pool, or Cauldron is used
    • Add a configuration to include Item Scrap in the printed list
  • Rework tweak to show chat history when the scoreboard is open
    • Now doesn't reset the fade out progress
    • Change default value of configuration option scoreboardShowChat to true
  • Code refactoring

1.4.1

  • Start assembly versioning
  • Add suggested syntax section to developers.md
  • [Dropping items] Try optimise Devotion Update compatibility
    • (Cache the reflection method)

1.4.0

  • Change default value of configuration option voidPickupConfirmAll to true
  • [ChatCommander] Remove empty arguments when parsing chat commands
    • e.g. /d kja is now equivalent to /d kja
  • [Dropping items] Fix attempt to make compatible with pre-Devotion Update, Devotion Update, and Seekers of the Storm
    • Tested on Devotion Update and Seekers of the Storm patch
    • Untested on pre-Devotion Update

1.3.2

  • [Dropping items] Attempt to make compatible with pre-Devotion Update, Devotion Update, and Seekers of the Storm [SotS]
    • Haven't tried rolling back to a pre-SotS patch to test if this works, please report any issues to the GitHub repository

1.3.1

  • Fix MissingMethodException when calling PickupDropletController.CreatePickupDroplet (introduced by the Devotion Update)
    • Fix items being removed from the inventory but not being droppped when trying to use the /drop command
    • Not sure how this affects previous versions of the game, please report any issues to the GitHub repository

1.3.0

  • Add configuration option to show chat history when the scoreboard is open
  • Remove configuration option to change Void Fields' fog effect to start when a Cell Vent is activated, rather than on entry

1.2.0

  • Add configuration option to change void tier pickup rule from ConfirmFirst to ConfirmAll
  • Add configuration option to change Void Fields' fog effect to start when a Cell Vent is activated, rather than on entry

1.1.1

  • Add demo gifs to readme
  • Create developers.md
  • [ChatCommander] Log source assembly when registering command
  • Mark Drop as public

1.1.0

  • Add configuration option dropInvertDirection
    • Controls whether items should be dropped opposite the aim direction or not
  • Rework how chat commands are handled
    • (Hook Console.RunCmd instead of listening to Chat.onChatChanged)
    • Prevent propagation of 'say' command if a chat command is matched
      • Hopefully avoids triggering any "unable to find command" messages from other mods implementing chat commands

1.0.4

  • Refactor code
  • Prevent generating extraneous RoR2BepInExPack 'Hook removed' messages
  • Mark Config as public

1.0.3

  • Include syntax for /drop in readme

1.0.2

  • Thunderstore release
  • Add log message on awake

1.0.1

  • Use GitHub Actions to generate releases
  • Tiny code clean up

1.0.0

  • Initial release