Jump to content

Recommended Posts

Basically, I'm trying to make the renovate tab structures not have the necessary space for placement. This code works for any other tab, but it doesn't work with the renovate tab. min_spacing is set to 0, but it doesn't really work. Thanks in advance!

Here is an example of changing the min_spacing of chairs.

local _G               = GLOBAL
local RENO_RECIPETABS  = _G.RENO_RECIPETABS

for _, recipe in pairs(_G.GetAllRecipes()) do 

    if recipe.tab == RENO_RECIPETABS.CHAIRS then 
        recipe.min_spacing = 0 
    end
end

 

I remember reading a comment in the Hamlet recipe file which mentioned that the placement of the reno tab items is handled seperately. Maybe you can check the builder component or the reno item prefab files?

  • Like 1

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
×
  • Create New...