Commit Graph

255 Commits

Author SHA1 Message Date
FaceDeer 76202917ba Merge branch 'master' into bubblesponge 2023-12-05 23:30:55 -07:00
FaceDeer 65aa2769cc fix a typo 2023-12-05 23:30:48 -07:00
Jacob Lifshay de08a9d481
Fix bedrock in mineclone2 (#49)
* adjust more mcl_vars variables that were recently added to MineClone2

* try to detect mcl_vars values that should have been changed
2023-12-03 00:36:34 -07:00
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org 8edf220213
fix crash when fake player dig slade (#46)
When a fake player, for example a node, dig slade, it return player ~= nil but it is not a current player, the server_diggable_only function tries to check the privs of the node, then this crashes

Here we use the built-in check player:is_player() so the node privs are not checked

This crash occurred in the technic mod when the corium eats the slade
2023-12-03 00:33:53 -07:00
FaceDeer fec70718b0 fix another spot where nvals_wave might get an out-of-bounds index passed to it. Also fix a spelling error in the lorebooks. 2023-10-05 22:10:50 -06:00
FaceDeer 019853bf4e filled in some more missing translations
Credit/blame to ChatGPT
2023-10-02 11:49:01 -06:00
FaceDeer 248d00165d experimenting with ChatGPT translation 2023-10-02 01:27:59 -06:00
FaceDeer 9477afdd81 prevent a crash when noise doesn't extend far enough outside the emerged area 2023-10-02 00:52:28 -06:00
FaceDeer a44f3273ca update translations, remove some unnecessary escape codes 2023-10-02 00:08:15 -06:00
FaceDeer 59a43f4033 update subterrane and mapgen_helper 2023-09-29 20:16:03 -06:00
FaceDeer 058f13f6a4 More luacheck tidying 2023-09-29 20:06:34 -06:00
FaceDeer f537af33bc cleaning up some stuff with luacheck. 2023-09-29 16:09:25 -06:00
FaceDeer c9dedef095 update doc.lua 2023-09-29 14:26:36 -06:00
FaceDeer c446bd66d4 mineclone compatibility fixes 2023-02-14 20:46:42 -07:00
FaceDeer cf89421748 now that bubblesponge overwriting is fixed, move them back above the surface of the sand. 2023-02-14 19:37:53 -07:00
FaceDeer ec861d6047 add a few non-Amelia pictures. Remove the least representative Sunless Sea watercolour. 2023-02-14 17:09:35 -07:00
FaceDeer b581f724db figured out why cairns were disappearing in giant caverns 2023-02-12 20:27:21 -07:00
FaceDeer 24937bdad7 space the cairns closer together 2023-02-12 16:34:15 -07:00
FaceDeer 2b1f88f6c1 add ability to split bubblesponge stems occasionally 2023-02-12 16:08:25 -07:00
FaceDeer f12ef0b00d fix exploding cairns 2023-02-12 15:53:17 -07:00
FaceDeer e186037f2b add an achievement for collecting all lorebooks 2023-02-12 15:45:26 -07:00
FaceDeer fc1a6d754e add mapgen 2023-02-12 13:06:08 -07:00
FaceDeer 633f230ae4 refinements to cairn markings, give them an inventory so players can put stuff in them if they want why not 2023-02-12 12:01:12 -07:00
FaceDeer cb523dea21 add some art 2023-02-12 03:11:46 -07:00
FaceDeer fd9f2e97f2 add a collectible satchel 2023-02-11 20:43:09 -07:00
FaceDeer 0ea940f104 getting ready to add mapgen 2023-02-11 20:06:51 -07:00
FaceDeer d5f95d3be9 quick and dirty locking and unlocking via cairns 2023-02-11 17:04:25 -07:00
FaceDeer c505f7f3ce rework structure of lorebooks 2023-02-11 16:13:12 -07:00
FaceDeer 2f0f51f210 initial steps toward an interface for players. Lorebooks will be discovered via cairn and read via ledger 2023-02-06 23:24:12 -07:00
FaceDeer 01a8298ed7 finishing the main lore books. Putting recipes on hold, there are too many ingredients being generated that don't exist in Minetest and that's probably confusing rather than helpful 2023-02-05 22:59:53 -07:00
FaceDeer 9bcf510951 update translations. The lorebooks template is going to be quite chonky when done. 2023-02-05 20:49:12 -07:00
FaceDeer 79f15c70b7 add an achievement for finding bubblesponge 2023-02-05 20:34:56 -07:00
FaceDeer 69b21a3fbf Some initial text for a set of lorebooks players will be able to find scattered around the deep caverns. 2023-02-05 20:25:03 -07:00
FaceDeer c7efa95f42 let seeds be planted on furrowed non-wet soil 2023-02-04 21:07:25 -07:00
FaceDeer fe203d0ca0 updating farming growth logic
Quarry bushes now require sand, since they're found in blood thorn caverns
Also, I think I've got the timers working better for marginal soil. Marginal soil conditions are controlled centrally through the growth_condition functions.
2023-02-04 20:42:54 -07:00
FaceDeer 22be60bdeb initial addition of bubblesponge 2023-02-04 20:01:27 -07:00
FaceDeer 2f2577eada add mine_gas to optional depends 2023-01-08 02:38:10 -07:00
Awkanimus 06096ddc8f
No achievement when torch is placed by mods (#43) 2022-12-05 00:29:35 -07:00
FaceDeer b27a9eb8da Add a bit of API documentation. Incomplete, but covers the important stuff IMO 2022-10-22 22:43:29 -06:00
FaceDeer a6cd433ecf Fix a crash in ambient sound biome checking when the player is halfway between level 2 and level 3. Also add API to puzzle chests
This fixes issue https://github.com/FaceDeer/dfcaverns/issues/39
2022-10-22 10:02:34 -06:00
FaceDeer 5ea9ee9de0 group fixes suggested on the forum 2022-09-10 16:21:50 -06:00
FaceDeer efeae89ab9 fix local variable access 2022-09-06 22:50:01 -06:00
FaceDeer 77b990a697 fix crash when using mesecons with default game, remove flora group from all plants. 2022-08-29 06:51:17 -06:00
FaceDeer e82fcf7c87 using experimental supported_games mod.conf feature 2022-08-29 00:34:53 -06:00
FaceDeer 52b2cf8ebb add some additional checks to maybe allow for older versions of these mods 2022-08-29 00:29:44 -06:00
FaceDeer 0a0c97b74e
Mineclone compatibility (#36)
* latest versions of mapgen_helper and subterrane

* initial work

* call it "minetest_game" compatibility instead of "default" compatibility

* Getting started on moving all default dependencies to a single root mod

* distilling out more dependencies

* fix some typos

* more default dependencies

* beds

* start getting some MCL equivalents set up

* mine gas dependencies

* reorganize

* add some mapgen stuff

* getting close to actually being able to run mineclone with this

* it actually runs! Crashes with out-of-memory error when you try to go below -64, but it's a start.

* hide flowing pit plasma from creative inventory

* mineclone 5 settings

* Update subterrane

* get rid of meselamp dependency, bring in ancient lanterns from deep roads

* stair dependencies

* add mcl fences

* add mcl blast resistance and hardness to everything. Also an alternate name for Nethercap in MCL, since "nether" has another meaning there.

* buckets of oil and syrup should work in mineclone now

* 'splosions!

* make hunters avoid repaired ancient lanterns

* mapgen torchspine wasn't having its timer set

* split mapgen compatibility code into its own file

* bypass dependency indirection for df_farming.

* apply threshold alpha to food items, they look better that way

* bypass dependency indirection for df_mapitems

* bypass dependency indirection for df_primordial_items

* bypass dependency indirection for df_trees

* bypass dependency indirection for df_underworld_items

* bypass dependency indirection for df_caverns

* fixing up the puzzle seal to work in both

* fix puzzle seal formspec for mcl

* create built-in substitutes for fireflies and bones mods for when those aren't available

* set up mcl dungeon loot for underworld warriors, port over some translations from default

* overlooked a debug

* add itemslot backgrounds for mcl

* added mineclone groups to all registered nodes. TODO: craftitems.

This was extremely tedious. Completely untested, aside from simply running the game.

* minor fixes to the built-in bones node

* eatable group for edibles

* clean up some TODOs

* adjust pit plasma abm conditions

* add df_ambience

* fixing up explosions. Also make slade sand diggable in mcl, and fix a bug in web generators

* make tower cap caves less chirpy, fix bigger goblin hut schematic, allow glowing spindlestem extract bottles

* avoid an undeclared global check

* alas, cave pearls aren't set up right for attached_node_facedir.

* bunch of work on mineclone ores, moved main config into df_dependencies

* add a few more ores

* update depends in mod.conf

* add opaque group to light-sensitive dirt types

Mineclone adds the "opaque" group only to non-light nodes, and torches check for the opaque group to decide whether they can be placed there. light-sensitive nodes need the "light" paramtype to work, though. So adding the opaque group manually to these.

* add a touch of reverb to one of the whisper tracks, it didn't fit with the others without it

* bloodthorn also needs to be set opaque

* add sound to torchspines

* isolate Nethercap translation name to make it easier to swap out in Mineclone contexts

* ambience tweak

* fix dirt spreads

https://github.com/FaceDeer/dfcaverns/issues/35

* adding achievements! Almost all untested yet.

* fix a few achievements glitches

* tweak some more achievements, add delay when achievements unlock other achievements

* fix farming achievements, fix spindlestem callbacks on place

* icons for farming achievements

* more achievement icons, fix ancient lantern achievement

* two more icons, update text

* add icons for upper cavern layers

* all achievements have icons now. Also add another sound to the magma sea ambience

* hook into awards' trigger system to get "x/y" progress displayed for the multi-achievement achievements

* ironically, Mineclone has an old version of awards that is incompatible with my trigger work.

* every award should now have a description and a difficulty.

* removing leftovers

* missing callbacks for farmables

* put growth restrictions on farmables so the achievement doesn't trigger inappropriately.

* enable ores in MCL2, fix some undeclared globals, fix icecap growth in MCL (achievements are a good debugging tool)

* get *all* the copper and iron containing nodes

* fix old awards mod's handling of grouped dig items

* Add a little bonus for players who activate a slade breacher - a handheld 'splosion tool

* used the wrong drop method

* beef up explosions in MCL, make slade brick craftable from slade sand and lava

* better creative mode checks, fix crash when digging walls in MCL

* Update subterrane

* various bugfixes and tweaks

* whipping up a simple puzzle chest to give a clue about ancient numbering

The coding is done, but UI and a node mesh need to be done

* prepare for some art tomorrow

* chest node and sounds

* images for the combination dials

* add puzzle chests to the underworld buildings

* update translations

* oops, can't initialize the contents of puzzle chests every time or players get endless stuff

* add backgrounds to item slots in MCL

* wrap the existing function rather than copy and pasting it

* fix bucket dependency in cooking recipes

* add _mcl_saturation to edibles
2022-08-28 23:48:44 -06:00
FaceDeer b2ee829c1a Update subterrane 2022-08-27 18:35:34 -06:00
FaceDeer 0296f7fb7e update subterrane, fix a crash in torchspine growth 2022-08-08 00:18:03 -06:00
FaceDeer dbc5dd38a3 Squashed commit of the following:
commit 0a61781b99
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Mon Aug 1 14:50:07 2022 -0600

    add an additional check to ensure old timers don't cause inappropriate growth

commit 1d7b6010c3
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Mon Aug 1 13:21:29 2022 -0600

    stop timers when seeds are picked up

commit c8fa25ccd7
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Mon Aug 1 13:05:24 2022 -0600

    fix replacements for dwarven syrup taffy recipe

commit 4de45bb6d7
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Mon Aug 1 11:09:48 2022 -0600

    account for some additional mod dependencies

commit 83ea06bbaa
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Mon Aug 1 11:09:14 2022 -0600

    update cooking recipes to be more specific.

commit 302da3ec51
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Fri Jul 29 17:12:59 2022 -0600

    add location logging for debugging purposes

commit 11667e184e
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Sun Jul 24 16:54:21 2022 -0600

    add checks for submods being present

    the df_trees and df_farming checks are likely redundant, but if primordial layers are disabled someone might not have df_primordial_items installed.

commit 5906308d87
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Sun Jul 24 16:49:23 2022 -0600

    add config settings for biome restrictions, vastly reduce copy and paste in code

commit e52820c282
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Sat Jul 23 20:45:26 2022 -0600

    add initial stab at growing conditions - biome restrictions for trees

commit 7b99556df9
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Sat Jul 23 12:08:41 2022 -0600

    adding biome API. Not yet tested.

commit bf82b3b3fe
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Fri Jul 22 21:22:37 2022 -0600

    added stubs for growth permission for farming plants

commit 46765df3ef
Author: FaceDeer <derksenmobile@gmail.com>
Date:   Fri Jul 22 18:36:45 2022 -0600

    initial work for restricted plant growth. split out growth conditions for trees, and reworked torchspine to not use ABMs while I was at it.
2022-08-01 14:55:46 -06:00
FaceDeer f23d4115bd default fences using dfcaverns wood
also adding flora group to all plants, making spongestone drop dirt, and adding fuel recipes for primordial wood types
2022-07-22 02:27:57 -06:00