Allow mods to access the tank's trash inventory
Posted: Sun Dec 22, 2024 5:13 pm
TL;DR
Allow mods to access the tank's trash inventory by providing a proper inventory defines constant.What?
Currently, there is no symbolic constant in defines.inventory for the tank's trash inventory to use with get_inventory. There is only car_trunk and car_ammo.Experimentally, I found that spider_trash (4) works with the tank too, retrieving its trash inventory, but it's not clear whether that is guaranteed. If that is intentional, I suggest adding a sentence of documentation to spider_trunk clarifying that it works for the tank too. If not, I request a car_trash symbolic constant.