cfox04

Untitled

Dec 11th, 2021 (edited)
104
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i in range(32):
  2.     j = i + 1
  3.     name = f"Unknown {j}"
  4.     if j == 6:
  5.         name = "Static"
  6.     elif j == 8:
  7.         name = "Instance"
  8.     elif j == 10:
  9.         name = "Bone anims (YCD)"
  10.     elif j == 11:
  11.         name == "UV anims (YCD)"
  12.     elif j == 14:
  13.         name = "Object won't cast shadow"
  14.     elif j == 17:
  15.         name = "Double-sided rendering"
  16.     elif j == 18:
  17.         name = "Dynamic"
  18.     elif j == 27:
  19.         name = "Enables special attribute"
  20.     elif j == 29:
  21.         name = "Disable red vertex channel"
  22.     elif j == 30:
  23.         name = "Disable green vertex channel"
  24.     elif j == 31:
  25.         name = "Disable blue vertex channel"
  26.     elif j == 32:
  27.         name = "Disable alpha vertex channel"
  28.     print(f"""flag{j}: bpy.props.BoolProperty(name="{name}")""")
RAW Paste Data Copied