Commit graph

21 commits

Author SHA1 Message Date
Starbeamrainbowlabs 98bf0ef386
//maze: Fix seed when generating multiple mazes in the same second 2021-12-31 14:02:53 +00:00
Starbeamrainbowlabs af0e54cfdf
//maze: update to use Vector3 2021-12-26 22:48:37 +00:00
Starbeamrainbowlabs b962ace8a8
//maze, //maze3d: Fix crash if no arguments are specified 2021-12-26 22:45:37 +00:00
Starbeamrainbowlabs 45def53294
various commands: Upgrade to use wea.split_shell 2021-07-31 16:03:04 +01:00
Starbeamrainbowlabs db7b20d485
Refactor table functions into subtable of wea
Also, you can return a value from dofile()!!!!

This changes everything.
2021-06-28 00:56:29 +01:00
Starbeamrainbowlabs 8877e356f0
refactor: refactor utils/strings.lua into multiple files 2021-03-20 01:48:56 +00:00
Starbeamrainbowlabs fea89f2e3c
//maze, //maze3d: Allow non-number seeds
This uses a simple (non-crypto!) hash function to hash non-number 
strings to a number. Existing seeds are *not* affected - they will still 
work as before.
2020-09-28 01:31:15 +01:00
Starbeamrainbowlabs a6f5fe5123
Finish initial //ellipsoidapply implementation 2020-09-20 21:19:29 +01:00
Starbeamrainbowlabs 9b913bdfb1
all commands: use human_time() in output 2020-06-26 21:23:03 +01:00
Starbeamrainbowlabs 0afbba4deb
os.clock() → minetest.get_us_time()
....how did I miss that :P
2020-06-26 20:46:35 +01:00
Starbeamrainbowlabs f3a8c1dd64
Add //count 2020-05-12 00:38:42 +01:00
Starbeamrainbowlabs df629157b2
//maze[3d]: fix logging 2020-05-10 23:46:19 +01:00
Starbeamrainbowlabs fb228bb37b
//maze[3d]: Fix no arguments specified edge case 2020-05-10 23:40:46 +01:00
Starbeamrainbowlabs 576351225a
//maze[3d]: fix path dimension edge cases
- value less than 1
 - non-integer value (unconditionally math.floor(); comment added about 
this)
2020-05-10 22:18:26 +01:00
Starbeamrainbowlabs bdfd74346e
Migrate //maze3d to worldedit.register_command 2020-05-10 21:21:00 +01:00
Starbeamrainbowlabs 58faa8349e
Fix safe_region 2020-05-10 21:08:22 +01:00
Starbeamrainbowlabs 8e515c3778
Refactor //maze to use worldedit.register_command
....but I'm confused as to how the automatic safe_region thing works - I 
can't get it to trigger
2020-05-10 21:00:16 +01:00
Starbeamrainbowlabs 35bd8f19b2
maze3d: fix command parsing 2020-05-03 17:10:41 +01:00
Starbeamrainbowlabs 29223a3455
Patch maze3d to support the path dimennsion settings, but there's some weirdness going on 2020-05-03 17:02:28 +01:00
Starbeamrainbowlabs 2720f62d09
//maze: add path_length and path_width support
....now we jujst need to tackle //maze3d
2020-05-03 16:19:42 +01:00
Starbeamrainbowlabs d35a55ea9e
commands: refactor into separate files 2020-05-03 00:37:18 +01:00