Not logged inOpenClonk Forum
Up Topic New LiquidPump System

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to ST-DDT
i hope i don't miss the point

but the liquidtank libary could be used within the steamengine or powerplant.
Steamengine.c:
#include Libary_LiquidTank

FuelCheck(){
if (iLiquidAmount<=0)
  return false;
iLiquidAmount--;
return true;
}

and the LiquidBarrelFiller lib could be used in base/basis/castle

You avoid doublicate code, and with one eye on the beginning of the file you can see, this building does .... + ... and handles liquid like X

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill