tell me how to get the value [2] from world.liquidAt Code: my_value = world.liquidAt (mcontroller.position())
Code: function MyLiquid() return world.liquidAt (mcontroller.position()) end function Update(dt) MyWaterLevel = MyLiquid()[2]
Also some useful information on using the function, https://github.com/xxswatelitexx/Starbound/tree/master/mad_Exp/liquid_furnace and https://github.com/xxswatelitexx/Starbound/tree/master/madExp-Depreciated/madExp_FarmableConditions