Jump to content

Recommended Posts

I'm trying to make a custom farm but the problem is whenever it's destroyed, for example with a hammer, it also removes parts of other farms and other related items that spawn when it's built. This seems to mostly apply to custom prefabs. I'm not completely certain but I think this has something to do with banks.

Screenshot before being destroyed(Note the ash pile at my character's feet):

post-239075-0-04585300-1380001890_thumb.

Screenshot after being destroyed(Note the ash pile now missing):

post-239075-0-99890800-1380001875_thumb.

I'm sure this question has been asked plenty already but is this caused by inst:remove() removing everything within the custom prefab items' banks that may be laying on the ground? The reason I ask is because I've had very similar problems with other mods I've made. If so, is there an alternative to inst:remove() or is there any way to edit banks? Where are the banks declared anyways?

Thanks in advance.

  • Developer

There is a fix for disappearing textures coming up in the next update but I'm not sure if that fixes the problem you're having.  If you're willing to upload your mod, I'd be happy to take a look to see what the problem is and if the next update will fix it.

There is a fix for disappearing textures coming up in the next update but I'm not sure if that fixes the problem you're having.  If you're willing to upload your mod, I'd be happy to take a look to see what the problem is and if the next update will fix it.

Thank you. I've attached the zip. Before anyone says it, there's a lot of unnecessary stuff in it, such as unused files or commented out blocks, because I don't like to delete things until I'm sure I won't need it. So it's kind of a mess until all the bugs are squashed.

ash fertilizer beta.zip

  • Developer

Looks like this is fixed in the upcoming update.  Here is the test I ran.

 

Debug spawn an 'ashfarmplot'.

Debug spawn a hammer.

Break plot with the hammer.

Pick up all the loot.

Drop a single dirt pile.

Debug spawn an 'ashfarmplot'.

Break the plot with the hammer.

 

This would always cause the single dirt pile to disappear in the current version and doesn't cause this problem in the public preview. Please let me know if you see this problem again and thanks for giving me an easy test case :).

Looks like this is fixed in the upcoming update.  Here is the test I ran.

 

Debug spawn an 'ashfarmplot'.

Debug spawn a hammer.

Break plot with the hammer.

Pick up all the loot.

Drop a single dirt pile.

Debug spawn an 'ashfarmplot'.

Break the plot with the hammer.

 

This would always cause the single dirt pile to disappear in the current version and doesn't cause this problem in the public preview. Please let me know if you see this problem again and thanks for giving me an easy test case :-).

As long as this helps in some way. Quick question though. When you tested it, did other farm plots(slow and/or fast) disappear when you destroyed one of the ashfarmplots? Because that's a problem, too.

  • Developer

As long as this helps in some way. Quick question though. When you tested it, did other farm plots(slow and/or fast) disappear when you destroyed one of the ashfarmplots? Because that's a problem, too.

Sorry I didn't have that happen.  Let me know if you notice this once the new update is out.

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...