38 return ( slot_number > 0 ) ?
54 return world->
Drop(
this, x, y, z, 1, 0, 1);
56 return world->
Drop(
this,
X(),
Y(),
Z()-1, 1, 0, 1);
bool Get(Block *block, int start) override
Returns true on success.
Container is multi-purpose container for blocks.
static QString SubName(int sub)
Returns translated substance name.
bool Drop(Block *from, int x_to, int y_to, int z_to, int src, int dest, int num)
Returns true on success.
World provides global physics and shred connection.
Filter(int kind, int sub)
QString FullName() const override
virtual bool Get(Block *block, int start=0)
Returns true on success.
Block * ShowBlock(int slot) const
bool Focus(int x, int y, int z, int *x_targ, int *y_targ, int *z_targ, dirs dir) const
False on error, true if focus is received to _targ successfully.
const int FILTER_INV_SIZE
Block without special physics and attributes.
virtual QString InvFullName(int num) const
QString InvFullName(int slot_number) const override