Suggestion would be, depending on if the cat gets placed in orbit or on a planet, the unit with a space helmet, or without, will get placed
And quote from "wiwiweb"
"
SE provides remote interfaces to check whether a zone is in space or not, you can do this:
local surface_index = game.player.surface.index -- or whatever
local zone = remote.call("space-exploration", "get_zone_from_surface_index", {surface_index = surface_index})
local is_space = remote.call("space-exploration", "get_zone_is_space", {zone_index = zone.index})
"
Hope this helps
Also, what i noticed is, the mod doesn't use the hr texture
Thank you! I don't know much about modding so I'm unlikely to be able to implement this myself any time soon. I would definitely accept a PR though, it looks great !
I gave the cat a wee space helmet
https://mods.factorio.com/mod/Catmod-Reborn-Again/discussion/631716fc90386f44241f7a28
Suggestion would be, depending on if the cat gets placed in orbit or on a planet, the unit with a space helmet, or without, will get placed
And quote from "wiwiweb" " SE provides remote interfaces to check whether a zone is in space or not, you can do this:
local surface_index = game.player.surface.index -- or whatever local zone = remote.call("space-exploration", "get_zone_from_surface_index", {surface_index = surface_index}) local is_space = remote.call("space-exploration", "get_zone_is_space", {zone_index = zone.index}) "
Hope this helps
Also, what i noticed is, the mod doesn't use the hr texture