Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "Private"
- local original_canBeCaptured = Private.canBeCaptured;
- Private.canBeCaptured = function(square)
- -- replace isPVPZone with function that check if player is inside area that doesn't allow capture
- if isPVPZone(square) then
- return getText("Explain why safehouse can't be captured (e.g. nonPVP zone)");
- end
- return original_canBeCaptured(square);
- end
Advertisement
Add Comment
Please, Sign In to add comment