setStepCount.lua 575 B

12345678910111213141516171819202122232425
  1. return {
  2. tag = 'worldProperties',
  3. summary = 'Set the step count of the World.',
  4. description = [[
  5. Sets the step count of the World. The step count influences how many steps are taken during a
  6. call to `World:update`. A higher number of steps will be slower, but more accurate. The
  7. default step count is 20.
  8. ]],
  9. arguments = {
  10. steps = {
  11. type = 'number',
  12. description = 'The new step count.'
  13. }
  14. },
  15. returns = {},
  16. variants = {
  17. {
  18. arguments = { 'steps' },
  19. returns = {}
  20. }
  21. },
  22. related = {
  23. 'World:update'
  24. }
  25. }