1
0
Fork 0
Commit Graph

28 Commits (1d587b88955fc1de22e78e8dc64c9d440725ed8d)

Author SHA1 Message Date
iliekprogrammar 9885f36c62 Fix missing age metadata and timer initialization in on_place. 2021-03-31 19:27:57 +08:00
iliekprogrammar bfff643ff4 Allow age to override during initialization. 2021-03-31 17:38:38 +08:00
iliekprogrammar ccea673dcc Fix updating age metadata. Remove kelp.lock_drop. 2021-03-31 17:31:28 +08:00
iliekprogrammar 08e280d9b4 Comment out debug stuff 2021-03-31 14:17:50 +08:00
iliekprogrammar 52c788f197 Merge branch 'master' into kelp 2021-03-31 13:59:27 +08:00
iliekprogrammar 089d6aa5c8 Add dug sounds to kelp when unsubmerged 2021-03-31 13:55:07 +08:00
iliekprogrammar 9518086b6b Kelp store age metadata by bulk on a queue, improve API, etc.
Highlights:
- Implement storing age metadata by bulk on a queue, with maximum interval and queue length.
- "Flexible" initial growth probability. Will provide helper APIs.
- Fix various bugs with unsubmerged kelp detection, submerged tip detection, age metadata.
- Various optimizations.
2021-03-31 13:41:52 +08:00
iliekprogrammar ecdbc30b63 Overhaul kelp interactions.
Highlights:
- Added locking system to drops. Will be removed after testing.
- Expose more variables and functions. Will be finalized soon.
- Implement MC-like age and natural growth mechanics.
- Implement correct piston interactions with kelp and its surface.
- Implement correct falling node interactions for its surface.
- ABMs are now nonfunction. Will be fixed.
- Various optimizations and fixes.
2021-03-29 14:09:09 +08:00
iliekprogrammar 24da94ec3b Disable ABMs in favor of nodetimers to check if kelp is unsubmerged. 2021-03-28 20:29:29 +08:00
iliekprogrammar e76a0ba6e8 Added kelp API and additional refactorings.
WIP: register nodetimers for kelp
2021-03-28 14:51:21 +08:00
Elias Åström c1e295de5f Make hoe dig some blocks faster
- Sponges
- Hay and kelp blocks
- Nether wart
- Leaves
2021-03-21 12:39:14 +01:00
iliekprogrammar ca635b69be Various fixes. 2021-03-21 14:06:54 +08:00
iliekprogrammar ebf9f8c918 placing kelp now creates water sources, small refactoring. 2021-03-21 12:16:56 +08:00
iliekprogrammar 23f69dfd1e Core implementation of MC-like kelp drops.
Highlights:
* Kelp should no longer be able to survive without water
(by decreasing its height)
* When kelp is destroyed, each segment now drop a single kelp similar to MC.
* Significantly refactor how kelp grows and dig. Possible optimizations might be
included.
2021-03-21 02:22:25 +08:00
Wuzzy 8dddfe17db Fix kelp dropping always 1 item only 2020-12-03 14:19:37 +01:00
Wuzzy 257d7803a4 Can place kelp also in downwards-flowing water 2020-12-03 14:01:27 +01:00
Elias Åström ca9578d50c Make dried kelp craftable from dried kelp block 2020-07-17 00:17:18 +02:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy cbda2ef326 Add _tt_help to many more items 2020-03-08 03:30:40 +01:00
Wuzzy ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy 85c058125c Add kelp growth 2019-12-18 15:06:35 +01:00
Wuzzy 286009cbd7 Can place kelp on kelp 2019-12-18 13:37:20 +01:00
Wuzzy 3658cfc0f1 Add help texts for the new ocean plants 2019-12-18 12:43:17 +01:00
Wuzzy ee5e50f139 Remove clay variant for kelp and seagrass 2019-12-18 04:28:47 +01:00
Wuzzy 2e9efe51e8 Tweak drop behavior of ocean plants 2019-12-18 03:10:49 +01:00
Wuzzy 40e681a566 Add kelp and related items 2019-12-17 22:43:46 +01:00