Starting off in the Entity file
Code: Select all
{
collision_box = {{-1.4, -1.4}, {1.4, 1.4}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
picture =
{
filename = "image",
priority = "high",
width = 52,
height = 48
},
shift = {0.25, 0},
},
The Image priority, I see thier are diffrent prioritys based on what is reffering to, so is it the priority on images for like the order its loaded? Like a means to "layer" a image?
What is the "shift" param for?
effectivity = 0.5, what would this mean for things like dilling units? If the energy_usage_per_tick controls the electric usage and the mining_speed controls how fast it gathers/ectracts/ resources, that what does the effectivity change for a entity?
Also in the Items data file, order = "h-h-b",for example, what is the order? I can understand for example a order X being its importance on the listing order in the menu/gui, like load A before B but what is to order "a-d-g" do? is it like a multi ordering for like if you have 5 things for order A then go by second letter then third?
Also have a question on the "global" table. From my understanding on the wiki, all the data is loaded into a more or less like a global array of data, thinking in C++ and PHP a global can be edited by any function not just a relative function. So if for example I wanted to make a research project that "improves" the efficeny of something, say I want to add a research set that each step adds 5% to the speed of a factory crafting ability. Or to reduce the energy usage each step, how do you use the Modifier flag in the tech lua to do it? The ones thier for the lab speed I cant seem to trace how they work, thier is a lua for the name-modifier but how does that effect a accual value of data? Like the lab efficency has a modify value of 0.2 and in the name lua dosent seem to directly point to the "lab" or a lab param so how does it modify the lab speed/efficeny?