diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index e47c942fe83a503bb66657ee59c1952962eeb7c9..98242f8176c67fd6ee84b5fe67c6dfac81a58e96 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -2,6 +2,13 @@ 0.10.7.1-1.1.x +12/01/2018 + + 5 + -fixes + -QoL improvements + -possible performance boost + 11/30/2018 4 diff --git a/devNotes/sugarcube stuff/important for updating sugarcube.txt b/devNotes/sugarcube stuff/important for updating sugarcube.txt index 8aae5403d6622717b5a36d8b350cb40b051173d6..dc87ab303bead6b0a366c9618beb4bae2afebd39 100644 --- a/devNotes/sugarcube stuff/important for updating sugarcube.txt +++ b/devNotes/sugarcube stuff/important for updating sugarcube.txt @@ -11,12 +11,18 @@ Edit the sugarcube header and change: ... return Object.freeze + + {return LZString.compressToUTF16(JSON.stringify(e))}},{key:"_deserialize",value:function(e){return JSON.parse(LZString.decompressFromUTF16(e))}}]),e}(); + + Into this [{key:"_serialize",value:function(e) + /* look here for changes */ {return JSON.stringify(e)}},{key:"_deserialize",value:function(e){return JSON.parse((!e || e[0]=="{")?e:LZString.decompressFromUTF16(e))}}]),e}(); /* changes end here */ + return Object.freeze @@ -43,8 +49,8 @@ This uses two separate methods to detect if we are returning to the same page. no harm in this approach either. -CHANGE 3: Possible long term improvement? -========================================= +CHANGE 3: Ignore expired array +============================== return e?t.history=clone(W):t.delta=A(W),V.length>0&&(t.expired=[].concat(_toConsumableArray(V))),null!==F&&(t.seed=F.seed),t}function a(e,t){ diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index b912fd3013c9f187340f2c22e25ce86327016286..34ef147e6420886d86279cb8af9d708e59675746 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -1,5 +1,6 @@ config.history.maxStates = 1; /* If you remove this, I will fucking yell at you. Stop. Doing. It. */ config.saves.autosave = "autosave"; +State.expired.disable; /*:: StoryJS [script]*/ diff --git a/src/SecExp/SecExpBackwardCompatibility.tw b/src/SecExp/SecExpBackwardCompatibility.tw index 7e471b4611ababd3632a30b55244bb0eae7da7ca..8d485753311eed8d65d808a04ba0bb031a236ffa 100644 --- a/src/SecExp/SecExpBackwardCompatibility.tw +++ b/src/SecExp/SecExpBackwardCompatibility.tw @@ -208,7 +208,7 @@ <<if ndef $pharaonTradition>> <<set $pharaonTradition = 0>> <</if>> -<<if ndef $weaponsLaw || $wasToggledBefore == 1>> +<<if ndef $weaponsLaw>> <<set $weaponsLaw = 3>> <</if>> <<if ndef $soldierWages>> diff --git a/src/uncategorized/options.tw b/src/uncategorized/options.tw index 96c76990055a0c3a19d759db0608448746854cb3..e01f4d3f8d20a94ffa1d19feac5f819f374b0dcf 100644 --- a/src/uncategorized/options.tw +++ b/src/uncategorized/options.tw @@ -45,7 +45,7 @@ End of week autosaving is currently @@.cyan;ENABLED@@. [[Disable|Options][$autos <br> ''COLOR CONTROL'' <br> -<<link "flip lighting">><<run flipColors(setup.lightColorMap)>><</link>> //Currently a WIP, use at own risk.// +<<link "flip lighting">><<run flipColors(setup.lightColorMap)>><</link>> <br> ''IMAGES''