Advertisement
XenoTheStrange

Redundant DeepRim bugtesting journal

Mar 2nd, 2024
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. **Long version:**
  2. Weird behavior and exceptions when deconstructing or destroying mine shaft under different circumstances. I will label these scenarios.
  3. **Scenario 1:**
  4. - `Deconstructing` a mine shaft when `New Layer` is selected throws an exception when a pawn finishes deconstructing.
  5. - The mine shaft is _not deconstructed_ and the pawn continues attempting to deconstruct it.
  6. - Attempting this using God Mod does absolutely nothing
  7. **Scenario 2:**
  8. - `Deconstructing` a mine shaft when `Layer at depth: ##m` is selected throws an exception when the pawn finishes deconstructing (sometimes???).
  9. - The mine shaft _is deconstructed_.
  10. - **The selected layer is destroyed**, which is unexpected. Other layers that were dug will persist.
  11. **Scenario 3:**
  12. - `Destroying` a mine shaft when `New Layer` is selected will throw an exception relating to whatever is trying to destroy the shaft until a layer is selected ()
  13. - The mine shaft will remain with 0hp until a layer is selected (or it is repaired slightly)
  14. **Scenario 4:**
  15. - `Destroying` a mine shaft when `Layer at depth: ##m` is selected will throw an exception relating to the underground lift (sometimes???)
  16. - The mine shaft is _destroyed_
  17. - The selected layer is _destroyed_
  18. - Other layers persist
  19. The exceptions in Scenarios 1 and 3 are likely caused by a call to `MiningShaft.Abandon()` / SyncMap failing when there is no layer selected to be abandoned, as this error isn't thrown when a layer is selected.
  20. 2 and 4 are caused by an underground lift without a parent
  21. Destroying a single layer when the mine shaft is deconstructed or destroyed is undesirable behavior
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement