Jump to content

Changing the deployable spacing for modded recipes


Recommended Posts

Hi,

I want to adjust the spacing of some custom prefabs and I just can't seem to figure out how. I've tried the following code, but that only seems to change vanilla recipe spacing.

for _,v in pairs(GLOBAL.AllRecipes) do
   v.min_spacing = 1
end

I've also tried adding min_spacing = 1 into the config portion of the AddRecipe2 and still no luck.

How would I go about changing this so it works with modded recipes?

Thank you!

Edited by ImSoHM02
Link to comment
Share on other sites

On 10/25/2023 at 8:42 PM, ariadnesGambit said:

This could be an issue of priority, your mod might get loaded before other mods, so try putting a lower priority number in modinfo.lua.

This is what it actually was, thank you. :)

  • GL Happy 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...