mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
1.2 update
..
This commit is contained in:
11
Generator/tests.py
Normal file
11
Generator/tests.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import dcs
|
||||
import dcs.cloud_presets
|
||||
|
||||
testm = dcs.mission.Mission()
|
||||
|
||||
# testCloudPresets
|
||||
for i in range(0, len(dcs.cloud_presets.CLOUD_PRESETS)):
|
||||
preset_name = list(dcs.cloud_presets.CLOUD_PRESETS)[i]
|
||||
cloud_preset = dcs.weather.CloudPreset.by_name(preset_name)
|
||||
testm.weather.clouds_preset = cloud_preset
|
||||
print("Cloud preset = " + cloud_preset.ui_name)
|
||||
Reference in New Issue
Block a user