Mrbysco / Spoiled

Spoiling the end of your food supply since 2020
https://www.curseforge.com/minecraft/mc-mods/spoiled
MIT License
7 stars 5 forks source link

[Bug]: Crafttweaker can't read my scripts with language provided by latest spoiled (for 1.16.5) #23

Closed ekiplier closed 2 years ago

ekiplier commented 2 years ago

General Info

Forge version

36.2.34

Mod version

1.5.0

Java version

Java 8 Update 331

Issue Description

Crafttweaker can't read the scripts that it otherwise could with Spoiled 1.16.5- 1.4.3. This is actually a big issue because Crafttweaker will invalidate all scripts if a single line is wrong and I have many scripts. If there were any changes in the language provided by Spoiled, I would appreciate it if you could tell me what those changes were.

Additional Information

Crafttweaker log:

[00:32:01.589][CONSTRUCT][CLIENT][INFO] Starting building internal Registries [00:32:09.358][CONSTRUCT][CLIENT][INFO] The following mods have explicit CraftTweaker support: 'crafttweaker' at version '7.1.2.509' 'gamestages' at version '7.3.13' 'jeitweaker' at version '1.1.0.49' 'recipestages' at version '2.0.0.21' 'spoiled' at version '1.5.0' [00:32:13.925][CONSTRUCT][CLIENT][INFO] Completed building internal Registries [00:32:46.558][COMMON_SETUP][CLIENT][INFO] Started loading Scripts for Loader 'setupCommon'! [00:32:50.486][COMMON_SETUP][CLIENT][INFO] Finished loading Scripts! [00:36:09.100][DONE][CLIENT][INFO] Started loading Scripts for Loader 'crafttweaker'! [00:36:09.252][DONE][CLIENT][INFO] Loading file: 'tags for beams.zs' with priority: 400 [00:36:09.258][DONE][CLIENT][INFO] Loading file: 'compost.zs' with priority: 10 [00:36:09.259][DONE][CLIENT][INFO] Loading file: 'ctRecipes.zs' with priority: 10 [00:36:09.265][DONE][CLIENT][INFO] Loading file: 'furnaceRecipes.zs' with priority: 10 [00:36:09.265][DONE][CLIENT][INFO] Loading file: 'loot.zs' with priority: 10 [00:36:09.265][DONE][CLIENT][INFO] Loading file: 'remove.zs' with priority: 10 [00:36:09.266][DONE][CLIENT][INFO] Loading file: 'spoil.zs' with priority: 10 [00:36:09.267][DONE][CLIENT][INFO] Loading file: 'stRecipes.zs' with priority: 10 [00:36:09.267][DONE][CLIENT][INFO] Loading file: 'tooltips.zs' with priority: 10 [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:7:0 spoil.zs:7:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:8:0 spoil.zs:8:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:9:0 spoil.zs:9:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:10:0 spoil.zs:10:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:11:0 spoil.zs:11:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:12:0 spoil.zs:12:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:13:0 spoil.zs:13:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:14:0 spoil.zs:14:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:18:0 spoil.zs:18:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:19:0 spoil.zs:19:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:20:0 spoil.zs:20:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:21:0 spoil.zs:21:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:22:0 spoil.zs:22:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:23:0 spoil.zs:23:0: No such symbol: spoiling [00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:24:0 spoil.zs:24:0: No such symbol: spoiling [00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:25:0 spoil.zs:25:0: No such symbol: spoiling [00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:26:0 spoil.zs:26:0: No such symbol: spoiling [00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:27:0 spoil.zs:27:0: No such symbol: spoiling [00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:28:0 spoil.zs:28:0: No such symbol: spoiling [00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:29:0 spoil.zs:29:0: No such symbol: spoiling [00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:30:0 spoil.zs:30:0: No such symbol: spoiling [00:36:09.333][DONE][CLIENT][ERROR] Scripts are invalid! [00:36:09.333][DONE][CLIENT][INFO] Finished loading Scripts! [00:36:09.336][DONE][CLIENT][INFO] This reload was made possible by Phillip Swearingain and more! Become a patron at https://patreon.com/jaredlll08?s=crtmod [00:36:51.809][DONE][CLIENT][INFO] Started loading Scripts for Loader 'crafttweaker'! [00:36:51.883][DONE][CLIENT][INFO] Loading file: 'tags for beams.zs' with priority: 400 [00:36:51.884][DONE][CLIENT][INFO] Loading file: 'compost.zs' with priority: 10 [00:36:51.885][DONE][CLIENT][INFO] Loading file: 'ctRecipes.zs' with priority: 10 [00:36:51.889][DONE][CLIENT][INFO] Loading file: 'furnaceRecipes.zs' with priority: 10 [00:36:51.890][DONE][CLIENT][INFO] Loading file: 'loot.zs' with priority: 10 [00:36:51.890][DONE][CLIENT][INFO] Loading file: 'remove.zs' with priority: 10 [00:36:51.891][DONE][CLIENT][INFO] Loading file: 'spoil.zs' with priority: 10 [00:36:51.891][DONE][CLIENT][INFO] Loading file: 'stRecipes.zs' with priority: 10 [00:36:51.892][DONE][CLIENT][INFO] Loading file: 'tooltips.zs' with priority: 10 [00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:7:0 spoil.zs:7:0: No such symbol: spoiling [00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:8:0 spoil.zs:8:0: No such symbol: spoiling [00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:9:0 spoil.zs:9:0: No such symbol: spoiling [00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:10:0 spoil.zs:10:0: No such symbol: spoiling [00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:11:0 spoil.zs:11:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:12:0 spoil.zs:12:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:13:0 spoil.zs:13:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:14:0 spoil.zs:14:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:18:0 spoil.zs:18:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:19:0 spoil.zs:19:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:20:0 spoil.zs:20:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:21:0 spoil.zs:21:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:22:0 spoil.zs:22:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:23:0 spoil.zs:23:0: No such symbol: spoiling [00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:24:0 spoil.zs:24:0: No such symbol: spoiling [00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:25:0 spoil.zs:25:0: No such symbol: spoiling [00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:26:0 spoil.zs:26:0: No such symbol: spoiling [00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:27:0 spoil.zs:27:0: No such symbol: spoiling [00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:28:0 spoil.zs:28:0: No such symbol: spoiling [00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:29:0 spoil.zs:29:0: No such symbol: spoiling [00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:30:0 spoil.zs:30:0: No such symbol: spoiling [00:36:51.926][DONE][CLIENT][ERROR] Scripts are invalid! [00:36:51.926][DONE][CLIENT][INFO] Finished loading Scripts!

Mrbysco commented 2 years ago

https://github.com/Mrbysco/Spoiled/wiki/Post-1.4.9

ekiplier commented 2 years ago

Thank you :)

ekiplier commented 2 years ago

Btw, would there it be any trouble to integrate my mod, Spoiled Add-on, into Spoiled? All I did was add a useless item to replace food when it reaches 100% spoilage and a container to add to the containerModifier:

https://www.curseforge.com/minecraft/mc-mods/spoiled-add-on

Just so users don't have to manually configure everything. If not, that's fine.