Code: Select all
print(data.raw.item["roboport"])
Specifically: I'm trying to replace the texture filename of the roboport entity and
Code: Select all
data:extend({
...
{
type="roboport",
name="roboport",
...
base = {
layers = {
{
filename = "...",
}
}
}
})
Code: Select all
data.raw.item["roboport"].base
What's the best way to:
- do something equivalent to Python's "dir(data.raw)" or "data.raw.keys()"?
- output that? log? print?