ZDoom / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://zdoom.org
GNU General Public License v3.0
2.33k stars 526 forks source link

[Feature] Amount reduction upon leaving a map for items without INVBAR flag #2564

Closed Blue-Shadow closed 1 month ago

Blue-Shadow commented 1 month ago

GZDoom version

No response

Which game are you running with GZDoom?

None

What Operating System are you using?

None

If Other OS, please describe

No response

Relevant hardware info

No response

Is your feature request related to a problem? Please describe.

I'd like a feature that allows items which don't have the INVBAR flag set to still be subjected to the amount reduction code upon leaving from one map to another outside of a hub.

Describe the solution you'd like

An inventory flag, or having the mode argument of PlayerPawn.PlayerFinishLevel() passed to Inventory.PreTravelled() so I can do my own code?

Describe alternatives you've considered

No response

Add any other context or screenshots about the feature request here.

No response

Blue-Shadow commented 1 month ago

I've managed to come up with an adequate workaround, so I don't need this anymore.