CleverRaven/Cataclysm-DDA — pull request #4190 by axujen (2013-11-06 12:01:24+00:00)
Title: [WIP] Remember vehicle fuel tanks charges when removing/installing.

Addresses issue #2089
Fuel will be stored in the metal tank when it is removed from a vehicle.
The tank will use the correct amount of fuel it was holding when it was installed (ie: it will not drain other tanks)

There are two issues however, when you remove an item from a vehicule it is dropped to the ground, because of my limited knowledge in cpp i was not able to get a reference to the item so instead the game will now put the item in the players invetory.
Second, water tanks capacity is right now very weird, they hold more liquids than they should be so now you when remove a water tank, you will have a metal tank of clean water with 400 charges. Im open to suggestions for this one.

Putting pack the fuel inside the vehicle when installing is not yet implemented.
PS: right now you have to empty tanks in order to be able to install them since metal tank of * is not recognized by the vehicle consturction menu