Kuxynator's Populoutorium


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

Overhaul
4 months ago
2.0
236
Character

g Uninstallation

4 months ago

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

4 months ago
(updated 4 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}}
4 months ago

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

New response