Reenabled Steam & Rails script (works without the mod present) #964
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added a check if the Steam & Rails is loaded, so this script only gets executed when it is present. This way, even if S&R doesn't make it back, players still can install it separately and use custom recipes.
I also tweaked it a bit, but it's not done yet
TODO:
Add Narrow & Wide track recipes
This one is currently using only one slab for narrow, and two full blocks for wide tracks, with otherwise similar recipes
![tracks](https://private-user-images.githubusercontent.com/16291541/325776391-b7346845-c20c-4b09-84d5-371bab612ed8.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODA3OTksIm5iZiI6MTczOTA4MDQ5OSwicGF0aCI6Ii8xNjI5MTU0MS8zMjU3NzYzOTEtYjczNDY4NDUtYzIwYy00YjA5LTg0ZDUtMzcxYmFiNjEyZWQ4LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1NTQ1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmNTg4YmRmZmU1MjY2OGQxNWJkNjhlYWU2ZGE1Mjg1MmM3ZmY1ODE5ZWM3ZjU1N2Q2ODVmYjExNzE3YWI2NmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.63uZUxA-RIYAwNQi_Tly9DjhGwhgRMJqhkhE7Bu13wo)
Rename wide and narrow "Andesite" tracks (since there's no andesite in both default nor new recipe) to something more sensible
Add recipes for new items/blocks