cora
fb4f21cba0
entity cramming: spare the children
2022-05-26 14:16:38 +02:00
cora
85b599edba
entity cramming: check less often
2022-05-26 14:16:38 +02:00
cora
b4cbc528a3
mcl_mobs: add entity_cramming
2022-05-26 14:16:38 +02:00
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh
2022-05-26 07:29:28 +02:00
Elias Fleckenstein
ff33794487
Rename mobs global to mcl_mobs
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
e0f70b54ec
Remove _cmi_is_mob
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
4054f05a4c
Remove support for invisibility mod
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
f6be8bac5a
Remove checks for MCL2 mods
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
8db9e76529
Remove unused version field
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
6ae722a6ee
Remove use_cmi
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
fc3992ceb6
Remove mobs.is_creative
2022-05-25 23:13:33 +02:00
cora
5dafeaadc6
Fix indentation in mcl_mobs/api.txt
2022-05-21 12:36:57 +02:00
cora
53df441c1b
Don't pick up near player, add more breeding stuff
2022-05-21 12:36:57 +02:00
cora
db865ede56
villagers open doors in daytime and close at night
2022-05-21 12:36:57 +02:00
cora
67939f7b7a
pathfinding: find doors close to target as well
2022-05-21 12:36:57 +02:00
cora
9ccbf91706
mobs api: document api additions
2022-05-21 12:36:57 +02:00
cora
dfb74cf9e9
mobs: add nofollow option so v. dont follow bread
2022-05-21 12:36:57 +02:00
cora
e6b65af3b4
add mobs item pickup
2022-05-21 12:36:57 +02:00
cora
4ac41a793e
fix two crashes in pathfinding
2022-05-21 12:36:57 +02:00
cora
98231f15ae
change function name go_wplist -> gopath
2022-05-21 12:36:57 +02:00
cora
f8fc111b4a
pathfind to jobsites
2022-05-21 12:36:57 +02:00
cora
dbc5564d02
move movement code to mcl_mobs
2022-05-21 12:36:57 +02:00
cora
5282a63bcb
add options for nametagged mobs and range
2022-05-15 20:04:09 +00:00
cora
e5de4bba65
keep nametagged mobs, add "all" argument
2022-05-15 20:04:09 +00:00
cora
628686ce79
Add a command to safely remove all mob objects
2022-05-15 20:04:09 +00:00
cora
e1ed990f58
sp. farm animals on grass, villagers near beds
2022-05-08 18:50:37 +00:00
kay27
53042b6f48
Adopt mob spawning from mcl5
2022-05-08 18:50:37 +00:00
NO411
e790bf90f4
Make shields work with all mobs
2022-04-09 16:21:22 +02:00
cora
1c9f0c3238
don't spawn mobs on non opaque nodes or leaves
...
with the preliminary jordanspaning mobs would spawn on trees
and water regularly.
2022-03-22 22:02:15 +01:00
kabou
46ee5aaa59
Fix undefined luaentity crash.
...
* Add nil check to get_luaentity() access.
* Cache get_luaentity() call in local var.
2022-03-21 01:39:02 +00:00
kabou
11ee1d133f
Fix cut-n-paste error.
...
* Swap misplaced lines.
* Concatenate conditional expression.
2022-03-09 18:26:51 +01:00
kabou
9bac0da01a
Fix registered_items oddity and add check for unknown nodes.
...
* Mobs redo uses `registered_items[]` where clearly the proper table
accessed should be `registered_nodes[]`. Perhaps this magically
works, but it looks nonsensical. Switch to the use the more
sensible `registered_nodes[]` table.
* Check if node has a definition table before attempting to evaluate its
attributes.
* Define local variable to cache multiple accesses to `registered_nodes[]`
and improve readability.
2022-03-09 13:11:53 +01:00
cora
3feca330c9
fix the other 2 throw_xp occurences
2022-02-25 00:40:26 +00:00
cora
435b5d756d
throw_experience->throw_xp (api change)
2022-02-25 00:40:26 +00:00
cora
2bb416765c
revert to old mobs ( 32c03dc27e
)
...
This reverts the hierarchies ENTITIES/mcl_mobs, ENTITIES/mobs_mc
and ENTITIES/mobs_mc_gameconfig to the state of commit
32c03dc27e
2022-02-25 00:40:26 +00:00
Emojigit
b02f7cd974
mcl_mobs
2022-02-23 23:58:05 +01:00
Elias Fleckenstein
8f9f5cc936
Merge branch 'master' into xp
2021-11-03 20:14:08 +01:00
Elias Fleckenstein
a4e73886d5
Rework XP API
2021-11-03 19:36:57 +01:00
Artem Arbatsky
db696d0e2b
Add missing call for on_die function
2021-11-03 10:11:06 +08:00
kay27
c6b662ce7a
[mcl_mobs/api] Add mob flow code from Crafter
2021-06-22 05:10:45 +04:00
kay27
586c18b00f
[mcl_mobs/api] Continue float function on acceleration.y equals zero
2021-06-22 03:15:39 +04:00
marcin-serwin
cbe8583cef
Merge branch 'master' into polish-translation
2021-06-02 10:14:25 +00:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
AFCMS
b8782d0af1
rename API doc file properly
2021-05-27 11:30:43 +02:00
AFCMS
9e074af07f
unify code style [1]
2021-05-25 12:52:25 +02:00
AFCMS
388ab6d8df
fix some codestyle issues
2021-05-25 10:56:06 +02:00
AFCMS
79cf98c8e3
[mcl_mobs] fix some warnings
2021-05-25 01:48:14 +02:00
AFCMS
f76b66eec6
[mcl_mobs] fix some warnings (131 remaining!)
2021-05-25 00:37:02 +02:00
cora
66f132a645
fix crash on creeper explosion ( #1755 )
2021-05-24 12:41:16 +02:00
kay27
9ae1119438
[mcl_mobs] Fix server crash for mobs in unloaded areas, https://git.minetest.land/MineClone2/MineClone2/issues/1703
2021-05-15 03:17:16 +04:00