Search found 4 matches

by enraged_tomato
Wed Dec 04, 2024 6:13 am
Forum: Ideas and Suggestions
Topic: 2.0.23 God Controller Changes = Bad
Replies: 3
Views: 150

Re: 2.0.23 God Controller Changes = Bad

+1 inability to seamlessly zoom out into a map view in a sandbox is a huge downgrade, please revert the changes
by enraged_tomato
Mon Oct 28, 2024 1:52 pm
Forum: Modding help
Topic: Can't access documented prototype property
Replies: 4
Views: 248

Re: Can't access documented prototype property

Does that mean that the documentation is not up to date? Since I still can find the old property in the radar prototype docs No, the docs are up to date. `RadarPrototype` still has that property, but you're not accessing the `RadarPrototype` directly. You're reading a `LuaEntityPrototype`, which us...
by enraged_tomato
Sun Oct 27, 2024 7:54 pm
Forum: Modding help
Topic: Can't access documented prototype property
Replies: 4
Views: 248

Re: Can't access documented prototype property

Hi LCStark, First of all, the test code works with the function you mentioned, thank you! In 1.1.110, `LuaEntityPrototype` had a field `max_distance_of_nearby_sector_revealed`. Now that field is replaced by a function ` https://lua-api.factorio.com/latest/classes/LuaEntityPrototype.html#get_max_dist...
by enraged_tomato
Sat Oct 26, 2024 8:36 pm
Forum: Modding help
Topic: Can't access documented prototype property
Replies: 4
Views: 248

Can't access documented prototype property

Hello everyone, When I am trying to access max_distance_of_nearby_sector_revealed property of Radar prototype, I am getting this error 2065.603 Script @__ets-test__/control.lua:15: --- radar.prototype 2065.603 Script @__ets-test__/control.lua:16: "[LuaEntityPrototype: radar (radar)]" 2065....

Go to advanced search