Warriors-Haven-Gaming / Zombie-Framework

An open world multiplayer mission using RyanD's Zombies and Demons mod.
MIT License
2 stars 0 forks source link

Allow players to refund their last vehicle purchase #13

Closed thegamecracks closed 9 months ago

thegamecracks commented 9 months ago

Is your feature request related to a problem? Please describe. Sometimes players accidentally buy a vehicle they don't want, and don't have an easy way to recover the cost.

Describe the solution you'd like An action should be included in the vehicle shopkeeper that allows players to refund their last purchase. The vehicle must be alive and purchased within the last two minutes. The action should only appear when there is a vehicle to refund. If the player purchases multiple vehicles, they should be able to refund those vehicles, starting with the most recent purchase. It would also be nice if this feature could be used for purchased supply boxes and AI recruits.

Describe alternatives you've considered It could be made so if the player buys more than one vehicle, the last vehicle is refunded. However, that requires more points and prevents players from buying multiple vehicles.

Additional context Some technical details of a possible implementation: