Page 1 of 1

Update doc for surface.create_entity{target=}

Posted: Thu Sep 10, 2020 3:40 pm
by eradicator
Currently it doesn't mention that target is also the entity that combat robots follow. It sounds more like shooting_target. Maybe it's both?

Code: Select all

target :: LuaEntity (optional): Entity with health for the new entity to target.

Re: Update doc for surface.create_entity{target=}

Posted: Sun Sep 20, 2020 3:14 pm
by Rseding91
There are most likely several places that don't mention they use different values provided through create_entity. I don't particularly want to go hunting over the code base to find all of them and then manually maintain a list of each ones usage in a separate txt file for create_entity documentation. Every time we do that the list just gets outdated a week later and is perpetually broken; the only way those lists stay correct is if they're auto-generated from the code and I don't see that happening here.

If someone else wants to sign up for maintaining those manual lists they're free to do so.