the-real-herowl
42ec62562d
Moved sprinting into the new FOV api
2023-12-18 22:50:52 +00:00
the-real-herowl
7f5ce4e033
Fixed modifier application and removal
2023-12-18 22:50:52 +00:00
the-real-herowl
3a007e3bb1
Re-registered FOV mods using new API version
2023-12-18 22:50:52 +00:00
the-real-herowl
a650f8b368
Made fovapi registration more robust
2023-12-18 22:50:52 +00:00
Michieal
580a1caa38
Reworked some of the Apply_Modifier code to help prevent errors.
2023-12-18 22:50:52 +00:00
Michieal
2f8389d3f5
Put in check to prevent Trying to Reference a Nil error in Apply_Modifier.
2023-12-18 22:50:52 +00:00
Michieal
4f3f59f4bc
Put in checks to prevent repeatedly applying the same FOV modifier.
...
Added short circuit to remove_modifier if the modifier is not currently applied.
2023-12-18 22:50:52 +00:00
Michieal
36f661743e
Set up the Bows to use the new FOV API. Bows now zoom in and clear out the zoom.
2023-12-18 22:50:52 +00:00
Michieal
0a17bbe731
Added reset for player respawning to remove FOV modifiers.
...
Fixed missing on_end call in remove_all_modifiers.
Added mcl_fovapi to Bows, Sprint, and Spyglass.
Set up the Spyglass to use the new FOV API.
2023-12-18 22:50:52 +00:00
Michieal
6cfb55e853
Added reset for player respawning to remove FOV modifiers.
...
Fixed missing on_end call in remove_all_modifiers.
Added mcl_fovapi to Bows, Sprint, and Spyglass.
2023-12-18 22:50:52 +00:00
Michieal
bf41e116a1
Fleshed out the API Documentation.
...
Modified missing pieces of code.
2023-12-18 22:50:52 +00:00
Michieal
fc80d4fb9f
Initial API state.
2023-12-18 22:50:52 +00:00
Michieal
11c5d36c55
Initial Commit.
2023-12-18 22:50:52 +00:00
the-real-herowl
d44b00a20e
Merge pull request 'Shulker improvements and homing mob projectiles' ( #4000 ) from Bakawun/MineClone2:Shulker_shot_speed into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4000
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-18 00:54:04 +00:00
Eliy21
ae169b2814
Add fix to crash when moving bought villager trade item to empty sell slot bug by JoseDouglas26 ( #4079 )
...
Add fix to #4062 by JoseDouglas26 https://git.minetest.land/MineClone2/MineClone2/issues/4062#issuecomment-74045
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4079
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-12-15 03:09:48 +00:00
bakawun
cee5bbc206
mobs:fix typo in homing function
2023-12-14 16:50:23 +01:00
Wbjitscool
ebd733be82
update's the campfire's fire burning animation to make it look better ( #4077 )
...
improve the look of the campfire's flame/burning animation
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4077
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Wbjitscool <dwsda121@gmail.com>
Co-committed-by: Wbjitscool <dwsda121@gmail.com>
2023-12-13 05:22:41 +00:00
Wbjitscool
07eb70e9be
Update mods/ITEMS/mcl_stonecutter/init.lua
2023-12-13 02:39:25 +00:00
bakawun
bc101314df
mobs:shulker:use on_attack to set shoot interval
...
to between 1 and 6 seconds
2023-12-13 02:42:08 +01:00
the-real-herowl
69903aa4ec
Fixed crashes
2023-12-13 02:42:08 +01:00
bakawun
686646b86d
Shulker: align armor value with mc and set it to 0 when opened
2023-12-13 02:42:08 +01:00
bakawun
789c9a9a6d
Shulker: make bullet speed match mc
...
speed is 5 according to https://www.gmbinder.com/share/-MelLRYIg8yCfuAqQ82g#:~:text=After%20doing%20some%20experimentation%20I,~5%20blocks%2Fsecond ).
2023-12-13 02:42:08 +01:00
cora
cf51c60527
Fix shulker bullets ignoring armor
2023-12-13 02:42:08 +01:00
cora
55fe71d73b
Add a get_arrow_hit_func function to mcl_mobs
...
reason for this is that player:punch used by most mobs ignores armor
worn by player
2023-12-13 02:42:08 +01:00
cora
58bb26a7ef
Make shulker bullets homing
2023-12-13 02:42:08 +01:00
cora
f5079f1568
Add an option for mob arrows to be "homing"
2023-12-13 02:42:08 +01:00
Bakawun
b4511fb8c7
Shulker, add missing false statement
2023-12-13 02:42:08 +01:00
Bakawun
b02a3deec7
Shulker; fix attack open animation, improve peek
2023-12-13 02:42:08 +01:00
Bakawun
26cfdf0b7c
Shulker: randomize shoot interval
...
Randomize shoot interval to between 1 and 5.5 seconds and set default shoot interval to 5.5
2023-12-13 02:42:08 +01:00
Bakawun
8d34ff2a9a
Shulker: Make shulker peek periodically
...
Adjust walk and animation settings so the shulker peeks out randomly.
2023-12-13 02:42:08 +01:00
Bakawun
e6ddc03d3c
Shulker: lower shoot interval to 1 second
...
In this video we can see the shulkers are shooting at a rate of once per second.
https://youtube.com/shorts/8tUFaSZ4b7I?si=sszp4cnyXR4dXg9B
The wiki confirms this but mentions a range of 1 to 5.5 seconds.
I think this range is caused by the shulker closing and stopping shots for a few seconds but no longer than the max interval of 5.5
https://minecraft.fandom.com/wiki/Shulker#:~:text=The%20shulker%20continues%20firing%20every,unaffected%20by%20Levitation%20when%20hit
2023-12-13 02:42:08 +01:00
Zasco
351e31a889
Move deepslate ore registration within generation check
2023-12-12 23:16:51 +00:00
the-real-herowl
8b00fff4cb
Remove dangling else
2023-12-11 00:54:30 +01:00
the-real-herowl
cf70de0ecc
Add an on_attack callback for mobs ( #4064 )
...
Added an on_attack callback that allows to execute additional custom logic after each attack.
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4064
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2023-12-10 16:10:33 +00:00
José M
6dce3b4bc4
Remove whitespace-only translation in template file
2023-12-10 01:56:19 -06:00
José M
a60540c17e
Remove a non empty translation in template file
2023-12-10 01:47:35 -06:00
José M
19fd075a2f
Add the textdomain line in mcl_beehives.dk.tr
...
This will remove the warning that is shown when running Wuzzy's Minetest_Translation_tools and will contribute to the issue 3540
2023-12-10 01:16:43 -06:00
José M
1ac65305d6
Fix a typo in mcl_honey.es.tr
2023-12-10 00:13:40 -06:00
José M
8dcb62aa56
Fix a typo in mcl_honey.es.tr
2023-12-10 00:11:07 -06:00
José M
1d2a7b35d8
Update mcl_honey.es.tr
2023-12-10 00:07:17 -06:00
José M
02e7ff41d5
Update mcl_fire.es.tr and fix syntax errors
2023-12-09 23:42:32 -06:00
the-real-herowl
ca71e949a8
Credits update
2023-12-09 00:01:19 +01:00
the-real-herowl
47f920c9df
Updated release credits and set version for 0.85
2023-12-09 00:01:19 +01:00
the-real-herowl
bb66f81999
Merge pull request 'Combat rebalancing' ( #4036 ) from combat_rebalancing into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4036
2023-12-08 22:06:06 +00:00
the-real-herowl
a344755894
Merge pull request 'horse: drops: remove 2nd saddle, add armor' ( #4047 ) from Bakawun/MineClone2:horse into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4047
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-07 01:02:38 +00:00
the-real-herowl
c03366aa12
Merge pull request 'Fix syntax errors and update spanish translations' ( #4050 ) from megustanlosfrijoles/frijolesclone2:master into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4050
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-06 23:36:09 +00:00
José M
bb1e572287
Update mcl_compass.es.tr and fix syntax errors
2023-12-05 18:39:29 -06:00
Eliy21
4127d120d2
Add server privs restriction to mcl_villages build tool ( #4043 )
...
<!--
Please follow our contributing guidelines first:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#how-you-can-help-as-a-programmer
By submitting this pull request, you agree to follow our Code of Conduct:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
-->
Fixes #4022
### Testing
-Make a new world, check host server and go into creative mode
-Since you're the server you have the server privs so get the mcl_villages build tool item in creative inventory and use it to see if it works
-Have someone join your server and give them the same item to use and see if they are restricted from using it
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4043
Reviewed-by: chmodsayshello <chmodsayshello@hotmail.com>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-12-05 12:49:49 +00:00
Eliy21
86dad4693e
Add warning log if players with 0 hp joined ( #4051 )
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4051
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-12-05 08:21:37 +00:00
José M
f39fe17895
Update mesecons_lightsone spanish translation
...
Fixed a syntaxis error at line 3 and added the missing translation for line 4
2023-12-04 22:51:50 -06:00
Eliy21
0673fcc25b
Respawn dead players when they login so they don't get stuck without the death formspec ( #4041 )
...
Hopefully will prevent the dead player not respawning when logging in bug from happening
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4041
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-12-05 01:08:50 +00:00
the-real-herowl
589de76613
Fixed a code branch never being run
2023-12-05 01:59:05 +01:00
the-real-herowl
1857341b59
Fixed player knockback from arrows
2023-12-05 00:58:10 +00:00
the-real-herowl
46d9c66000
Fixed mobs executing custom on_punch with punch fail
2023-12-05 00:58:10 +00:00
the-real-herowl
cca6645524
Added player damage invulnerability
2023-12-05 00:58:10 +00:00
the-real-herowl
24ffd64cad
Knockback fixes
2023-12-05 00:58:10 +00:00
the-real-herowl
e29654a0f6
Revert healing interval default to the lower value
2023-12-05 00:58:10 +00:00
José Muñoz
027e0e8337
Fix a typo in the spanish translation ( #4039 )
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4039
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: José Muñoz <dr.cabra@disroot.org>
Co-committed-by: José Muñoz <dr.cabra@disroot.org>
2023-12-05 00:05:39 +00:00
bakawun
2ba73f832c
horse: drops: remove 2nd saddle, add armor
2023-12-04 20:17:39 +01:00
chmodsayshello
43e7a952ac
use math.ceil to get amount of needed players
2023-11-30 22:29:56 +01:00
codiac
4cf865a36c
Fix passive threshold in nether and end ( #4030 )
...
Fix light check for passive mobs in other dimensions. It is apparently the same in all dimensions. If a mob has it's own spawn_check function then that should be used regardless of it's type.
Fixes #4029
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4030
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: codiac <codiac@inbox.lv>
Co-committed-by: codiac <codiac@inbox.lv>
2023-11-28 02:45:18 +00:00
Eliy21
b57f6be81d
Make showing advancement chat messages into a setting ( #4032 )
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4032
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-11-28 01:37:45 +00:00
the-real-herowl
cd40861b3b
Merge pull request 'Add stonecutter functionality' ( #3999 ) from stonecutter_functionality into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3999
2023-11-27 23:37:57 +00:00
Kostinatyn Tsiupa
1da7bb0bdc
hopper reimplementation
...
Reimplemented hoppers and all (blast_furnace, furnace, smoker, composters, double chaets, shulker_boxes, droppers, bookshelvs and brewing_stands) connected nodes
2023-11-27 14:33:01 +02:00
the-real-herowl
1044163717
Fixed the ambiguous /clear command being dangerous ( #4026 )
...
Implements #3826
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4026
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2023-11-27 02:22:39 +00:00
ThePython10110
570ea114ec
Fix weathered cut copper crafting ( #4033 )
...
Just fixing a typo.
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4033
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: ThePython10110 <thepython10110@noreply.git.minetest.land>
Co-committed-by: ThePython10110 <thepython10110@noreply.git.minetest.land>
2023-11-27 02:21:48 +00:00
the-real-herowl
8fd988da11
Increased cut copper recipe output
2023-11-25 23:52:04 +00:00
the-real-herowl
f1c5f0ca1c
Fixed duplication bug
2023-11-25 23:52:04 +00:00
the-real-herowl
b4080b6275
Credits update in mod.conf
2023-11-25 23:52:04 +00:00
the-real-herowl
bb48e47488
Made stonecutter player metadata consistent
2023-11-25 23:52:04 +00:00
the-real-herowl
a6025b751a
Uneven crafts support
...
-taking part of the resulting stack now produces well-defined results
-stonecutter won't allow amount undivisible by recipe count anymore
2023-11-25 23:52:04 +00:00
the-real-herowl
af2f58248f
Added the ability to stonecut up to full stack
2023-11-25 23:52:04 +00:00
AFCMS
e324a1a74b
Make inventory use the util functions
2023-11-25 23:52:04 +00:00
AFCMS
4836418cf6
Rework Stonecutter
2023-11-25 23:52:04 +00:00
AFCMS
a001f84786
Add utility functions to clean inventory lists
2023-11-25 23:52:04 +00:00
AFCMS
2128dd4c15
Add basic table ordered keys iterator
2023-11-25 23:52:04 +00:00
the-real-herowl
c183da7714
Updated README
2023-11-25 23:52:04 +00:00
the-real-herowl
fd17bf1a29
Removed old implementation groups
2023-11-25 23:52:04 +00:00
the-real-herowl
0c7b4d473c
Copper blocks stonecutter recipes
2023-11-25 23:52:04 +00:00
the-real-herowl
6ebd3ccb7d
Third batch of stonecutter recipes
...
-deepslate
-blackstone
-quartz bricks
2023-11-25 23:52:04 +00:00
the-real-herowl
d46b9071a0
Added nether and end stonecutter recipes
2023-11-25 23:52:04 +00:00
the-real-herowl
ead2e772c2
First batch of stonecutter recipes under new API
...
-core blocks
-stairs
-slabs
-walls
2023-11-25 23:52:04 +00:00
the-real-herowl
19cea45c17
Stonecutter fixes and improvements
...
-improved stonecutter API, making it more robust
-fixed a dupe bug
2023-11-25 23:52:04 +00:00
the-real-herowl
b252e577ec
Implement recipe registering API
2023-11-25 23:52:04 +00:00
ChrisPHP
12568a6749
use on_destruct instead of after dig node
2023-11-25 23:52:04 +00:00
ChrisPHP
559f500322
Update readme for stonecutter
2023-11-25 23:52:04 +00:00
ChrisPHP
40fb043de2
Add stage so smooth items can't be reverted
2023-11-25 23:52:04 +00:00
ChrisPHP
5dda3033a5
Prevent input from being a selectable option
2023-11-25 23:52:04 +00:00
ChrisPHP
524c9c1bcc
Dupe glitch fizes and remove item label
2023-11-25 23:52:04 +00:00
ChrisPHP
a9f26fb354
use item groups to determine the cuttable items
2023-11-25 23:52:04 +00:00
ChrisPHP
01d43bb33a
Remove unused meta on drop items
2023-11-25 23:52:04 +00:00
ChrisPHP
ca37ce5744
Remove hardcoded one element array
2023-11-25 23:52:04 +00:00
ChrisPHP
5f0ad98dae
Use node group for items that can be used in the stonecutter
2023-11-25 23:52:04 +00:00
ChrisPHP
0e60231c2e
Only reset output if input is empty
2023-11-25 23:52:04 +00:00
ChrisPHP
7fcc2e3be3
Minor output fixes
2023-11-25 23:52:04 +00:00
ChrisPHP
356045b3e3
Add comments and drop items when destroyed
2023-11-25 23:52:04 +00:00
ChrisPHP
07d2759ae4
Check if item is a slab or not
2023-11-25 23:52:04 +00:00
ChrisPHP
9da07af370
Check if item can be made into stairs, slabs and walls
2023-11-25 23:52:04 +00:00
ChrisPHP
47990eec2b
begin adding check if item canbe cut
2023-11-25 23:52:04 +00:00
ChrisPHP
7523727521
take output from stonecutter
2023-11-25 23:52:04 +00:00