MechanicalMod v0.9.2

Can you please log it as a bug on the Github repository here: Issues · chessmaster42/mechanicalmod · GitHub and make sure that your stonehearth.log file is linked in. If you can’t or don’t feel comfortable doing that you can also PM me the details but I would prefer it to be on Github.

Also, are you using any other mods? Is that on a clean save or a save from an older version of the mod? If it’s a save from v0.3.0+ then you should be fine and the cause is somewhere else.

ok ty i’ll try it out tonight

i rename : mechanicalmod.smod

i use the last zulser.smod

But i reloaded the file before promoting, now it work fine.

Error item missing : wooden part


for

2 Likes

Try cycling your carpenter to make sure they have the latest recipe list. Meaning, assign them to basic worker then back to carpenter. The game caches the recipe lists in each hearthling so if recipes have changed you need to cycle their job.

1 Like

Just release v0.7.0 and this one is mostly a bug-fix/improvement release.

Added

  • Added Vertical Drive Shaft
  • Added speed 10 animations to machines
  • Added speed 200 and 400 animations to some machines
  • Added speed and torque requirements to processing and advanced processing machines
  • Added connectors mechanism for power drain and source for better control over connections
  • Added speed and torque values to machine details UI window
  • Added more utility methods to PowerAPI

Changed

  • Moved all animation loops into their own interval (fixes animation hiccups)
  • Adjusted speed and torque output of Wind Sail and Water Wheel
  • Improved overall performance by increasing most interval loop delays from 10 ticks to 100 ticks

Fixed

  • Fixed Gear Box Shaft and added connector restrictions
  • Fixed a ton of misc speed/torque bugs
  • Fixed animation speeds of Wind Sail and Spinning Mule

The biggest fix in this release is with the gear box. You can now properly change speed and torque ratios with the gear box machine which will be necessary because the production machines now have speed and torque requirements. The gear box ratio can be set in the machine details UI with a slider on the Settings tab. Also, the speed and torque values of a machine are displayed on the machine details UI in the General tab.

Also, I have now included a link to my microworld that I test with. This microworld is setup with a number of basic resources as well as several of every machine type for you to play with. I will continue to update it as more machines are added to this mod.

So test the crap out of this and let me know if anything is broken!

Enjoy :smiley:

7 Likes

Rolling 'em out fast today. I have v0.8.0 out now. This update adds new content including two new production machines as well as some bug fixes.

Added

  • Added Saw Mill machine
  • Added Fermenter machine
  • Added Lumber refined material
  • Added Wood Barrel container
  • Added Ethanol filled barrel
  • Added more machine details to details UI

Changed

  • Increased tick interval on shaft machines

Fixed

  • Fixed misc bugs in Advanced Processing Machine
  • Fixed missing torque sync in Clutch Shaft
  • Fixed friction calculation and moved value to PowerLib function

Removed

  • Removed old delivery AI actions
  • Removed friction loss in torque
  • Removed Processing Machine restock action and replaced with calculated action

Right now the Lumber resource is only used for crafting the barrels but there is more on the way. These barrels, along with Corn Meal, are the ingredients for the recipe in the Fermenter to produce ethanol. Also, the ethanol from the Fermenter is the first of many different recipes that will exist for it later. The primary use of the ethanol will be a fuel but I’m sure some clever hearthlings will find “alternative” uses for it :wink:

Lastly, I’m still looking for any and all feature and machine ideas. There’s tons of stuff still coming but your ideas help me a ton with determining what I’m building and when it’s coming out. So let me know what you think of what’s already here and what you guys want me to add.

Enjoy! :smiley:

6 Likes

Wow, you really are :+1:. I like the change to torque and speed values.

edit. Works great.

1 Like

I haven’t updated in a few days but mostly taking a break after the last few big updates. Still looking for community input on machine ideas. No idea is too crazy or out-of-character here because eventually there will be packs for everything from ancient mechanisms to machines of the future. That way people can choose a machinery theme that suits their tastes (e.g. Ancient, Steampunk, Modern, Future). But in order to get the content together for the base mod as well as these I need your ideas!

So let me know what you guys want and what kind of crazy machines you can think up :smile:

1 Like

I think automation would be cool in general.

Hoppers,
Conveyor belt,
Elevators,
Pistons (able to move blocks? Dams, gates),
Plow (able to work multiple tiles for quicker farming),
Automated melting + molds,
Steam, not just as a stat but a physical element/“block”, have a enclosed “room” where you can heath water and collect the steam at the top, use leather to make balloons. (Hey, I could go crazy so I’m going to). Maybe pipes to transport the steam, be able to use the pressure and manage it good or else “kaboom”,
Tar use tar to make elements water / air tight not a machine buuuuut… :stuck_out_tongue:

Everything build upon loose components that some share, (once again referring to BTW).

Love your mods

I want a giant mechanical semi-automaton that takes a dozen-car steam train and turns it into an explosive flail weapon. The machine itself should have a working scale model of the Stonehearth solar system operating inside its chest, with the hearthling commanding the behemoth suspended within the sun of the model while symbols of arcane lore orbit around him or her.

And what the heck–throw in a shoulder-mounted wombat projectile system with homing capabilities while we’re at it.

(By the way, you’ll need to make a train first.)

5 Likes

Just want to let you guys know that I’m not dead but rather taking a short break from modding in general. I was working on mods for several games (including this game) at the same time and was getting worn out. Here soon I will be picking back up where I left off with this mod but I do still need more ideas from you folks.

My thoughts on suggested ideas so far:

  • The giant automoton might be a little too far fetched but I like that line of thought and have a few ideas related to that
  • Hoppers, conveyors, and other item-moving machinery may still be a ways out yet but all are definitely planned
  • Pistons and block “moving” is a bit tricky though. The game world doesn’t index each voxel per-se but rather tracks large cuboidd regions that make up the shape of things. But what might work is removing a chunk (like when mining) and adding a new one at the new spot. You wouldn’t get fluid motion of the block though.
  • Automated melting is already possible. In fact there is already a smeltery machine available. If you want to add a new resource processing machine with different production recipes just copy paste it into your own mod and change up the recipes and that’s it. Unless the suggestion was for something else maybe?
  • Piping, fluid pressure, and gas pressure are all planned. However, steam and steam powered machinery will likely be in a secondary module that will be installed alongside the main mod.

Related to my comment about secondary modules I plan to close up the main mod pretty soon as far as content goes. Most other content will be put into separate mini-mods that depend on the main mod. They will add things like steam machinery, electric machinery (and power distribution), and probably one that’s futuristic themed as well.

Keep the suggestions coming and hopefully here soon I’ll sit back down with this code and get many of these implemented :smile:

3 Likes

Can you link to some of your other mods? You’ve got a fan here and he’d like to see more!

Maybe integrating of cooking food, a cauldron or a furnace?

Uhm I’m using this mod with the latest 335 build, and I can’t find any of the wooden recipes in the carpenters GUI. (Wood Shaft, Wood Cog and Wood Base). My mason has the stone versions, but not my carpenter… Any Ideas?

1 Like

Any other mods? I had this exact problem, but fixed it. If removing other mods doesn’t help, I can send you a patched file.

1 Like

Tried removing the other mods I’m using, but I still can’t find any carpenter recipes. Your help would be much appreciated

And after you removed the mods, did you try creating a new world? If you did and it still does not work, you can do a workaround where you edit the .smod file like so:

(This works if the containers section shows. If that too does not show, i cannot help you.)

  1. Open the mechanicalmod.smod
  2. Goto mechanicalmod/jobs/carpenter/recipes/recipes.json
  3. Open it in notepad or something
  4. Copy the text from the machine parts section after the wood barrel under containers. MAKE SURE TO ADD A COMMA AFTER THE WOOD BARREL ENTRY
  5. Rezip the file and make a new save!

Here’s the relevant section of the file:
(p.s, don’t add the “(comma!)” section)

"name" : "Containers", 
			"recipes" : {
        "wood_barrel": {
          "recipe": "file(wood_barrel_recipe.json)"
        }, (COMMA! )

        "wood_cog" : {
					"recipe" : "file(wood_cog_recipe.json)"
				},
				"wood_shaft" : {
					"recipe" : "file(wood_shaft_recipe.json)"
				},
				"wood_base" : {
					"recipe" : "file(wood_base_recipe.json)"
				}
			}
2 Likes

Well I tried your suggestion and still no recipes in the carpenters workshop. But thank you for the try anyways :smile: