Room.lookAt doesn't include ruins



  • The method room.lookAt() and lookAtArea() don't include ruins currently (maybe also for RoomPosition.look(). I guess this has been forgotten in the recent update or is it intended?

    In "src/game/rooms.js" it can see that LOOK_RUINS is not provided in the "_lookAreaMixedRegister" calls in the "Room.prototype.lookAtArea" and "Room.prototype.lookForAtArea" methods.



  • To confirm, as you suspected, RoomPosition.look() also doesn't mention Ruins, need to use lookFor(). Since tombstones do show up it's reasonable to expect ruins also...


  • Dev Team

    Thanks for the report, I'll take a look


  • Dev Team

    The fix is deployed, it should be solved now.

    👍