3 types of energy particle
sim.can_move(elements.POLOKUS_PT_MUON, elements.DEFAULT_PT_IRON, 2)
Line does not allow MUON to pass through IRON.
I was searching for solution on forum,
Placed after update function. this worked.
Relief, sigh.
only works for one particle type even though they all only have this same code.
can not figure out why
continue side project
Change !!!!ONLY!!!! temperature value. Restart.
MUON no longer passes through IRON
what
put line before code again
no work
put line after code again
no work
restart
no work
watch self turn into monkey showing palms
add question to engineer
...
receive answer and bathed in particles mankind has yet to name?
:-)
GUESS WHO JUST DISCOVERED A NEW ELEMENT!!!
also its like 3am and I have psychosis so Im sorry if I don't sound like a real person and thank you for reading
P.S. when i restarted the muon had moved in the menu
local glocton = elements.allocate("POLOKUS", "GLOC")
elements.element(elements.DEFAULT_PT_PROT)
elem.property(elem.POLOKUS_PT_GLOC, "Name", "GLOC")
elem.property(elem.POLOKUS_PT_GLOC, "Colour", 0x185915)
elem.property(elem.POLOKUS_PT_GLOC, "Description", "Glocton.")
elem.property(elem.POLOKUS_PT_GLOC, "Collision", -1)
elem.property(elem.POLOKUS_PT_GLOC, "Weight", -1)
elem.property(elem.POLOKUS_PT_GLOC, "HeatConduct", 0)
elem.property(elem.POLOKUS_PT_GLOC, "Properties", elem.TYPE_ENERGY+elem.PROP_NEUTPASS+elem.PROP_LIFE_DEC)
elem.property(elem.POLOKUS_PT_GLOC, "MenuSection", elem.SC_NUCLEAR)
elem.property(elem.POLOKUS_PT_GLOC, "MenuVisible", 1)
tpt.element_func(NU, tpt.element('GLOC'))
local function GLOCUpdate(i,x,y,s,n)
--insert update function
tpt.element_func(GLOC,glocton)
elem.property(elem.POLOKUS_PT_GLOC, "Update",GLOCUpdate)
sim.can_move(elements.POLOKUS_PT_GLOC, elements.DEFAULT_PT_IRON, 2)
sim.can_move(elements.POLOKUS_PT_GLOC, elements.DEFAULT_PT_COAL, 2)
sim.can_move(elements.POLOKUS_PT_GLOC, elements.DEFAULT_PT_STNE, 2)
sim.can_move(elements.POLOKUS_PT_GLOC, elements.DEFAULT_PT_CNCT, 2)
sim.can_move(elements.POLOKUS_PT_GLOC, elements.DEFAULT_PT_SAND, 2)
sim.can_move(elements.POLOKUS_PT_GLOC, elements.DEFAULT_PT_PQRT, 2)
sim.can_move(elements.POLOKUS_PT_GLOC, elements.DEFAULT_PT_BRMT, 2)
For some reason, collision set to 0.99 fixes it, but then sometimes it doesn't work.
The other energy particles have the same code - sometimes only one of them or two of them work.
I really want to say I've been stupid and forgot to set Collision to 0.99, but I had this same problem many times before, which is why none of my elements do care to interact as such. Is there anything I might have missed?
For looking, thanks!
Yayy, I discovered something actually broken, this time, it wasn't me!
Thanks for the answer. I'm wonder how often you must work on element interactions to not notice this.