trans_soup
d197e1f1e3
move item_matches
into api.
...
move function `item_matches` from `bg_crafting` into `bg_api`, since
it'll be useful in many other places.
2023-10-17 15:02:39 +02:00
trans_soup
7df5d33d02
refactor: extract repeated code into api function.
...
move function `starts_with`, which was declared twice in separate files,
to the api, and make those files use that function instead.
2023-10-17 14:58:15 +02:00
trans_soup
c31d6cf5d0
improve pummeling.
...
pummeling definition tables now has lists of item id:s and groups, the
same way e.g. ABM:s do, that determine what items are involved in a
recipe.
update existing (in-use) pummel recipes to make use of this.
2023-10-17 14:53:08 +02:00
trans_soup
45f59f5e03
minor refactor of recipe code.
...
just separated different recipe types into different files.
2023-10-17 14:28:08 +02:00
trans_soup
5305cc526d
minor fix & refactors of recipe code.
2023-10-17 14:23:44 +02:00
trans_soup
20b29c833f
complete cleanup after rename.
...
clean up things that were broken after renaming `bg_core` to
`bg_terrain`.
also clean up after global rename that added `bg_` prefix to every mod
name.
2023-10-16 10:14:34 +02:00
trans_soup
7755583fa4
rename mods and add hacky cleanup thing.
...
rename mods; add `bg_` prefix.
add hacky cleanup ABM (couldn't get LBM:s to work), that converts old
nodes into new ones according to this rename.
the cleanup doesn't do anything for items, though.
2023-10-15 18:22:13 +02:00
trans_soup
24ec93cd50
fix name fields in mod.conf
files.
2023-10-15 17:23:37 +02:00
trans_soup
568e8059f9
refactor: more wrappers
...
create more wrappers for built-in functions and use them instead.
2023-10-13 09:31:55 +02:00
trans_soup
850d397a97
refactor: minor code style change.
...
change the way some functions are declared.
2023-10-11 19:12:47 +02:00
trans_soup
7581aba12a
fix pummel error in crafting api.
...
pummel recipes now successfully make use of a provided `used_item`
value, instead of having a redundant `used_node` value.
2023-10-11 11:39:39 +02:00
trans_soup
9aa96f456f
implement basic pummeling.
2023-10-11 11:15:08 +02:00
trans_soup
a973bbdbf8
initial commit.
...
created a few proof-of-concept mechanics. took some textures from
minetest game. implemented basic tree growth and stacking in-world
crafting.
2023-10-11 09:17:21 +02:00