Commit 737a321
committed
Fix script.txt format to match SpringBoard's script generator
Based on actual SpringBoard code analysis:
save_project_info_command.lua:109-126 creates a script table:
mapSeed = project.randomMapOptions.mapSeed, (top level)
mapOptions = {
new_map_x = ...,
new_map_y = ...
},
StartScript.GenerateScriptTxt() converts this to:
[MAPOPTIONS] { new_map_x=...; new_map_y=...; }
[MODOPTIONS] { mapseed=...; }
Note: 'mapseed' is lowercase in generated files (_script.txt line 25)
The script needs BOTH sections:
- [MAPOPTIONS] for map dimensions
- [MODOPTIONS] for map seed
This matches the format in test-engine/test-data/_script.txt1 parent e114679 commit 737a321
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
0 commit comments