Unsupported decaying entity detectedFixed
[NoDecay] Unsupported decaying entity detected: ScrapTransportHelicopter --- please notify author else if (entity.LookupPrefab().name == "minicopter.entity")with this line else if (entity.LookupPrefab().name == "minicopter.entity" ||
entity.LookupPrefab().name == "ScrapTransportHelicopter")This definitely makes the errors go away and it does exactly the same for minicopter and scrap transport helicopter. So it should also have the no decay functionality. I'll leave it to the plugin author to add an additional decay variable and whatnot.
Is that line 360? I'll give it a try.
EDIT: It works
Changes I made were to add
private float c_scraptransportheliMultiplier;and then to add
else if (entity.LookupPrefab().name == "ScrapTransportHelicopter")
{
var before = hitInfo.damageTypes.Get(Rust.DamageType.Decay);
hitInfo.damageTypes.Scale(Rust.DamageType.Decay, c_scraptransportheliMultiplier);
OutputRcon($"Decay ({entity_name}) before: {before} after: {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}", true);
}If you search minicopter twice you can work out where to add these easily.
That way you can set a multiplier for the Whoppa Choppa seperatly.
As i do want it to decay still, just the error annoy me
(12:03:30) | [NoDecay] Unsupported decaying entity detected: generator.small --- please notify author
14:45 [Info] [NoDecay] Unsupported decaying entity detected: hemp.entity --- please notify author
14:42 [Info] [NoDecay] Unsupported decaying entity detected: pumpkin.entity --- please notify author
14:42 [Info] [NoDecay] Unsupported decaying entity detected: shelves --- please notify author <=== BIG ISSUE!
13:57 [Info] [NoDecay] Unsupported decaying entity detected: sign.pictureframe.xl --- please notify author
13:23 [Info] [NoDecay] Unsupported decaying entity detected: ladder.wooden.wall --- please notify author
13:08 [Info] [NoDecay] Unsupported decaying entity detected: Splitter --- please notify author
I too would be interested in an update for this plugin to fix the unsupported entities.
[NoDecay] Unsupported decaying entity detected: composter --- please notify author