Kuxynator's Populoutorium


A god-game inspired Factorio mod with divine control mechanics.

Overhaul
4 months ago
2.0
227
Character

g Uninstallation

3 months ago

Uninstallation = game.player.character=game.player.selected thats all :)
nothing special to iplemement here :)))

3 months ago
(updated 3 months ago)

this is not an universal solution
only works if you point to an unused character standing around

but maybe this:

game.player.set_controller{type=defines.controllers.character, character=game.player.surface.create_entity{name="character", position=game.player.position, force=game.player.force}}
3 months ago

not best solution, my point is to take control on previously used character, instaead of creating new one

New response