You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: StarMap.API/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,10 @@ Every mod will at minimum contain a mod.toml (which is also the case for KSA mod
14
14
While it is not stricly neccesary, it is adviced to add StarMap info to the mod.toml, at its most basic, a mod.toml should like like this:
15
15
16
16
```toml
17
-
name = "StarMap.SimpleMod"
17
+
name = "MyAmazingMod"
18
18
19
19
[StarMap]
20
-
EntryAssembly = "StarMap.SimpleMod"
20
+
EntryAssembly = "MyAmazingMod"
21
21
```
22
22
23
23
The name will be the modid of your mod, this should be the same name as the folder in which this lives in the Content folder.
@@ -44,12 +44,12 @@ First of all, mods can configure what assemblies should be exposed to other mods
44
44
In below example, only the StarMap.SimpleMod.Dependency(.dll) assembly will be accessable from other mods (more info in [imported and exported assemblies](#imported-and-exported-assemblies)).
45
45
46
46
```toml
47
-
name = "StarMap.SimpleMod2"
47
+
name = "MyOtherAmazingMod"
48
48
49
49
[StarMap]
50
-
EntryAssembly = "StarMap.SimpleMod2"
50
+
EntryAssembly = "MyOtherAmazingMod"
51
51
ExportedAssemblies = [
52
-
"StarMap.SimpleMod.Dependency"
52
+
"MyDependency"
53
53
]
54
54
```
55
55
@@ -58,16 +58,16 @@ ExportedAssemblies = [
58
58
Then, mods can define what mods they want to define on, they can do this by adding a new ModDependencies list entry in the mod.toml
0 commit comments