LukeKvamme / Coal-Expanded

This mod attempts to make coal less of a storage hog while making it more useful as a fuel source by adding new recipes to create new types of coal by condensing it -- making it take up less space while also providing more fuel per unit.
Apache License 2.0
1 stars 0 forks source link

Some more tweaks #4

Open malomaster opened 1 year ago

malomaster commented 1 year ago

Hi! If you don't drop mod development, here are some more tweaks:

  1. Now "Coal Expanded" fuels have own recipe group;
  2. Instead of disallowed (now) standard denser coal items decomposition, I add 5 decomposition recipes. For balance purposes and for not using too much chain Coal → … → Diamond → Coal when players strongly needed coal and have too much denser coal fuels, I added 10/18/25/32.5/40% total coal loss in those recipes. Also, because decomposing Anthracite and Diamond give you too much coal from one item, anthracite and diamond can be produced only into the Bituminous Coal. Also I made 2-layered icons (recipe ingredient on top left corner and recipe result (coal or bituminous coal) on background), but 1st and 3rd recipes icons looks not so good because they are similar in color. You can try to tweak their shift and scale in "recipes.lua".
  3. Added localization strings to recipes. Note: EN locale made by Google translation, so it can be not so accurate. Please check it and edit if needed.

Also I tried to make special recipe names (like "Decompress Lignite to Coal" etc.), but for some reason it doesn't working. Recipe descriptions work without issues, but for localized recipe name game just use recipe_result item name. Using localised_name = "recipe-name.CE_deCoal5" string in recipe properties also doesn't work – in game recipe got "recipe-name.CE_deCoal5" name without any localization. If you know how to fix it, do it, I left localized recipe names under [recipe-name] section in locale files. Anyway, here is the link.

Also, if you wanted, I can make 2nd change (dense coal fuels decomposition) as startup setting — smth like "Uncheaty coal decomposition".