#include "ai/lua/aspect_advancements.hpp"
#include "global.hpp"
#include "log.hpp"
#include "lua/lauxlib.h"
#include "lua/lua.h"
#include "map/location.hpp"
#include "serialization/string_utils.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
#include <ostream>
#include <string>
#include <vector>
Go to the source code of this file.
|
| ai |
| A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.
|
|