Rename water_source into liquid_source. Do mind the compatibility as some things do use water_source and must be adapted for the new thing. Make it an examine actor and allow an argument to specify the liquid item to be dispensed.
Also handle finite liquid sources appropriately.
Is your feature request related to a problem? Please describe.
Right now only sewage, liquid cacao(?!), water and salt water have working liquid sources because they are hardcoded:
https://github.com/CleverRaven/Cataclysm-DDA/blob/711754cea17d523ac5b05e2b0882a39e297b3dea/src/map.cpp#L5772-L5795
Solution you would like.
Rename
water_source
intoliquid_source
. Do mind the compatibility as some things do usewater_source
and must be adapted for the new thing. Make it an examine actor and allow an argument to specify the liquid item to be dispensed. Also handle finite liquid sources appropriately.Describe alternatives you have considered.
No response
Additional context
No response