Commit Graph

8548 Commits

Author SHA1 Message Date
cora
a9e139f27d Merge pull request 'beacon optimisations' (#2512) from beacons_cleanup into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2512
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-08-01 23:08:31 +00:00
chmodsayshello
f949c72945 make abm check param2 for up-to date beam color 2022-08-01 23:06:02 +00:00
chmodsayshello
e979535256 convert spaces into tabs 2022-08-01 23:06:02 +00:00
chmodsayshello
e344d1c742 remove itemstring debug logging 2022-08-01 23:06:02 +00:00
chmodsayshello
10d200da80 beacon optimisations 2022-08-01 23:06:02 +00:00
Sumyjkl
8378ca92e2 turning slows the player down in fly mode 2022-08-02 08:20:08 +10:00
Sumyjkl
2b5e3b5123 code quality: combine add_velocity calls into one 2022-08-02 00:14:24 +10:00
Sumyjkl
368ffda75b can only fly when pressed jump and cannot hold jump to enter fly mode, set speed to player velocity when entered fly mode 2022-08-01 23:45:41 +10:00
Sumyjkl
cd62278336 improved code quality 2022-08-01 23:01:27 +10:00
Sumyjkl
9e1b0184c5 fireworks function, slight balancing, removed debug starting speed 2022-08-01 22:15:36 +10:00
Sumyjkl
20b229a9b9 pitching up too far can make player fall fast 2022-08-01 20:53:35 +10:00
Sumyjkl
832b0afdd6 more reasonable values 2022-08-01 20:51:08 +10:00
Sumyjkl
177cf231b6 make elytra better again 2022-08-01 20:34:56 +10:00
Sumyjkl
696cc150b4 broke elytra 2022-08-01 20:12:53 +10:00
cora
a687d9069c Merge pull request 'Make boats unsinkable in river water' (#2510) from riverwater_boats into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2510
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-08-01 09:46:30 +00:00
Sumyjkl
8f4388c4c8 elytra less sensitive to landing, allows entering flight without as much downward velocity 2022-08-01 17:42:43 +10:00
cora
eb7171fd51 Make boats unsinkable in river water 2022-08-01 05:20:19 +02:00
cora
2d97817991 Merge pull request 'beacons' (#2483) from beacons into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2483
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-07-31 20:24:03 +00:00
chmodsayshello
4d52c0d9c6 glass no longer has to be right on top of the beacon 2022-07-31 22:22:57 +02:00
chmodsayshello
1830ca8815 'fix' beacon beam abm 2022-07-31 22:22:57 +02:00
chmodsayshello
1462c39092 remove unnecessary minetest.get_node 2022-07-31 22:22:57 +02:00
chmodsayshello
ca77ffe1c7 decrease blockcheck by 25 nodes
that way, even with the lowest possible render distance, all nodes are loaded, if there are no nodes above the beacon (excluding glass etc.), it sets the meta and places the beam 175 blocks high, it extends all the way until the next non-air block if the player is near enoght...

Signed-off-by: chmodsayshello <chmodsayshello@hotmail.com>
2022-07-31 22:22:57 +02:00
chmodsayshello
d3eccce013 fix color palette 2022-07-31 22:22:57 +02:00
chmodsayshello
b9cb3a4d70 optimisations 2022-07-31 22:22:57 +02:00
chmodsayshello
022fa1d794 remove last beam completly before placing a new one 2022-07-31 22:22:57 +02:00
chmodsayshello
6ae9e6f873 minor optimisations 2022-07-31 22:22:56 +02:00
chmodsayshello
dd9e6e5d6b mesh by Sumi 2022-07-31 22:22:56 +02:00
chmodsayshello
65171a34a8 prevent pistons from pushing beacon beams 2022-07-31 22:22:56 +02:00
chmodsayshello
2d407f8897 change 301 to 501 here as well 2022-07-31 22:22:56 +02:00
chmodsayshello
d15ad61038 remove unnecessary minetest.log call 2022-07-31 22:22:56 +02:00
chmodsayshello
1fdd6a4707 glass changes color of beacon beam 2022-07-31 22:22:56 +02:00
chmodsayshello
56f3f0503e minor changes 2022-07-31 22:22:56 +02:00
chmodsayshello
e0a205bdcc translation template + german translation 2022-07-31 22:22:56 +02:00
chmodsayshello
38d4e7afc9 changing some comments 2022-07-31 22:22:56 +02:00
chmodsayshello
154da96cb0 add beacon beam 2022-07-31 22:22:56 +02:00
chmodsayshello
a5e1a00cd8 Use overlay properly in mcl_achievements 2022-07-31 22:22:56 +02:00
chmodsayshello
9e6af33469 drop items once beacon gets destroyed 2022-07-31 22:22:56 +02:00
chmodsayshello
f7028bc836 'fix' beacon texture 2022-07-31 22:22:56 +02:00
chmodsayshello
f6ce37f2b9 add netherite to beacon materials 2022-07-31 22:22:56 +02:00
chmodsayshello
18888d3ad8 make beacons mineable 2022-07-31 22:22:56 +02:00
chmodsayshello
a3adb3d80a beacon crafting recipie 2022-07-31 22:22:56 +02:00
chmodsayshello
74e3dfa0d7 beacon related achievements 2022-07-31 22:22:56 +02:00
chmodsayshello
cc877e1264 fix mayor multiplayer bug
because i escape the loop using return after applying the effect to ONE player, which causes the other ones to not get the effect
2022-07-31 22:22:56 +02:00
chmodsayshello
a33d3e68a2 check if there are no blocks above beacons 2022-07-31 22:22:56 +02:00
chmodsayshello
9433cbe5a5 remove unnecessary code 2022-07-31 22:22:56 +02:00
chmodsayshello
6a7626e122 use globalstep instead of abm 2022-07-31 22:22:56 +02:00
chmodsayshello
ef659bc5a9 remove debug logging 2022-07-31 22:22:56 +02:00
chmodsayshello
eac55ecea4 upload mod (mcl_beacons) itself 2022-07-31 22:22:56 +02:00
chmodsayshello
86be87f263 upload textures 2/2 2022-07-31 22:22:56 +02:00
chmodsayshello
f310395675 upload textures 1/2 2022-07-31 22:22:56 +02:00