Commit Graph

79 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
ffdd1b65b3
Implement //set+
This is on the road to //orient and later stair/etc support in //rotate :D
2024-05-25 14:45:56 +01:00
Starbeamrainbowlabs
c1fce81bc3
post_marker_wall: @module → @namespace 2023-12-31 17:08:36 +00:00
Starbeamrainbowlabs
7d29453699
plug in new //rotate+ logic
...but it doesn't work yet
currently it crashes with a variety of interesting and colourful error messages
working on debugging it now, but it's gonna take a moment
2023-12-13 23:05:00 +00:00
Starbeamrainbowlabs
b92cc434db
core/run_command: be more robust in case of programming errors 2023-12-13 23:04:09 +00:00
Starbeamrainbowlabs
873ff4bef8
Bugfix: don't error out on //flora → //bonemeal alias if bonemeal mod isn't installed
Also add worldeditadditions_core.command_exists to check both WEA and WEW for whether a command exists or not
2023-12-13 22:15:27 +00:00
Starbeamrainbowlabs
b42c8f2641
Bugfix: fix crash in pos_marker_wall/delete 2023-08-20 16:46:30 +01:00
Starbeamrainbowlabs
f590304995
post_marker: comment debug logging 2023-08-19 13:49:13 +01:00
Starbeamrainbowlabs
f4471dfa8e
Does this finally fix the zombie marker wall bug?
only time will tell.
2023-08-19 00:58:58 +01:00
Starbeamrainbowlabs
76c02cd42f
update more comments 2023-08-03 14:37:05 +01:00
Starbeamrainbowlabs
fadf4ed06c
Merge branch 'fix-markerdupes' into dev 2023-08-01 00:35:44 +01:00
Starbeamrainbowlabs
125638a079
pos_marker, pos_marker_wall: default to 1 hp 2023-08-01 00:27:07 +01:00
Starbeamrainbowlabs
7be2fb125e
add more debug logging 2023-08-01 00:16:36 +01:00
Starbeamrainbowlabs
6231132055
pos_marker: debug logging; set health = 0 2023-08-01 00:14:43 +01:00
Starbeamrainbowlabs
564785ddf6
When any segment of the marker wall is punched, unmark the entire wall
Fixes #102
2023-07-31 18:22:00 +01:00
Starbeamrainbowlabs
1c90e03d3e
When any segment of the marker wall is punched, unmark the entire wall
Fixes #102
2023-07-31 18:20:06 +01:00
Starbeamrainbowlabs
dacbeaf81d
comment debug logging 2023-07-18 00:42:42 +01:00
Starbeamrainbowlabs
5505575cf9
Fix regions not remembering their state and being unresettable
This fix means that wwe require minetest 5.2 as a minimum rather than 5.1
ref https://rubenwardy.com/minetest_modding_book/en/quality/common_mistakes.html#be-careful-when-storing-objectrefs-ie-players-or-entities
2023-07-18 00:35:07 +01:00
Starbeamrainbowlabs
5baa72cf6f
core/run_command: guard against invalid potential_changes 2023-07-11 19:12:04 +01:00
Starbeamrainbowlabs
5c632df658
Override basic selection commands
//mark
//unmark
//pos1 //1
//pos2 //2
//reset
Also add //pos <index>
2023-07-10 20:17:28 +01:00
Starbeamrainbowlabs
693fc145d5
pos: avoid calling worldedit.marker_update unless necessary 2023-07-10 19:25:48 +01:00
Starbeamrainbowlabs
f2214150f2
Update minetest.chatcommands → minetest.registered_chatcommands 2023-07-09 19:49:38 +01:00
Starbeamrainbowlabs
3bfc62be24
Make //unmark WEA-aware
Backwards compatibility with WE is maintained.
2023-07-09 19:44:31 +01:00
Starbeamrainbowlabs
e916057133
safe_region: update comment
We need @value
2023-07-07 01:31:06 +01:00
Starbeamrainbowlabs
8981bc4baa
weac.pos: update comments 2023-07-02 17:48:43 +01:00
Starbeamrainbowlabs
61403108d6
disable a bunch of debug logging 2023-07-01 02:46:08 +01:00
Starbeamrainbowlabs
92fd201b42
pos_marker_lua: add last_reset to properly clear huge regions 2023-07-01 01:11:56 +01:00
Starbeamrainbowlabs
b3f7ae9d7c
pos_marker_wall: add support for customising sides displayed
...it's not exposed in the UI yet tho.
2023-06-30 02:08:46 +01:00
Starbeamrainbowlabs
277da67dda
marker wall: got it! 2023-06-29 01:49:15 +01:00
Starbeamrainbowlabs
a173edfbc4
wall markers: it shouldn't work, but it does
....I'll take it!
2023-06-29 01:22:50 +01:00
Starbeamrainbowlabs
c622fb554f
Hook in the new marker wall system
it works!
now for the other walls.
2023-06-29 00:39:55 +01:00
Starbeamrainbowlabs
f7530da608
initial pos marker wall for +x only
it's not hooked up yet.
2023-06-27 21:45:48 +01:00
Starbeamrainbowlabs
61e04952e0
move pos marker textures. will this help #90? 2023-06-27 20:16:04 +01:00
Starbeamrainbowlabs
141ea2f0a7
For compatibility, ensure that we also clear the legacy worldedit region too 2023-06-27 20:00:07 +01:00
Starbeamrainbowlabs
53bbe14c63
update cloud wand to use new wea_c.pos interface 2023-06-27 19:39:57 +01:00
Starbeamrainbowlabs
cfc1fe3639
huh, weird. evidently we need all the checks ever
ref #88
2023-01-11 02:32:01 +00:00
Starbeamrainbowlabs
97bb896829
fixup, ref #88 2023-01-11 02:25:41 +00:00
Starbeamrainbowlabs
58dd3ea875
Bugfix new marker system: properly check that the lua entity is a thing
Missing ()
Might fix #88, but needs testing.
2023-01-11 02:18:06 +00:00
Starbeamrainbowlabs
2748f4cdfa
//spline: plot chaikin curve 2022-09-25 15:30:16 +01:00
Starbeamrainbowlabs
9806828760
core pos: fix worldedit compat 2022-09-25 15:02:48 +01:00
Starbeamrainbowlabs
888e4b0f78
saferegion: fix missing return 2022-09-25 14:39:57 +01:00
Starbeamrainbowlabs
5d9dee9523
pos: fix warning 2022-09-25 02:03:44 +01:00
Starbeamrainbowlabs
268e123221
run_command require_pos: also check WEA pos subsystem 2022-09-25 02:02:23 +01:00
Starbeamrainbowlabs
363acde496
core pos: make function names actually make sense 2022-09-25 01:59:59 +01:00
Starbeamrainbowlabs
7a14e8a590
comment all the debug prints 2022-09-25 01:57:41 +01:00
Starbeamrainbowlabs
f998110303
core pos: Add (complicated) compat w/worldedit 2022-09-25 01:43:30 +01:00
Starbeamrainbowlabs
285572e16b
saferegion: allow nodes_needed to return string 2022-09-25 01:19:36 +01:00
Starbeamrainbowlabs
a768378dfd
core: add transparent WorldEdit compatibility to the position subsystem 2022-09-25 01:07:48 +01:00
Starbeamrainbowlabs
c2d19105ed
get_pos_all → get_all 2022-09-24 23:50:45 +01:00
Starbeamrainbowlabs
3583de4731
wea_c.pos: add get_bounds
....though tbh, I think this should go elsewhere.
2022-09-24 23:48:36 +01:00
VorTechnix
98a74c63dc fixed colour offset bug and refactored hex values 2022-09-20 08:59:49 -07:00