Commit graph

8845 commits

Author SHA1 Message Date
Sumyjkl
3852c0297f changed API to recognise sitting order, added animations for sitting and idle, dog will no longer walk around while in sit mode 2022-07-22 03:27:41 +02:00
Sumyjkl
c60002b18d set tamed 2022-07-22 03:27:41 +02:00
Sumyjkl
4920ef0fd5 allow wolf to be bred like other animals 2022-07-22 03:27:41 +02:00
cora
96b628d418 Sheep run away when hit 2022-07-22 03:27:41 +02:00
cora
69c689bfb7 make llamas retaliate by spitting.
it's a bit picky when and how it will spit still but works.
2022-07-22 03:27:41 +02:00
cora
b7a0460b15 Reset aggro when player far 2022-07-22 03:27:41 +02:00
SumianVoice
cfb6b6003c Update api.lua 2022-07-22 03:27:41 +02:00
SumianVoice
a6eae1e95e don't tame baby animals yet 2022-07-22 03:27:41 +02:00
SumianVoice
682b61ad4a make sure you can't heal and tame at the same time 2022-07-22 03:27:41 +02:00
SumianVoice
524da8a6cb move heal under tame so that you can tame an animal and then heal it, like in MC 2022-07-22 03:27:41 +02:00
SumianVoice
e6a97031ef remove unnecessary check 2022-07-22 03:27:41 +02:00
SumianVoice
120b096fc8 move self.food check 2022-07-22 03:27:41 +02:00
SumianVoice
9d52fed357 non-tamable mobs will not send tame param to feed_tame func,
changed event flow so it tries in order: heal, tame, breed, grow child
2022-07-22 03:27:41 +02:00
SumianVoice
e5c1da4380 make it check not child, since the return statement was removed 2022-07-22 03:27:41 +02:00
SumianVoice
a07a5b24bd animals don't take food from player unless it is used for something 2022-07-22 03:27:41 +02:00
SumianVoice
c626c977d1 Update api.lua 2022-07-22 03:27:41 +02:00
cora
69d1c26a15 Merge pull request 'mcl_dripping: Fix wrong sound position' (#2471) from dripping_particles into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2471
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-21 10:05:57 +00:00
cora
e1130a105f fix wrong sound position 2022-07-21 12:03:46 +02:00
cora
cae53a8230 Merge pull request 'Add shadow under grass texture like on paths' (#2472) from SumianVoice/MineClone2_c:add_shadow_on_dirt into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2472
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-07-21 10:03:01 +00:00
SumianVoice
a35ec2e994 Merge branch 'master' into add_shadow_on_dirt 2022-07-21 10:02:17 +00:00
cora
f8f44ddef0 Merge pull request 'Implement slimeblock piston launchers:' (#2474) from slimepistonlauncher into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2474
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-07-21 09:54:20 +00:00
Sumyjkl
cf8bbfef7b add similar shading to podzol, change to overlay for adding shading to grass 2022-07-21 19:53:39 +10:00
MysticTempest
2fd9e2ad53 Implement slimeblock piston launchers:
Adds the mechanic of launching entities standing on, or in
front of slimeblocks; which are attached to, and pushed by pistons.
2022-07-21 02:30:30 -05:00
Sumyjkl
16d65d25f2 added exact replica shading to grass block 2022-07-21 00:47:01 +10:00
Sumyjkl
f214e2c1ad make snow dirt shadow less intense 2022-07-20 22:37:14 +10:00
Sumyjkl
f9602c3ebb add shadow under grass and snow texture 2022-07-20 22:32:22 +10:00
cora
7d57b3448a Merge pull request 'Never show nitwit trading formspec' (#2466) from no-nitwit-trading into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2466
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-20 10:37:30 +00:00
cora
54337e9854 never show nitwit trading formspec 2022-07-19 11:46:28 +02:00
cora
e03801d45d Merge pull request 'Add debug hud' (#2459) from debug_hud into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2459
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-19 09:29:36 +00:00
cora
37114e7d1a Add API documentation 2022-07-19 11:15:08 +02:00
cora
ac45ed8a0a coord and biome use api too, fields well ordered 2022-07-19 11:15:08 +02:00
cora
7e6daa0e60 Add api to register custom debug fields
also add node info as first fields
2022-07-19 11:15:08 +02:00
cora
39b9a058e9 Save persistent setting in player meta 2022-07-19 11:15:08 +02:00
cora
00ef88e01c fix mistakes from mcl5 import, clean up output 2022-07-19 11:15:08 +02:00
kay27
d5b2e60e32 #278 Rename default_dbg to default_debug 2022-07-19 11:15:08 +02:00
kay27
cb2852e88f #233 Add /debug chat command 2022-07-19 11:15:08 +02:00
kay27
47719872e4 [hud] Show player biome and position 2022-07-19 11:15:08 +02:00
cora
024905f4ad Merge pull request 'no suffocation damage when swimming under a roof' (#2451) from SumianVoice/MineClone2_c:swimming_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2451
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-07-19 02:55:36 +00:00
SumianVoice
d54d8fc657 Merge branch 'master' into swimming_fix 2022-07-19 02:32:19 +00:00
cora
169a43ab08 Merge pull request 'Change dripping entities to particles' (#2457) from dripping_particles into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2457
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-18 20:33:42 +00:00
cora
d89ef0581f Optimize ABMs 2022-07-18 22:28:02 +02:00
cora
0298cecbcd change dripping entities to particles 2022-07-18 22:28:02 +02:00
cora
d45fc46d0e Merge pull request 'Improve crying obsidian visuals once more' (#2454) from crying_obby_particles_2 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2454
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-18 20:24:26 +00:00
cora
da4aa9bc35 improve crying obsidian visuals 2022-07-18 22:21:58 +02:00
SumianVoice
1e41f403d3 Merge branch 'master' into swimming_fix 2022-07-18 05:03:46 +00:00
cora
29a97efc3f Merge pull request 'Fix nether dust particles using wrong setting' (#2449) from fix_dust_particle_setting into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2449
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-18 03:33:05 +00:00
cora
a3596d22e3 Fix nether dust particles using wrong setting 2022-07-18 05:30:37 +02:00
cora
396b65ca04 Merge pull request 'Several mob spawning and mob api fixes' (#2452) from mob_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2452
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-18 03:23:17 +00:00
cora
68d45ff606 Remove MushroomIsland from several mobs spawn list 2022-07-18 02:11:48 +02:00
cora
bf756403a3 Fix animals attacking players for no reason 2022-07-18 00:10:23 +00:00