Some question about mod system

Some question about mod system
0

mechaentia’s mod system is great, avoiding the repeated definition / drawing of many items, but I still have some questions:

  1. How to avoid differences in style between items? Similar to A made a gregtech style electric stove, and B made a minecraft style generator, then there may be many items with different styles in a mod.
  2. What if the Mod does not provide the required interface? For example, a Mod needs the strength of a copper ingot, but the copper ingot is not provided. Should we redefine a copper ingot or make a mod that provides an interface?
  3. Suppose there are race a and race b, attribute 1 and attribute 2, initially a and b both have initial attribute values. A mod adds attribute 3 and gives initial values to a and b. Now that another mod adds race c, how should c race determine the size of attribute 3?
  4. If there are multiple scientific research modes / storage modes, do you need to consider all the methods when making the mod?
2 Likes

Everything is made of “HD” Voxels, aka the resolution of 32x32 Minecraft Texturepacks, so at the very least you are kinda forced to use Cubes and Slopes. And there can always be a different Style Furnace that does the identical Functionality.

Neither in this specific case. ECS is not limited in that way, and the Stats System for Metals could just have new made-up Stats added to Materials, which then could even be automatically be added to procedurally generated Metal Types.

Considering all Races are custom, it would be very shortsighted to give an attribute on a per Race basis. And it would be mandatory to give at least some procedural way to randomly apply the Attribute to all Races, because if you dont, then it will just be added to all generated Races anyways without any discrimination. (you can disable the stat for random races, but you have to actively disable it, you just cant forget about deciding)

This one is a bit complicated, but you might need to consider some of them when making a Mod at the very least. You can however just say “I want the Stove to be available somewhen after Campfires are discovered” and then say that the “Cooking Pot” should be after the Stove, and then just let the Game generate appropriate Science based on that.


Tools will have a very special System to work with. People can customize Shape of Tools for their needs. You can have a Diagonal Handle or a Straight Handle just fine, same for double-diagonal Handles (two opposite points of a Cube). And oops I have read Shovel instead of Stove. I’m gonna put this at the end of my Post then. XD

2 Likes

Wait, generate? Does it refer to the consumables that automatically generate scientific research? These consumables may have some relationship with research projects, such as the use of iron and coal to study steel.

2 Likes

You can start off making Pots out of lets say Copper and later when you research Iron you find out Steel is better for Pots. :wink:

And the Research Tree can be automatically generated, you would just need to add prerequisites for things and it should work just fine.

Material Research is separate from Object Research, since you can exchange Materials for similar Materials in a lot of cases.

2 Likes