ralke
(҂ ͠❛ ෴ ͡❛)ᕤ
- Joined
- Dec 17, 2011
- Messages
- 1,759
- Solutions
- 31
- Reaction score
- 999
- Location
- Santiago - Chile
- GitHub
- ralke23
- Twitch
- ralke23
Hi there! I use TFS 1.5 downgrades 8.6. When you use !leavehouse the items are sent to the Locker box that corresponds to the house town. What I actually need is that the items go to the depot chest (that grey box inside lockers) instead of lockers. The reason behind this is that I use towns for a PvP system, so I would like to use the only town that player's can't pick as main town for depots.
To try this I checked
and tried changing
for
but that doesn't work. Any other idea of how can I achieve what I need? Thanks in advance!
Regards
To try this I checked
C++:
bool House::transferToDepot(Player* player) const
and tried changing
C++:
DepotLocker* depot = player->getDepotLocker(townId);
for
C++:
DepotLocker* depot = player->getDepotChest();
but that doesn't work. Any other idea of how can I achieve what I need? Thanks in advance!
Regards
