847 Commits

Author SHA1 Message Date
MihailRis
7330896eb4 add heightmap:sub(...) operation 2024-10-16 05:15:07 +03:00
MihailRis
c2cfe64b7e update doc/ru/** scripting-related docs 2024-10-16 02:00:46 +03:00
MihailRis
59c4e26eda feat: heightmap-inputs 2024-10-16 00:38:58 +03:00
MihailRis
5e79bc07e9 add Heightmap:mixin(...) 2024-10-15 22:19:06 +03:00
MihailRis
08ebfa15db add read-only UI contentOffset property 2024-10-15 05:56:15 +03:00
MihailRis
fbca439b2d fix: extended block always main segment passed to on_iteract 2024-10-15 05:24:52 +03:00
MihailRis
4dfa235f12 add item.caption(...) function & move item library docs to libitem.md 2024-10-15 04:48:01 +03:00
MihailRis
c34bc184a4 update heightmap:dump(...) filename argument 2024-10-15 02:04:17 +03:00
MihailRis
48143c5a2b add fragment.crop, fragment:crop() & fix fragments rotation when width is not equal to depth & fix extra structures placements 2024-10-15 00:03:06 +03:00
MihailRis
fd2bd15658 update voxel fragments lua api & replace structure.save command with fragment.save & add 'export' entry point 2024-10-14 19:39:58 +03:00
MihailRis
b9074ebe47 fix block.get_hitbox with non rotatable blocks 2024-10-14 09:43:51 +03:00
MihailRis
04e490c896 add config/defaults.toml 2024-10-14 02:56:33 +03:00
MihailRis
de00414456 add generator 'caption' property 2024-10-13 22:53:12 +03:00
MihailRis
b5c1050f43 add placements priority 2024-10-11 18:37:03 +03:00
MihailRis
a578cca325 add 'place_structures_wide' callback 2024-10-10 02:00:13 +03:00
MihailRis
6e0304248b add stdmin.lua 2024-10-09 05:30:02 +03:00
MihailRis
116cbd61db feat: 'lines' (cave-like structures/tunnels) (WIP) 2024-10-08 02:32:45 +03:00
MihailRis
d9a44f3b87 minor refactor 2024-10-06 21:07:27 +03:00
MihailRis
73d96fd4f7 move generator script execution to an isolated Lua state 2024-10-06 18:23:33 +03:00
MihailRis
091805a16e refactor scripting_world_generation.cpp 2024-10-06 17:28:44 +03:00
MihailRis
756de7b0b1 refactor lua_engine 2024-10-05 17:32:03 +03:00
MihailRis
736fdbf964 move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00
MihailRis
ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +03:00
MihailRis
f7492ce449 add lua dv::bytes support 2024-10-03 18:23:50 +03:00
MihailRis
5ff00df527 micro refactor 2024-10-02 20:24:50 +03:00
MihailRis
87cf6c41bc update block.get_field, block.set_field and fields-related docs 2024-10-02 17:56:19 +03:00
MihailRis
28d746f371 implement blocks data saving/loading 2024-09-30 23:42:16 +03:00
MihailRis
e84c79839c update blocks data lifetime 2024-09-30 21:33:19 +03:00
MihailRis
4f559c1086 refactor libblock 2024-09-30 20:15:22 +03:00
MihailRis
fc99343fb5 add block.get_field(...), block.set_field(...) 2024-09-30 18:55:01 +03:00
MihailRis
e30e0083a0 add ores 2024-09-30 13:14:53 +03:00
MihailRis
e590d06bb0 add file.read_combined_list(...) 2024-09-30 01:55:42 +03:00
MihailRis
16fac768c8 add chunk_height parameter to place_structures 2024-09-29 23:39:42 +03:00
MihailRis
abc8eccab8 add biome-bpd and heights-bpd generator def parameters 2024-09-29 23:12:45 +03:00
MihailRis
6c2d10e14b cleanup 2024-09-29 22:08:28 +03:00
MihailRis
3784b57eed move biomes definition to a json file 2024-09-29 22:03:37 +03:00
MihailRis
50c7308211 move core.get_generators to generation.get_generators 2024-09-28 14:23:20 +03:00
MihailRis
c46090f881 update generators scanning 2024-09-27 23:55:14 +03:00
MihailRis
3d478aef08 add generator definition file (.toml) 2024-09-26 22:26:01 +03:00
MihailRis
d839da7dab collect generator voxel fragments to directory 2024-09-26 01:30:55 +03:00
MihailRis
788ad1f6a6 add core:obstacle block & move cameras from base to core & add new generator 2024-09-25 15:45:45 +03:00
MihailRis
d534207deb add test ore (coal) 2024-09-25 00:13:59 +03:00
MihailRis
983a24bd05 remove generator script load_structures function 2024-09-24 17:16:52 +03:00
MihailRis
806ed4b155 add automatic biome-based structures placement 2024-09-24 17:08:25 +03:00
MihailRis
323c2f2935 refactor & add structures.json 2024-09-24 04:05:13 +03:00
MihailRis
519ebc05f1 optimize test generator 2024-09-23 23:35:39 +03:00
MihailRis
74ded5a052 implement structures rotation 2024-09-22 01:58:59 +03:00
MihailRis
001b930212 update world generation pipeline 2024-09-21 23:29:19 +03:00
MihailRis
a413c5d09e implement inter-chunk structure generation 2024-09-21 20:50:12 +03:00
MihailRis
03ba7c9539 test voxel structures generation 2024-09-21 17:21:47 +03:00