userJakbcancel
branchrust_reboot/main/hackweek_fractional_water_pouringcancel

4 Commits over 0 Days - ∞cph!

Yesterday
Reworked pouring so it uses a start and stop RPC. Holding left mouse button will pour (up to) 50ml out of the container every 0.5s (100ml/s), stop holding left mouse button and pouring stops. Needs bespoke animations and visual effects, something like a continuous stream pouring out when the item is tilted over. Video: https://files.facepunch.com/jacob/1b1211b1/Unity_0KbTAw2Am2.mp4
2 Days Ago
Left mouse button when holding a water jug / water bucket now pours (up to) 5% of the container's max amount from its inventory. Still needs animation setup. A gradual pour over time rather than a throw of a smaller amount may be nicer, needs more thinking. Video: https://files.facepunch.com/jacob/1b1111b1/Unity_Q6cXeVt4NE.mp4
3 Days Ago
Rearranged logic in OnPrimaryAttackHeld to make that the method that requests pouring
3 Days Ago
Liquid vessels that could throw out all their contents with left mouse button now require holding ALT at the same time to throw out all contents - making way for left mouse button by itself to gradually pour water