break_infinity.s.js
v1.2.5
Published
Fork of break_infinity.js by Patashu. All changes made to allow properly serializing the Decimal objects
Downloads
13
Maintainers
Readme
Forked from: https://github.com/Patashu/break_infinity.js
My version of break_infinity.js I mostly doing random changes to fit with my game's code!
- Removed
Decimal.toString()
andDecimal.toJson()
, since it doesn't allow you to useJSON.Stringify()
(at least i remember it being so, probably need to recheck that one. but anyway main reason i did it, Decimal object wasn't able to correctly be saved/loaded with json because of it. now it works like a charm) - Added
doPlus
,doMinus
,doTimes
,doDivide
functions, to change a Decimal object in-place, without creating a new one