Let’s say I have a starship component like this:
Name: Nuclear Rocket
Type: Propulsion
// Other data
Resources: 1
Resource Name 1: Nuclear Fuel // Name would be indexed against available resource names.
Resource Use Type: Consumes // Also Stores, Produces…
Resource Use Formula: (sqrt(ComponentSize) / Sqrt(RelativeTechLevel)) * // …more math.
Where the formulas and data would be used during runtime.
Now, most obviously, a scripting language would be useful, here. This suggests several questions:
- Is it possible to load in C# .dll Assemblies in Unity C#? Because I already know how to do that, and if it’s viable in Unity, I could write something myself if nothing else.
- Are there existing scripting language packages that could handle this? (probably)
2b) If so, what would you recommend?