Starbound

Starbound

EE for Starbound
 此主题已被置顶,因此可能具有重要性
alberto-rota  [开发者] 2019 年 7 月 13 日 上午 11:23
Tutorial: How to add support between your mod and EE for Starbound.
Preface
This tutorial is intended to help other modders to add compatibility between their mods and "EE for Starbound".

If you are not the author of the mod, but you want to see it integrated with "EE for Starbound", please ask the author to take a look here.

If you are the mod author, welcome.

TL;DR:
  1. Create a file named "EES_transmutationstudylist.config.patch" in the root of your mod.
  2. In that file, add one patch operation per item you want to be "Studyable"
  3. Done :steamhappy:

In detail:
Create the ".patch" file.
Create a file named "EES_transmutationstudylist.config.patch" in the root of your mod.
This file will be used to patch my own "EES_transmutationstudylist.config" file, where all the "Studyable" items are listed.
Make sure that it is in the root of your mod (Same level as "player.config.patch")

Add the patch operations.
You will need to add one patch operation per item you want to add.
The patch operation should be as follows:
{ "op": "add", "path": "/[mine|farm|hunt]/[T1|T2|T3]/<itemName>", "value": true}
Let me clarify it:
  • [mine|farm|hunt]
    • mine if it's an ore or simmilar.
    • farm if it's a plant or simmilar.
    • hunt if it's an mob drop or simmilar.
  • [T1|T2|T3]
    • T1 if it's an early-game item.
    • T2 if it's a mid-game.
    • T3 if it's an end-game item.
  • <itemName>
    • The "itemName" of your item.
Example:
[ { "op": "add", "path": "/mine/T1/ironore", "value": true}, { "op": "add", "path": "/farm/T2/coralcreep", "value": true}, { "op": "add", "path": "/hunt/T3/cryonicextract", "value": true} ]


Finish.
That's all you need to do.
If you want to check it, just start your game with both mods installed and check if you can study it in the expected table, at the expected level.
If it fails, don't hesitate to contact me. :steamhappy:

Tips for choosing items.
  1. Choose always only the bare minimum materials to add, if something can be crafted from other materials, let the players craft it, if not (Mined, farmed or dropped by a monster) consider to add it.

Real world examples:
Here you have a list of links to real examples of files created to integrate items added by other mods into "EE for Starbound":
最后由 alberto-rota 编辑于; 2019 年 7 月 25 日 下午 12:17
< >
正在显示第 1 - 7 条,共 7 条留言
alberto-rota  [开发者] 2019 年 7 月 13 日 上午 11:35 
Feel free to share the link with your favorite mod authors! :steamhappy:
Jiroga 2019 年 7 月 14 日 下午 11:46 
This new format feels much more intuitive than having to patch all three tables separately. Wonderful job man! Works as smooth as silk.
alberto-rota  [开发者] 2019 年 7 月 24 日 下午 1:16 
Updated the tutorial with a new section, "Real world examples", where you can see how other authors are handling the integration.
alberto-rota  [开发者] 2019 年 7 月 28 日 下午 9:11 
引用自 Azure Fang
Had to do it: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1818324132
To be fair, I expected both this and the "Smelted bars" version to appear sonner or later. :steammocking:

Do you have it on GitHub? That way I can add a link in the "Real world examples" section.
Azure Fang 2019 年 7 月 28 日 下午 9:36 
引用自 alberto-rota
引用自 Azure Fang
Had to do it: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1818324132
To be fair, I expected both this and the "Smelted bars" version to appear sonner or later. :steammocking:

Do you have it on GitHub? That way I can add a link in the "Real world examples" section.
No, I don't use GitHub sadly. And you won't have to worry about me creating a bars patch. I can understand the reasoning for not doing that, at least :happypug:
最后由 Azure Fang 编辑于; 2019 年 7 月 28 日 下午 9:38
Mabra 2024 年 11 月 27 日 上午 8:47 
TFW you forgor to put a single comma and it breaks the entire mod.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50