Page 1 of 1
[0.12.31] Possible Bug - destroy_factor
Posted: Thu Apr 28, 2016 3:48 pm
by TheSAguy
I say this is a possible bug, since I did not see anything about changes in the recent update.
So it seems that the "destroy_factor" does not work in my mod, after updating to 0.12.31.
I have it in my "data-final-fixes.lua" as follow:
Code: Select all
data.raw["map-settings"]["map-settings"]["enemy_evolution"].destroy_factor = 0.0002
I've tested this in 0.12.30 and it works, but going to 0.12.31 it has no effect and reverts to using Vanilla settings.
I've not had time to test "pollution_factor" or "time_factor".
Not sure if this has anything to do with
this report I made.
Thanks.
Re: [0.12.31] Possible Bug - destroy_factor
Posted: Thu Apr 28, 2016 4:42 pm
by Rseding91
There's a large portion of the mod file(s) missing which means I can't test this.
Can you please provide the full mod with steps you run and the expected results you're not seeing?
Re: [0.12.31] Possible Bug - destroy_factor
Posted: Thu Apr 28, 2016 5:07 pm
by TheSAguy
Attached.
I've tested the mod in 0.12.30 and it works as intended and in 0.12.31 it does nothing.
I only tested the "destroy_factor" section, so don't know if "pollution_factor" or "time_factor" is also affected.
I've also uploaded a "data-final-fixes.lua" file without any mod references. You can just drop that in a folder. I've changed the "destroy_factor" to 20% so you can immediately notice if it triggers.
EDIT: How I tested: I just killed a spawner. I used Test-Mode Mod and gave myself some ammo and went to the nearest spawner and killed it. The evolution factor only went up by 0.2% (Vanilla) and not 20% as I thought it should. (My NE Expansion mod is not at 20%, just set it to 20% for testing). I was messing with my code for half an hour, not knowing what was going on, since I knew it worked the night before. I then remembered the update to 12.31. I rolled back to 12.30 and it worked as intended.
Let me know if I can send anything else.
Thanks.
Re: [0.12.31] Possible Bug - destroy_factor
Posted: Fri Apr 29, 2016 4:00 am
by Rseding91
I can't reproduce. The destroy_factor is properly set in 0.12.30 and 0.12.31 an the amount that increases every time I destroy a spawner is identical in both versions.
You've got some unrelated thing going on that's causing the issue.
Re: [0.12.31] Possible Bug - destroy_factor
Posted: Fri Apr 29, 2016 4:29 pm
by TheSAguy
Rseding91 wrote:I can't reproduce. The destroy_factor is properly set in 0.12.30 and 0.12.31 an the amount that increases every time I destroy a spawner is identical in both versions.
You've got some unrelated thing going on that's causing the issue.
Sorry I can't either now... Must have been in the wrong folder or something.
Sorry about the hassle.