Commit Graph

7187 Commits

Author SHA1 Message Date
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
d3afccad64 Merge pull request 'Fix warnings in mcl_bells and mcl_beds' (#2243) from EliasFleckenstein03/MineClone2:warn into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2243
2022-05-25 17:54:28 +00:00
Elias Fleckenstein
569288b782
Fix warnings in mcl_bells and mcl_beds 2022-05-25 19:37:36 +02:00
cora
d863a6298b fix/simplifiy things from review 2022-05-25 16:36:04 +02:00
cora
2499fe1e83 add complete input validation, better result msgs 2022-05-25 05:43:49 +02:00
cora
f89780695e Add /gamemode command for per player gamemode 2022-05-25 05:43:49 +02:00
cora
6a2f9e1a16 Fix wrong argument to is_creative_enabled 2022-05-25 03:41:43 +00:00
cora
bda5073d86 make soul fire drop nothing when dug 2022-05-25 05:27:52 +02:00
cora
11e8e7d4cc Add soul_group to s.soil&sand, torch fix recpipe 2022-05-24 13:25:59 +02:00
kabou
1931a85f24 Add blackstone to cobble group.
By adding blackstone to the group "cobble", it automatically inherits
all crafting recipes and tool repair capabilities that apply to that
group.

* Add `cobble=1` to blackstone node definition groups.
* Remove stone tools and furnace crafting recipes.
2022-05-24 13:25:45 +02:00
cora
0c65363a09 replace ' with " 2022-05-24 13:25:45 +02:00
cora
b6a647e119 remove unused vars 2022-05-24 13:25:45 +02:00
cora
23e5a1c7d3 Comment out ore generation for now
The discussion about how to handle this is still ongoing. Since
this is about getting the new nodes disable ore registration
for now.
2022-05-24 13:25:45 +02:00
cora
0d8436b343 fix soul fire 2022-05-24 13:25:45 +02:00
cora
29c16eaa75 remove superfluous torch models 2022-05-24 13:25:45 +02:00
cora
2d81d31139 Fix soul torch to use the actual mcl_torches api 2022-05-24 13:25:45 +02:00
cora
a9be3f0f96 remove excessive newlines 2022-05-24 13:25:45 +02:00
cora
181a7d3b11 make nether gold gen. respect mcl_generate_ores 2022-05-24 13:25:45 +02:00
cora
430dc7fd8c remove packed ice recipe 2022-05-24 13:25:45 +02:00
cora
c6312e7bdd use vector.new instead of normal tables 2022-05-24 13:25:45 +02:00
cora
d9f2db5950 adapt readme to mcl2 2022-05-24 13:25:45 +02:00
cora
6b058d6f38 remove changelog.md 2022-05-24 13:25:45 +02:00
cora
dd928db9ea fix soul torch recipe 2022-05-24 13:25:45 +02:00
cora
67e026cb12 blackstone: remove soul lantern dupe(mcl_lanterns) 2022-05-24 13:25:45 +02:00
cora
4a0a9ba482 move depends.txt to mod.conf, add author field 2022-05-24 13:25:45 +02:00
debian044
16d79996c0 Add blackstone via cp -r & git add * ^^ 2022-05-24 13:25:45 +02:00
Elias Fleckenstein
60c463b8f9
Run tools/generate_ingame_credits.lua
This should be run every time CREDITS.md is changed.
2022-05-22 21:41:40 +02:00
cora
028d1c1f4f do not tame villagers 2022-05-22 14:43:44 +02:00
cora
a5ba8f739f Add bell to villager trades 2022-05-22 02:01:21 +02:00
cora
d34191f00c villagers go to the bell if it's rung(for now)
this will help with further testing pathfinding until villagers
get a proper schedule and do more things
2022-05-22 02:01:21 +02:00
cora
ec73afd21a use iron texture for apprentice badge, not stone 2022-05-22 02:01:21 +02:00
cora
fca259c074 fix crash during (artificial) village creation
when using the village tool doing that on an unsuitable location
would result in no position for the belltower being available
this checks for that and ... doesn't crash then ^^
2022-05-22 02:01:21 +02:00
cora
7379d5bee8 Add Belltower to villages 2022-05-21 14:48:56 +02:00
cora
d67dd0577f fix crash through forgotten function call 2022-05-21 12:36:57 +02:00
cora
e353ec3b16 Iron golems pick and pick up one (stack of) poppy 2022-05-21 12:36:57 +02:00
cora
5dafeaadc6 Fix indentation in mcl_mobs/api.txt 2022-05-21 12:36:57 +02:00
cora
2b63866c14 spawn villagers (and golem) immediately after mg 2022-05-21 12:36:57 +02:00
cora
27d0d778e2 Update TODO list 2022-05-21 12:36:57 +02:00
cora
a74fcab06b Make iron golem stay near set _home position 2022-05-21 12:36:57 +02:00
cora
e51ea1e079 initialize inventory nodes on mapgen 2022-05-21 12:36:57 +02:00
cora
e5806215f0 fix possible crash 2022-05-21 12:36:57 +02:00
cora
08b36e3eb3 Add textures for all professions 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
873e018faf Dynamically add trading tier badge to texture 2022-05-21 12:36:57 +02:00
cora
b58422a584 write villager id into bed nodemeta 2022-05-21 12:36:57 +02:00
cora
3ff4ea576d spawn iron golem on villagegen 2022-05-21 12:36:57 +02:00
cora
539c31e8d6 fix trading crash 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
0d56ef1a90 add jobsites to villagegen schematics 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
9a866e873e breed by throwing bread at villagers 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
e3bb7fe4be codestyle: replace inline functions 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
ce7a882c86 Show trade tier in formspec 2022-05-21 12:36:57 +02:00
cora
12bc8f1a3b initial pathfinding experiments
to test rightclick a villager and it will try to path find to
0,9,0 (i'm using flat mapgen for testing for now).
2022-05-21 12:36:57 +02:00
cora
0598aa35c0 add simple jobsite logic 2022-05-21 12:36:57 +02:00
cora
e9f4f500d9 bell: slightly tweak bottom texture 2022-05-21 12:35:22 +02:00
cora
63b6a1d176 Update README.md 2022-05-20 21:54:42 +02:00
cora
1ba12aec60 Add new textures, make bell a nodebox
thx erlehmann for the nodebox <3
2022-05-20 21:27:12 +02:00
cora
4ba570e3b4 remove mesecons dependency 2022-05-20 13:45:45 +02:00
cora
bf1a939564 fix bell sound 2022-05-20 13:44:17 +02:00
cora
fe164e5f41 add basic mcl2 node properties 2022-05-20 13:36:41 +02:00
kay27
a6e9afbb93 Add bell from mcl5 2022-05-20 13:33:39 +02:00
Nils Dagsson Moskopp
c9c14d6ff0 Add noise to christmas chest textures 2022-05-20 04:13:13 +02:00
Nils Dagsson Moskopp
ff384c9588 Reskin chests as presents on December 24th to 26th 2022-05-20 04:13:01 +02:00
cora
c4e51650f8 smoker & bfurnace: More concise short descriptions 2022-05-18 13:37:34 +02:00
cora
8426e7826a Fix smoker fuel not being burned at twice the rate. 2022-05-18 13:30:00 +02:00
MysticTempest
d10f8944ed Fix blast_furnace fuel not being consumed at twice the rate. 2022-05-18 05:30:05 -05:00
PrairieWind
d93704fa0e Merge branch 'master' into furnaces 2022-05-17 18:33:20 +00:00
PrairieAstronomer
fe36d579eb Add Blast Furnace and Smoker to Villager Workstations 2022-05-17 10:37:55 -06:00
PrairieAstronomer
4af0a4daae Updated GROUPS.md and fixed blast furnace group name. 2022-05-17 10:34:44 -06:00
PrairieAstronomer
fd18c0d213 Removed Unneeded Code from Blast Furnace, and updated description. 2022-05-17 10:27:41 -06:00
PrairieAstronomer
7ac2593164 Removed Unneed code and fixed description of Smoker 2022-05-17 10:03:15 -06:00
PrairieAstronomer
29e18015b8 Make Fish and Salmon Smokable 2022-05-17 09:48:51 -06:00
PrairieAstronomer
e1a6baffe9 Smoker 2022-05-16 21:11:10 -06:00
PrairieAstronomer
f1a80876de Make Copper Ore Blastable 2022-05-16 20:59:19 -06:00
PrairieAstronomer
3558541648 Blast Furnace 2022-05-16 20:45:45 -06: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
rudzik8
37e72e333b Improve /seed command (now it looks like in modern MC) and update RU locale 2022-05-15 20:27:30 +07:00
MysticTempest
dd1a58b01e Implement piston fixes:
This enables the feature of unsticky pistons. This allows
for some nodes to be unpullable, but otherwise pushable or diggable.
A certain selection of nodes that can never be moved.
And, stops certain entities from being pushed if they shouldn't move.

Along with this change; I've also updated the rules regarding
pushing, and pulling of nodes & objects to be more accurate to MC.
Now allowing for more complex redstone circuits to be built.
2022-05-15 02:18:21 -05:00
PrairieAstronomer
fec5650711 Removed dependancies 2022-05-14 16:01:14 -06:00
PrairieAstronomer
5abfa555eb Added new workstations to villager jobsite definitions 2022-05-14 15:52:37 -06:00
PrairieAstronomer
dead4069b0 Removed incorrect groups 2022-05-14 15:48:33 -06:00
PrairieAstronomer
4bc67a174b Loom 2022-05-14 15:34:08 -06:00
PrairieAstronomer
c71b036e6a Cartography Table 2022-05-14 15:24:44 -06:00
PrairieAstronomer
046698c64f Fletching Table 2022-05-14 15:14:50 -06:00
cora
31b8ea26a2 add jobsites to professions table 2022-05-14 00:32:15 +02:00
cora
fd6f2be485 update cleric trades 2022-05-14 00:32:15 +02:00
cora
07e0a90051 update tool smith trades 2022-05-14 00:32:15 +02:00
cora
f073d4d420 update weapon smith trades 2022-05-14 00:32:15 +02:00
cora
89aaf6b709 update butcher trades 2022-05-14 00:32:15 +02:00
cora
f09b578034 update leatherworker trades 2022-05-14 00:32:15 +02:00
cora
0ce1a92282 update armorer trades 2022-05-14 00:32:15 +02:00
cora
135ee97b21 update cartographer trades 2022-05-14 00:32:15 +02:00
cora
51cf92a909 update librarian trades 2022-05-14 00:32:15 +02:00
cora
2d47ad3e5f update fletcher trades 2022-05-14 00:32:15 +02:00
cora
c28d700caf update fisherman trades 2022-05-14 00:32:15 +02:00
cora
ba861d7b74 update farmer trades 2022-05-14 00:32:15 +02:00
cora
9b8b7ce6b4 refactor go home logic 2022-05-14 00:32:15 +02:00
cora
354d17a14c enable simple villager breeding 2022-05-14 00:30:44 +02:00
rudzik8
7f3ba7d4a2 Enable placing carpets on llamas and add textures for it 2022-05-13 22:00:09 +00:00
cora
a1209b14a1 playerplus: fix deprc. add_player_velocity calls 2022-05-12 23:30:39 +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
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
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
5a25e42fd3 fix the 2nd nether dust warning ^^ 2022-05-09 12:06:28 +02: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
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
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
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
f1fc84b31b fix referencing mistake with cracked deepslate 2022-05-06 10:48:02 +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