Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function deco(safe)
- tpt.start_getPartIndex()
- while tpt.next_getPartIndex() do
- local index = tpt.getPartIndex()
- if tpt.get_property("dcolour",index) == 0 then
- tpt.set_property("dcolour",elements.property(tpt.get_property("type",index),"Color"),index)
- end
- if convert ~= true then
- tpt.set_property("type",elem.DEFAULT_PT_DMND,index)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment