Modding Help Have a mod I need help making it work

Discussion in 'Starbound Modding' started by GeekyRaptor, Feb 22, 2024.

  1. GeekyRaptor

    GeekyRaptor Phantasmal Quasar

    It's mostly done, just need some help figuring out where I goofed. Any advice would be great. thnx.

    Attached Files:

  2. Rezetrx

    Rezetrx Void-Bound Voyager

    You have a lot of names thrown around that do not exist.
    For example in your "GRSToxicFlask.recipe", the output item is "GRSToxicFlask" but your flasks actual name is "toxicflask" (itemName within the consumable).
    Also within that recipe you request glassblock, but if you mean the actual block of glass, that item is called "glassmaterial".

    Your "toxicflask" applies the effect "poison", but the actual name of the poison status effect is "weakpoison".

    Next up your interface. It contains references to textures that don't exist, such as "tabicon_ToxicFabricationtab1", "tabicon_ToxicFabricationtab2", etc.
    Make sure that there actually is a texture with that name in the given path.
    This is not a big issue but will clutter your logfile with unnecessary entries.

    Another thing I've noticed is that your filter do not match up at all. In your interface, each tab has a filter, that being "ToxicFabricationtab1", "ToxicFabricationtab2", "ToxicFabricationtab3" and "ToxicFabricationtab4", yet neither of your items ("toxicflask" and "toxique_venom") use any of these.
    For them to appear in your crafting interface, you need to use the filter names for the corresponding Tab inside your group list.
    In addition, the two recipes have a different first filter. "toxique_venom" has "ToxicFabricationcrafter" and "toxicflask" has "ToxicFabricatorcrafter". Make sure these align with the filter set inside your crafting table's .object file (currently "ToxicFabricatorcrafter").

    As for your crafting table itself, its crafting recipe has the same problem as the flask. The name used in the output is "ToxicFabricationcrafting" which should be replaced with the name of your table "ToxicFabricator" (objectName)

    A small tip, if your items have generic names (like toxicflask), it is a good idea to use a prefix of sorts to ensure it does not create conflicts with other mods that may also use these names.
    This also goes for things like textures that are in folders that can contain other textures. (like in ./interface/crafting/)
    For example, my mods usually use the prefix "rz_"

    If you haven't done already, I highly recommend unpacking the game files as this allows you to see the proper names of items, effects and many other things. There should be lots of tutorials (that still work to this day) on how to do it. Just be careful not to accidentally change any of the files within the unpack folder.
  3. GeekyRaptor

    GeekyRaptor Phantasmal Quasar

    thnkyu this helps a ton!
  4. GeekyRaptor

    GeekyRaptor Phantasmal Quasar

    tried following your directions, the crafting table is functional, however the recipe'd objects aren't showing up.
  5. Rezetrx

    Rezetrx Void-Bound Voyager

    If you are in admin-mode, do they also not show up?

    If they do, then check your player.config.patch if the item matches the item-names.
    In case they don't show up, then the filters probably are still not setup correctly.

Share This Page