Make wind dependent on height, add additional control commands, improve docu

This commit is contained in:
Till Affeldt
2020-05-13 16:03:28 +02:00
parent f42b4183e5
commit d4e00db432
14 changed files with 142 additions and 55 deletions

View File

@ -37,7 +37,7 @@ function trigger.test_condition(condition, env, goal)
return false
else
value = env[condition]
return type(value) ~= "nil" and goal == value
return type(value) == "nil" or goal == value
end
end