Starbound
195 lượt đánh giá
Monster Core : Configuration
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Kích cỡ file
Đã đăng
42.542 KB
1 Thg04, 2021 @ 9:48am
1 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Monster Core : Configuration

Trong 1 bộ sưu tập tạo bởi FelmastProMcLane
Monster Core : Collection
10 vật phẩm
Mô tả
Contains a single file, "stats/monster_compat_list.config".
This mod it's just meant to load very early, the loader mod is needed for this to do anything.

For users:
Does nothing, but if needed by other mods, should be installed or they will crash.

For modders:
Inside this file there are 2 lists, both are meant to contain script paths to be added to monsters.
  • "spawnScripts" contains scripts to be added in the "monsters.lua" file, ie: when spawning.
  • "primaryScripts" contains scripts to be loaded for damage requests and stuff.

How to use
  • First, your mod needs to make an script that hook into either spawning scripts or primary scripts.
  • Make a patch file inside the "stats" folder and name it "monster_compat_list.config.patch".
  • Inside the patch file you add your custom script path via patching operations:
    [ { "op" : "add", "path" : "/spawnScripts/-", "value" : "/monsters/[customScriptName].lua" }, { "op" : "add", "path" : "/primaryScripts/-", "value" : "/stats/[customScriptName].lua" } ]
  • Only add the script in the list that it needs to be in, DO NOT add it to both lists.
2 bình luận
Ashtar 11 Thg04, 2023 @ 1:36pm 
thanks for this mod Felmast ❤️
AbyssStarer 15 Thg06, 2021 @ 11:55pm 
At first I thought the point of this mod was to fix all the errors with the Monster Core like how custom monster become something completely different when you release them. (the same with Pandora's Box recolors)

Hopefully that gets fixed sometime in the future, it's a really weird bug.