Advertisement
Guest User

Code optimization for Legendary Worlds

a guest
Apr 23rd, 2022
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. legw_planet_uninhabitable = {
  2. OR = {
  3. uninhabitable_regular_planet = yes
  4. is_asteroid = yes
  5. is_star = yes
  6. is_planet_class = pc_shattered
  7. is_planet_class = pc_shrouded
  8. is_planet_class = pc_gas_giant
  9. is_planet_class = pc_shielded
  10. is_planet_class = pc_cybrex
  11. is_planet_class = pc_shattered
  12. is_planet_class = pc_ringworld_tech_damaged
  13. is_planet_class = pc_ringworld_habitable_damaged
  14. is_planet_class = pc_ringworld_seam
  15. is_planet_class = pc_ringworld_tech
  16. is_planet_class = pc_infested
  17. is_planet_class = pc_ringworld_shielded
  18. is_planet_class = pc_habitat_shielded
  19. # Planetary Diversity
  20. is_planet_class = pc_diamond
  21. is_planet_class = pc_ethane_ocean
  22. is_planet_class = pc_chthonian
  23. is_planet_class = pc_hot_gas_giant
  24. is_planet_class = pc_cold_gas_giant
  25. }
  26. }
  27.  
  28. legw_planet_habitable = {
  29. AND = {
  30. colonizable_planet = yes
  31. is_artificial = no
  32. }
  33. }
  34.  
  35. legw_is_dry = {
  36. AND = {
  37. has_climate = dry
  38. NOT = { is_planet_class = pc_city }
  39. }
  40. }
  41.  
  42. legw_is_wet = {
  43. has_climate = wet
  44. }
  45.  
  46. legw_is_cold = {
  47. has_climate = cold
  48. }
  49.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement