• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved How to stop furniture destroying?

ziggy46802

Active Member
Joined
Aug 19, 2012
Messages
418
Reaction score
27
I want to use all the different trash pile items that are made from destroying furniture with a weapon, so how do I make it so you cant destroy anything and thus make no trash.

If its possible, it would be better if you could still destroy stuff, but it just disappears, no trash is made.
 
Last edited:
Check for destroy.lua in actions. Or remove lines reffering to it in actions.xml like those:

Code:
<action fromid="2376" toid="2404" script="other/destroy.lua"/>
<action fromid="2406" toid="2419" script="other/destroy.lua"/>
<action fromid="2421" toid="2453" script="other/destroy.lua"/>
 
Figured it out

There was no destroy.lua or anything about destroying in actions.xml, that is why I was confused at first but Lagmacun helped me out, it was in actions/scripts/lib/actions.lua

This
Code:
BREAKABLE_BY_WEAPONS = {
	[1619] = { remainings = 2255, chance = 15 },
	[1650] = { remainings = 2253, chance = 20 },
	[1651] = { remainings = 2253, chance = 20 },
	[1652] = { remainings = 2253, chance = 20 },
	[1653] = { remainings = 2253, chance = 20 }, 
	[3798] = { remainings = 3959, chance = 20 }, 
	[3799] = { remainings = 3958, chance = 20 },
}

Had to be deleted.
 
Back
Top