… | |
… | |
645 | MTH void create_treasure (treasurelist *tl, int flags = 0); |
645 | MTH void create_treasure (treasurelist *tl, int flags = 0); |
646 | |
646 | |
647 | // insert object at same map position as 'where' |
647 | // insert object at same map position as 'where' |
648 | // handles both inventory and map "positions" |
648 | // handles both inventory and map "positions" |
649 | MTH object *insert_at (object *where, object *originator = 0, int flags = 0); |
649 | MTH object *insert_at (object *where, object *originator = 0, int flags = 0); |
|
|
650 | // check whether we can put this into the map, respect max_nrof, max_volume, max_items |
|
|
651 | MTH bool can_drop_at (maptile *m, int x, int y, object *originator = 0); |
650 | MTH void drop_unpaid_items (); |
652 | MTH void drop_unpaid_items (); |
651 | |
653 | |
652 | MTH void activate (); |
654 | MTH void activate (); |
653 | MTH void deactivate (); |
655 | MTH void deactivate (); |
654 | MTH void activate_recursive (); |
656 | MTH void activate_recursive (); |