ivan icon indicating copy to clipboard operation
ivan copied to clipboard

Sol stone has negative volume, causes crash when splitting

Open Coolthulhu opened this issue 5 years ago • 3 comments

Splitting expects positive volume, but sol stone is made of obsidian, which has positive density, so its negative weight means negative volume. Attempting to split a sol stone or the negative volume obsidian stone created from it will crash the game.

Coolthulhu avatar Nov 21 '19 23:11 Coolthulhu

Ha! Apt, but the crash is unintended. Another good experiment, thanks @Coolthulhu

ryfactor avatar Nov 22 '19 00:11 ryfactor

Items with negative weight/volume should, when you attempt to dismantle them, be removed with a message: "%s disappears in a puff of logic." :)

red-kangaroo avatar Nov 22 '19 14:11 red-kangaroo

Incidentally, it seems the code does not crash, but rather aborts when the game checks whether crafting didn't result in more material than it started with. When you split the -1000g sol stone into eg. 3 pieces, you get 3x -333g due to rounding, which is technically more than you started with...

red-kangaroo avatar Jan 10 '20 12:01 red-kangaroo