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

PressureDrop

Adds configurable timed pressure plates and a /drop item chat command — [ server-side ]

Date uploaded a month ago
Version 1.3.1
Download link itsschwer-PressureDrop-1.3.1.zip
Downloads 1921
Dependency string itsschwer-PressureDrop-1.3.1

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

README

pressure drop

A [ server-side / host-only ] mod that adds configurable timed pressure plates (Abandoned Aqueduct) and a /drop item (/drop <itemnamenospaces> [@]) chat command.

why?

I wanted to make activating the pressure plates more accessible (no more waiting for friends / pushing pots).


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

balance

probably reduces some pressure


  • how long a pressure plate stays pressed can be configured as you see fit (default: 30s)

timed pressure plate (config: 3s) gif demonstration of timed pressure plate


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)


  • how long a pressure plate stays pressed can be configured as you see fit (default: 30s)
    value behaviour
    0 disable (vanilla)
    (any negative value) pressure plates stay down forever once pressed
    (any positive value) pressure plates stay down for the specified number of seconds

  • 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
  • which item tiers should be recyclable when dropped can be configured as you see fit (default: only white and green)

extra

  • the option to show chat history when the scoreboard is open can be enabled (client-side)
  • the option to change void items to always require confirmation before being picked up can be enabled
    • intended to encourage sharing void items in multiplayer when the ability to drop void items is disabled

see also

  • DropItem 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)

developers

If you'd like to implement your own chat commands, you can include this plugin as a dependency and register your commands using ChatCommander — please refer to this guide!

end

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

CHANGELOG

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
  • Removed 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