cora
729159f631
Merge pull request 'Refactor compass code.' ( #2197 ) from get-compass-image-fix into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2197
Reviewed-by: cora <cora@noreply.git.minetest.land>
Reviewed-by: chmodsayshello <chmodsayshello@hotmail.com>
2022-05-12 21:37:16 +00:00
kabou
baf8e0b79c
Update item entity for lodestone compass.
...
* Added another special case to the item entity registration for
lodestone compasses, without this a dropped lodestone compass would
turn into a regular compass on being dropped.
* Update the compass and lodestone compass frame number to be the
stereotype frame.
2022-05-12 21:08:52 +02:00
chmodsayshello
00dba67cd8
remove lodestone compass from creative inventory
2022-05-12 19:06:13 +02:00
kabou
872b708465
Remove unused variable.
...
* Removed unused variable `stack_max`.
2022-05-11 21:45:15 +02:00
kabou
74e70b674e
Fix return value of `get_compass_image()`.
...
* `get_compass_image()` did not actually return the image number.
2022-05-11 21:43:52 +02:00
kabou
14c882f982
Fix lodestone compass meta handling.
...
* The nature of a compass was being determined by looking at its meta.
This caused lodestone compasses with unset meta to turn into regular
compasses. Fixed by using string matching on the itemname.
* Changed lodestone rightclick handler to explicitly set the correct
name and frame of the compass used on it instead of waiting for
globalstep to do this.
2022-05-11 21:31:50 +02:00
kabou
8ae605165b
Fix lodestone compass stack_max.
...
* Lodestone compasses are stackable.
* Remove hardcoded `stack_max` setting, use default.
2022-05-11 17:53:41 +02:00
kabou
aca4aca79b
Add German translation.
...
* Add "de" (German) translation by chmodsayshello.
2022-05-11 17:43:57 +02:00
kabou
bacc7613b5
Fix crash in mt 5.4 with vector ops.
...
* `vector.from_string()` is not available in mt pre-5.5. Replace with
`minetest.string_to_pos()`.
2022-05-11 17:41:10 +02:00
kabou
8a4b8707fa
Add new compass API.
...
* Add API.md
* Update mcl_itemframes to use the new API.
* Revert old exported function back to original API.
2022-05-10 23:38:28 +02:00
kabou
a8c231da34
Refactor compass code.
...
* Split up `get_compass_image()` into smaller functions. This allows
for better code sharing between old and new API and globalstep fn.
* Add `get_compass_itemname()` function. It will be the new API of
choice, `get_compass_image() will be deprecated soon.
* Remove function declaration out of globalstep function.
* Various other performance improvements.
* Add local aliases for global functions
* Lodestone compasses can only stack 1 item.
* Document functions and variables.
* Fix lodetone compass inaccurately reusing compass descriptions.
* Add usage descriptions to node definitions
* Refactor craftitem registration code.
* Update translation templates.
2022-05-10 22:43:03 +02:00
cora
4d342b8365
Merge pull request 'Village(r)s update' ( #2189 ) from villager_spawning into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2189
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-05-09 22:01:25 +00:00
cora
12a943e222
Make villagers homeless when bed is gone on return
2022-05-09 10:29:58 +00:00
cora
8d0afede37
don't block mapgen on village generation
2022-05-09 10:29:57 +00:00
cora
0288581407
increase wait til village generated
2022-05-09 10:29:57 +00:00
cora
3774044f86
Walk back to bed instead of teleporting
2022-05-09 10:29:57 +00:00
cora
46dbf8c0ab
Spawn villagers on villagegen, stay in village
...
This spawns a villager per bed on village gen and saves the bed
position in the entity. If it moves too far from the village
it gets teleported (for now) back.
2022-05-09 10:29:57 +00:00
cora
7c263c6a18
Merge pull request 'Potion Fixes:' ( #2191 ) from Fix_waterbreathing_and_potion_icons into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2191
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-05-09 10:25:51 +00:00
MysticTempest
44b1d583a7
Potion Fixes:
...
Ensure all potion icons disappear after their effect is gone.
Stop Breath bar from flashing when water_breathing is in effect.
2022-05-09 05:18:59 -05:00
cora
1565999134
Merge pull request 'fix the 2nd nether dust warning' ( #2190 ) from fix_weather_warning_2 into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2190
2022-05-09 10:09:18 +00:00
cora
5a25e42fd3
fix the 2nd nether dust warning ^^
2022-05-09 12:06:28 +02:00
cora
421995deb3
Merge pull request 'Fix list of spawnable biomes for rabbits.' ( #2187 ) from rabbit_spawn_fix into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2187
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-05-08 20:01:56 +00:00
kabou
4e3a2a7b4c
Fix list of spawnable biomes for rabbits.
...
* Rabbits spawn in Desert biome.
* Rabbits do no spawn in Forest and Swamp biomes.
2022-05-08 19:59:04 +00:00
cora
e8e565fc06
Merge pull request 'Add Respawn Anchor (PR with branch in mcl2 repo)' ( #2188 ) from respawn_anchor into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2188
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-05-08 19:57:43 +00:00
chmodsayshello
6cb08a3c87
update dependencies
2022-05-08 19:57:09 +00:00
chmodsayshello
31a8ddabb8
minor changed (see long description)
...
This commit makes charged respawn anchors light sources, all respawn anchors can no longer be pushed by pistons and always drop the uncharged one
2022-05-08 19:57:09 +00:00
chmodsayshello
6806ea311d
code from inital PR
2022-05-08 19:57:09 +00:00
cora
ea2b53b231
Merge pull request 'Adopt mob spawning from mcl5' ( #2120 ) from mcl5-spawning into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2120
2022-05-08 19:48:36 +00:00
cora
e1ed990f58
sp. farm animals on grass, villagers near beds
2022-05-08 18:50:37 +00:00
cora
e4c5f81524
make husks spawn only in deserts, zombies not
2022-05-08 18:50:37 +00:00
kay27
53042b6f48
Adopt mob spawning from mcl5
2022-05-08 18:50:37 +00:00
cora
fbe048087f
Merge pull request 'Add wither spawning by EliasFleckenstein03' ( #2146 ) from wither_spawning into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2146
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-05-06 20:57:43 +00:00
Elias Fleckenstein
34e5bb0334
Add Wither Spawning
2022-05-06 19:40:39 +00:00
Elias Fleckenstein
c05a2d3a9d
Add wither spawning schems
2022-05-06 19:40:39 +00:00
cora
40d2e3b2b1
Merge pull request 'Fix referencing mistake with cracked deepslate' ( #2184 ) from fix_ds_bricks into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2184
2022-05-06 17:24:09 +00:00
cora
f1fc84b31b
fix referencing mistake with cracked deepslate
2022-05-06 10:48:02 +00:00
cora
85fb33aa4c
Merge pull request 'Add amethyst stuff by emojigit and kay27' ( #2149 ) from amethyst into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2149
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2022-05-05 20:54:46 +00:00
AFCMS
f9a2dacdd4
Fix texture and sound names in `mcl_amethyst`
2022-05-05 22:49:23 +02:00
AFCMS
00c70014c7
Fix codestyle and translation of `mcl_amethyst`
2022-05-05 22:49:23 +02:00
3raven
f4020ebd31
mcl_amethyst.fr.tr
...
Translation
2022-05-05 22:49:23 +02:00
kay27
74322ead49
#11 Polish amethyst stuff
2022-05-05 22:49:23 +02:00
kay27
1a83f50505
Fix amethyst buds light levels again
2022-05-05 22:49:23 +02:00
kay27
206c98e354
Fix various amethyst errors, better seed function
2022-05-05 22:49:23 +02:00
kay27
69e83d5c0a
#11 Spawn buds
2022-05-05 22:49:23 +02:00
kay27
d3dfd13f78
#11 Fix the style, add template.txt, add Russian translation
2022-05-05 22:49:23 +02:00
kay27
e28ccd9a80
#11 Put tabs instead of each 2 spaces
2022-05-05 22:49:23 +02:00
kay27
a5fba06a2c
#11 Remove amethyst screenshot
2022-05-05 22:49:23 +02:00
Emojigit
6c36c83a18
AMethyst Growing
2022-05-05 22:49:23 +02:00
Emojigit
48a4e069f9
craft bugfix
2022-05-05 22:49:23 +02:00
Emojigit
60e04438e0
typo missing space
2022-05-05 22:49:23 +02:00