1)When should i run generator.py?
when you recently changed something like elements
does the editing of elementclasses automaticly.
2)How do i add a coded element?
start from scratch or copy a element that has sorta same properties and edit it
i recommend boxmeins thing
elementclasses.h i think
well, if you added it right, dont delete it
if you did it completely wrong, remove it