Commit Graph

8810 Commits

Author SHA1 Message Date
Michieal
c63533c753 Updated the readme.txt to reflect the changes. 2022-11-28 03:03:42 +01:00
Michieal
81fa7cf74c Removed outdated translate files.
made new translation template.
Changed _alt image.
Updated the readme.txt to reflect the changes.

Added a secondary crafting recipe for the Hamburger.
2022-11-28 03:03:42 +01:00
Michieal
5378aae09e Add in achievement. 2022-11-28 03:03:42 +01:00
Michieal
aec16ee62e Textures redo. 2022-11-28 03:03:42 +01:00
cora
0cdf84ab47 Fix translation warning 2022-11-28 03:03:42 +01:00
cora
31395a8830 make setting just hide the hamburger, not disable it 2022-11-28 03:03:42 +01:00
cora
8e74a5a56a some basic burger cleanup 2022-11-28 03:03:42 +01:00
Michieal
2149ca1147 Fixed the name in mod.conf.
updated the mod.conf so that it reflects the coding to come.
2022-11-28 03:03:42 +01:00
Michieal
de7696ce69 Changed calling function. 2022-11-28 03:03:42 +01:00
Michieal
4b777b1d9c Fixed Indentation. 2022-11-28 03:03:42 +01:00
Michieal
dadb8f9287 fix indentation. 2022-11-28 03:03:42 +01:00
Michieal
83b40f8cff add flavor text, code clean up
Changed to have the flavor text to give it character.
Fixed misspellings.
Cleaned up the code from the initial commit.
Changed from API to single item.
Fixed the mod name, so that it matches "mcl_" format.

Added comments.
2022-11-28 03:03:42 +01:00
cora
ce95f034b4 Add setting to turn hamburgers on and off 2022-11-28 03:03:39 +01:00
Michieal
2b3ec8d944 remove .idea files 2022-11-28 03:02:51 +01:00
Michieal
972e9ea0f8 Fix initial commit. 2022-11-28 03:02:51 +01:00
Michieal
df62a3aac1 Initial code comit 2022-11-28 03:02:51 +01:00
cora
ebf214c043 Check if spawndef exists when spawning 2022-11-27 14:53:17 +01:00
cora
7bd0b5a9b1 Some more missing arg fixes 2022-11-27 14:53:16 +01:00
cora
bc496a8682 Finally indent register_mob and make registered mobs global 2022-11-27 14:53:16 +01:00
cora
a3415647d4 Fix do_jump call in combat.lua 2022-11-27 14:53:16 +01:00
cora
4909ef6ff7 Restructure on_step a bit 2022-11-27 14:53:16 +01:00
cora
3c6d79ecb3 Add entity name to debug box 2022-11-27 14:53:16 +01:00
cora
6948b77226 move debug/nametag code back to api.lua 2022-11-27 14:53:16 +01:00
cora
90321ee578 Fix leftover local do_attack call 2022-11-27 14:53:16 +01:00
cora
2b691dea07 Fix some more global var warnings 2022-11-27 14:53:16 +01:00
cora
c25287e493 Some cleanup 2022-11-27 14:53:16 +01:00
epCode
762f64a4d1 Fix mob rotation glitching out near 0/360 in degrees
The problem mainly was that the set_yaw function was not allowing for negitive values.
2022-11-27 14:53:16 +01:00
cora
db63f1c453 fix leftover pi shortcut 2022-11-27 14:53:16 +01:00
cora
faa38ffab8 Fix some warnings 2022-11-27 14:53:16 +01:00
cora
19d6d43b39 move on_blast default to mob default def 2022-11-27 14:53:16 +01:00
cora
28b6fcf289 Move detach_child to mount.lua 2022-11-27 14:53:16 +01:00
cora
80490b4c11 Move smooth rotation to separate function 2022-11-27 14:53:16 +01:00
cora
5e177c61f6 Move on_step despawning to separate function 2022-11-27 14:53:16 +01:00
cora
c9c2b874be move relative animation speed to separate function 2022-11-27 14:53:16 +01:00
cora
18c415f6a0 put head swivel in separate function 2022-11-27 14:53:16 +01:00
cora
49670d1d28 put water flow code in separate function 2022-11-27 14:53:16 +01:00
cora
a25cd921f2 move do_states to movement.lua 2022-11-27 14:53:16 +01:00
cora
91b5b6266c move stray particle spawner func to effects 2022-11-27 14:53:16 +01:00
cora
148b30694f Fix monster_attack and some other settings issues 2022-11-27 14:53:16 +01:00
cora
f4374d9efd Fix item drops 2022-11-27 14:53:16 +01:00
cora
b41d6a1cae Fix mob_punch 2022-11-27 14:53:16 +01:00
cora
6548b7fe47 move stray pathfinding funcs to pathfinding file 2022-11-27 14:53:16 +01:00
cora
c7681af53e Move registration functions to init.lua 2022-11-27 14:53:16 +01:00
cora
cc77e109f5 Split off general movement functions 2022-11-27 14:53:16 +01:00
cora
e7d9ded9ab Split off combat funcs 2022-11-27 14:53:16 +01:00
cora
96d697c5cd Split off pathfinding, use metatables 2022-11-27 14:53:16 +01:00
cora
01abfea16d Split off item management 2022-11-27 14:53:16 +01:00
cora
bbba7cee41 Add compat for old "wrong" : notation 2022-11-27 14:53:16 +01:00
cora
e82c318f0c Split off breeding 2022-11-27 14:53:16 +01:00
cora
70834d0f5d make register functions use the . notation 2022-11-27 14:53:16 +01:00
cora
d62dbcb852 effects -> separate file + metatable 2022-11-27 14:53:16 +01:00
cora
67fd8c8b40 split off physics functions into separate file + use metatable 2022-11-27 14:53:16 +01:00
cora
90639ef99d remove unused functions 2022-11-27 14:53:16 +01:00
cora
31ef791cfd Add proper metatable to mobs 2022-11-27 14:53:16 +01:00
cora
19dc86c951 Merge pull request 'Cocoa Pods Cleanup' (#2974) from FossFanatic/MineClone2:cocoa_pod_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2974
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-27 13:49:24 +00:00
cora
8b08707e3f Add Faerraven to texture credits 2022-11-27 04:54:30 +01:00
cora
dd8f64e039 Add Ranko Saotome to credits 2022-11-27 04:40:14 +01:00
cora
944d53111a Update credits 2022-11-27 04:40:14 +01:00
PrairieWind
8d5aea9743 Fix New Button Names 2022-11-27 03:36:38 +00:00
cora
fa2a2bb8ac Remove mcl_copper screenshot 2022-11-27 03:36:38 +00:00
cora
ee808e8f84 optimize excessively large mcl_shield_hud.png texture 2022-11-27 03:36:38 +00:00
cora
53d11ec71b Add new wood types buttons 2022-11-27 03:36:38 +00:00
cora
fb8b3d5f55 Cleanup mcl_info clutter and messy var localization 2022-11-27 04:31:24 +01:00
Michieal
8184d4938c Modify init.lua to allow normal player usage.
Changes made:
* Put in new chatcommand /whereami to allow normal players to turn on / off player location coords without needing special privs.
* Made Debug Coords level 2, Player Location level 1, and Off level 0. (Allows turning the location off.)
* Put in nil value check into get_text, to prevent errors caused by definitions accidentally not returning a value.
* Cached pairs, ipairs, and table because the code is called every 0.63 seconds, and it made sense to do so. (Hopefully, will help
  to mitigate the added load on framerate.)
2022-11-27 04:31:24 +01:00
Michieal
da64a10403 mcl_info: Add player coords field to debug hud 2022-11-27 04:31:24 +01:00
cora
2a54ea6e74 mcl_info: Allow debug field that's visible for everyone 2022-11-27 04:31:24 +01:00
cora
927eff691c Fix node on_rightclick with fishbucket 2022-11-27 04:02:34 +01:00
cora
efdd22d69f Fix fishbuckets placing water in the nether 2022-11-27 00:17:13 +01:00
cora
f14bfdc0cd Clear item meta when turning fishbucket to empty bucket
before it simply set a different itemstring, now it creates a
whole new itemstack
2022-11-26 22:18:46 +01:00
cora
66322a873b Fix infinite fishbucket placement in survival/creative 2022-11-26 22:18:46 +01:00
cora
e134cc5e65 make it possible to place fishbucket in flowing riverwater 2022-11-26 22:18:46 +01:00
cora
1fcedd1375 Fix fishbucket _on_dispense 2022-11-26 22:18:46 +01:00
cora
bb73e5f1cd Make it possible to pick up fish with river water bucket 2022-11-26 22:18:46 +01:00
cora
d4c2501d62 Axolotl cleanup, remove clutter 2022-11-26 22:18:46 +01:00
cora
708fcfb368 Axolotl: remove cod-inherited swarming code 2022-11-26 22:18:46 +01:00
cora
ebf4678e54 mcl_buckets whitespace fixes 2022-11-26 22:18:46 +01:00
cora
b4971b298d Move fish bucket code to separate file 2022-11-26 22:18:46 +01:00
cora
d3349396b4 Save tropical fish properties in item meta on bucket pickup 2022-11-26 22:18:46 +01:00
cora
665e8a06a2 Save axolotl properties in item meta on bucket pickup 2022-11-26 22:18:46 +01:00
cora
67e8f13a96 Axolotl whitespace fixes 2022-11-26 22:18:46 +01:00
cora
99db678a44 Fish buckets set properties from bucket item meta 2022-11-26 22:18:46 +01:00
cora
dd58bed5d1 refactor fish bucket code to not use bucket api
it was clearly not made for this
2022-11-26 22:18:46 +01:00
cora
69f5bad0bb Document mcl_events 2022-11-26 17:06:04 +01:00
cora
ac7038e7a5 Raids/raidcaptain: Nil check cmi_cause
apparently is nil sometimes
2022-11-26 17:06:04 +01:00
cora
3b368fdd5a Fix wrong var name for mob table 2022-11-26 17:06:04 +01:00
cora
624092ddd3 Search the area before giving up when no mobs in table left
otherwise it will advance stages prematurely
2022-11-26 17:06:04 +01:00
cora
dabc09adb2 Lower and unify distance check 2022-11-26 17:06:04 +01:00
cora
d0ea7c4059 Set events metatable correctly 2022-11-26 17:06:04 +01:00
cora
87d5cdc439 Make raid end firework last a bit longer 2022-11-26 17:06:04 +01:00
cora
c6fc388597 Add _harmless option for rocket arrows
so event fireworks dont grief things
2022-11-26 17:06:04 +01:00
cora
93e5034317 Add fireworks when raid complete 2022-11-26 17:06:04 +01:00
cora
8564a12398 Nerf vex summoning so evoker doesnt spawn infinite vexes 2022-11-26 17:06:04 +01:00
cora
e5515ed119 Add debug field: active event counter
to verify it doesn't memleak
2022-11-26 17:06:04 +01:00
cora
94057aa7e5 Code cleanup 2022-11-26 17:06:04 +01:00
cora
db4f9ec5a3 Fix raid instawin when no spawnable blocks found 2022-11-26 17:06:04 +01:00
cora
057a78ed30 Fix raid registering as completed when unloading the area 2022-11-26 17:06:04 +01:00
cora
22fa5096c9 Add debug command status feedback 2022-11-26 17:06:04 +01:00
cora
2147790b44 Add setting to disable events 2022-11-26 17:06:04 +01:00
PrairieWind
a1e21b44c8 Add code to unlock Voluntary Exile advancement 2022-11-26 17:06:04 +01:00
cora
358250012f Remove banner when not attached 2022-11-26 17:06:04 +01:00
cora
608da950e4 Abort events when no player is near 2022-11-26 17:06:04 +01:00
cora
c3455de604 Clear bad omen when raid complete 2022-11-26 17:06:04 +01:00
cora
6251c623dd Give player bad omen effect when killing captain 2022-11-26 17:06:04 +01:00
cora
62fe08de59 Make illagers pick up ominous banners and promote themselves to captain 2022-11-26 17:06:04 +01:00
cora
af0c718538 Add natural raidcaptain spawning 2022-11-26 17:06:04 +01:00
cora
3600bc8066 Spawn raidcaptain in raids 2022-11-26 17:06:04 +01:00
cora
d1788b5643 Add actual banner pattern, drop banner on death 2022-11-26 17:06:04 +01:00
cora
c7cc9ccb3e Add raid captain spawn func with banner attach 2022-11-26 17:06:04 +01:00
cora
097ee8b4d4 Z sieges happen in 10% of the nights 2022-11-26 17:06:04 +01:00
cora
59d384020e Finx spawn positions in 16-radius 2022-11-26 17:06:04 +01:00
cora
1d18482103 Comment out excessive logging 2022-11-26 17:06:04 +01:00
cora
b82912f30d Add zombie sieges 2022-11-26 17:06:04 +01:00
PrairieWind
48a8511052 Make bossbars enablable/disablable per event type. Update some capitalization. 2022-11-26 17:06:04 +01:00
PrairieWind
160d7ca6fa Add Voluntary Exile Advancement 2022-11-26 17:06:04 +01:00
cora
ae90cbe3ef Set raiders on path to village after spawn 2022-11-26 17:06:04 +01:00
cora
9893dee1aa Add debug chatcommand to start events 2022-11-26 17:06:04 +01:00
cora
232f57c247 Add hero of the village achievement 2022-11-26 17:06:04 +01:00
cora
dc017864fd raids: properly integrate potions api
supports "level" now, bad omen > 1 means extra wave additionally
the playername is saved in the event object now for later access
and events can be made exclusive to a certain radius now.
2022-11-26 17:06:04 +01:00
cora
2159edba05 Remove dependency on mcl_potions 2022-11-26 17:06:04 +01:00
cora
37144f8787 Check for actual raid conditions and positions 2022-11-26 17:06:04 +01:00
cora
7ab2c5fecd Make debug output an opt-in setting 2022-11-26 17:06:04 +01:00
cora
99fce095ef fix closure style function declarations
its BANNED in CONTRIB.md
2022-11-26 17:06:04 +01:00
cora
390aec5d7a Integrate raids with mcl_events 2022-11-26 17:06:04 +01:00
cora
052e76bfcc start at effective stage 1 2022-11-26 17:06:04 +01:00
cora
f17a9220bb Add bossbar support 2022-11-26 17:06:04 +01:00
cora
627ce0dc3b Finish at max_stage not max_stage + 1 2022-11-26 17:06:04 +01:00
cora
f06d5a1ee3 Add event api
prototype state, test with chatcommand /infest (debug priv)
2022-11-26 17:06:03 +01:00
PrairieWind
5dc1a3d456 Village Finder Tweaks 2022-11-26 17:06:03 +01:00
PrairieWind
1b6d778dd1 Add Village Checks 2022-11-26 17:06:03 +01:00
PrairieWind
96ac31bec3 Add Bad Omen Effect 2022-11-26 17:06:03 +01:00
PrairieAstronomer
8b6409b7f1 Add mcl_raids 2022-11-26 17:06:03 +01:00
cora
ba7da6a885 Fix pressure plates being pressed by new chest size
this fixes the problem for chests, with paintings it would need to
go down considerably ( .65 was the value i determined)
2022-11-26 16:52:19 +01:00
cora
3066d966a1 Add the missing wood types pressure plates 2022-11-26 16:52:19 +01:00
cora
626f61c2c1 Merge pull request 'Nether Plank Fixes' (#3023) from FossFanatic/MineClone2:nether_plank_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3023
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-26 12:58:21 +00:00
FossFanatic
f71759f184 Fix crimson & warped planks 2022-11-26 11:54:34 +00:00
cora
0942949c5d Merge pull request 'Fix axolotl breeding' (#3007) from Axolotl into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3007
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-25 02:48:55 +00:00
PrairieWind
e1ba319616 Fix Baby Striders being extra small 2022-11-24 14:46:54 -07:00
Johannes Fritz
88897566d9 Fix axolotl breeding 2022-11-24 09:10:17 -06:00
cora
53c1ed9fbf Merge pull request 'Axolotl' (#2870) from TheOnlyJoeEnderman/MineClone2:Axolotl into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2870
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-23 03:18:36 +00:00
cora
a3fbb2e0c9 Merge pull request 'Grass Block Underside Fix' (#2987) from FossFanatic/MineClone2:grass_block_underside_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2987
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-21 10:34:12 +00:00
Michieal
9ffdd13fa5 Make waterlogged roots more water looking
A quick change to the setting within the wlroots definition that makes the water translucent.
It's not perfect, but I think it looks better blended than opaque.
2022-11-20 19:16:39 +00:00
cora
adfbf4bc64 Fix lightning boat crash 2022-11-20 02:54:42 +01:00
FossFanatic
1a5aed704c Fix underside of grass block 2022-11-19 11:28:31 +00:00
AFCMS
029769f48f Fixes to mcl_tnt
- reorder code
- fix potential crashes with not handeled nil values
- use new vectors
2022-11-19 01:27:32 +01:00
Daniel Cassidy
79192d51ed mcl_enchanting: Add missing dependency on mcl_experience. 2022-11-18 21:30:50 +01:00
FossFanatic
dec2c2bade Merge branch 'master' into cocoa_pod_fixes 2022-11-18 08:27:19 +00:00
FossFanatic
e25415e047 Merge branch 'master' into respawn_anchor_animation 2022-11-18 08:24:57 +00:00
FossFanatic
f93af56bf6 Remove MineCraft derivative texture 2022-11-18 08:16:53 +00:00
FossFanatic
f8b98d784b Add animated top texture 2022-11-18 08:12:16 +00:00
FossFanatic
e898b72f3d Add animated top texture 2022-11-18 08:11:39 +00:00