Skip to content

Update bookcase code

Rob Nelson requested to merge pull/6525/Bookcase into Bleeding-Edge

Created by: dylanstrategie

  • Update general check when trying to remove a book from the shelf. This means you should now be able to grab books from the shelf while sitting on a chair or on a vehicle
  • Use a type list to clarify what can fit in the bookcase. Fixes bibles, tomes and spell books not auto-entering the bookcase on initialize and getting nuked by explosions no matter what
  • Changed deconstruction method from screwdriver to help intent crowbar to align with wiki. Deconstruction now refunds the books
  • Standardized healthcheck() and Destroy() procs, attack messages, busy checks on decon
  • Use visible_message, typecasts and forceMove() whenever applicable

Fixed #3842 (closed)

Merge request reports