How does LAVA know what melting point its 'ctype' has?
LAVA has its melting point at max_temp to check constantly whether to solidify.
I could write code:
-- I AM METAL CHLORIDE if mytemp > 673.15 then if r ~= nil then elemHandle = tpt.create(x+math.random(-1,1), y+math.random(-1,1), "clor") if sim.partProperty(i,'type') == elem.DEFAULT_PT_NONE then sim.partProperty(i,'type', elem.DEFAULT_PT_METL) else sim.partProperty(i,'type', sim.partProperty(i,'ctype')) end mytemp = mytemp - 50 end endend
Could I somehow 'get' the melting point as a local?
This code is for metal chloride uses a similar mechanism.
It checks for its ctype to know what to turn into.
However it does not have a specific decomposition temperature for Each Metal
I am trying to think of a mechanism and a way to write it in code without writing ten lines for Each Element.
Anything would help.
elem.property(elem.POLOKUS_PT_KBVH, "HighPressure", 2426.75)elem.property(elem.POLOKUS_PT_DORT, "HighPressureTransition", elements.DEFAULT_PT_LAVA)
, however it is blank ctype lava.
Would updating be possible for you?
Ooh I forgot to add, thnka you so verily much for your table, i never even knew i could do that!
@LBPHacker (View Post)
I was vague, I fear this won't be accepted.
I was asking whether you could add HighPressureTransition handling in the code.
Oops! That's true, you're right, that is supposed to be DORT and not KBVH.