Commit Graph

221 Commits

Author SHA1 Message Date
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 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
FaceDeer 1b402a2403 copy/paste error in config description 2022-07-15 19:16:23 -06:00
FaceDeer 18d2f190e8 make various primordial vegetation floodable. It grows back anyway. 2022-07-15 19:13:15 -06:00
FaceDeer beb89c5a64 remove another ABM 2022-07-15 18:57:01 -06:00
FaceDeer d1620a6f39 replace bloodthorn ABM with node timers, much more efficient. 2022-07-15 16:58:54 -06:00
FaceDeer edae8c1104 update subterrane version to include giant mushroom buildability fix
https://github.com/FaceDeer/dfcaverns/issues/27
https://github.com/FaceDeer/dfcaverns/issues/21
2022-07-15 15:07:41 -06:00
FaceDeer a243b613a3 fix typo in grow time, this was using cave wheat's delay multiplier
https://github.com/FaceDeer/dfcaverns/issues/18
2022-07-14 19:11:15 -06:00
FaceDeer 64063bda36 add changes suggested by TurkeyMcMac to improve efficiency and lighting of surface tunnels
Suggested in https://github.com/FaceDeer/dfcaverns/issues/22
2022-07-14 18:48:32 -06:00
FaceDeer 1f1b7efb95 add sugar group to sweet pod sugar 2022-07-14 18:40:35 -06:00
FaceDeer 4884f1e51a add spawn functions to some trees that didn't have them 2022-07-13 22:01:50 -06:00
FaceDeer c3e3ea0d5d add sapling group to the primordial jungle mushroom 2022-07-13 20:06:39 -06:00
FaceDeer d4f12d19ec add stairs for primordial wood types. Also bump mycelial soil light sensitivity to 13 2022-07-11 22:13:25 -06:00
FaceDeer dbd12b2237 making mycelial dirt light-sensitive, fixing various drops 2022-07-11 20:30:49 -06:00
FaceDeer ca483a6f29 add a "sterile" harvested version of dimplecup to prevent endless spawn production 2022-07-11 18:30:34 -06:00
FaceDeer 416fbb4e45 prevent spindlestem caps from producing endless spawn
Note that recipes will no longer work for players that already have these caps in their inventory. They'll need to place them and then re-harvest them to convert them to the new "sterile" cap node that drops on harvest.
2022-07-11 01:16:57 -06:00
FaceDeer 289c353bb6
Pit caves (#20)
* A simple pit cave mod, based off of code from the volcano pipes in my magma_conduits mod

* option to seal off ocean pits

* reuse chasm's ignore list

* documentation

* rename findpits to prevent confusion with underworld glowing pits
2021-05-07 22:59:30 -06:00
FaceDeer 79fd356477 update subterrane 2021-04-11 17:21:12 -06:00
FaceDeer b3525c98d5 add an api to chasms to let other mods build bridges without them being chopped up 2021-04-04 22:59:17 -06:00
FaceDeer 3d7c2b43a4 fiddling with the prevalence of cave webs a bit 2021-03-29 11:48:10 -06:00
FaceDeer 1dbea13f67 fix undeclared local 2021-03-28 15:38:30 -06:00
FaceDeer 9b7e71c675
Chasms (#19)
* initial chasms mod

* tweak default chasm settings

* prevent chasms from breaching oil and magma seas, make veinstone actually do something

* overgenerate caverns to eliminate floating stalactites

* make veinstone punchable instead of right-clickable

* ensure dfcaverns get carved before chasms

this has an unfortunate tradeoff. Chasms will no longer have floating giant columns in them, but will also no longer have smaller stalactites and stalagmites. Also will carve chasms through lake water. Not sure if this is ideal.

* add rare big webs to the chasms, to give them a unique feature

* reverse the dependencies for df_caverns and chasms, let chasms go first.

* fix web generator

* add webs to level 3 tunnels, fix sunless sea chasms

* fix up tunnel webs

* make webs snappy

* make webs slightly more prevalent

* add chasms to the guide

* final touch-ups before merging

* allow anchoring against unloaded blocks
2021-03-28 15:20:52 -06:00
FaceDeer 0acb3ab09b update use_texture_alpha properties 2021-03-13 02:21:13 -07:00
FaceDeer 9a53e49fa8 make primordial gills climbable, make spore trees more likely to produce spawn 2021-03-12 18:29:05 -07:00
FaceDeer ae4d0ebe81 it's been a few months since name_generator's name was changed on contentDB, remove temp backwards compatibility 2021-01-19 22:00:32 -07:00
FaceDeer b6ffd7fc97 made the pit plasma abm much more selective to reduce cpu load 2021-01-16 01:07:48 -07:00
FaceDeer b4a4d54877
Merge pull request #17 from FaceDeer/ground_covers
Ground covers and guardians
2020-12-05 00:56:24 -07:00
FaceDeer 7b8c1e547e update subterrane 2020-12-05 00:38:46 -07:00
FaceDeer 2b8f808605 since I don't know when contentdb will accept the changed name for namegen, adding support for both names temporarily 2020-12-01 21:54:10 -07:00
FaceDeer d2ed498f45 add a few edibles to the primordial layer 2020-12-01 00:08:38 -07:00
FaceDeer f5954dfdc5 add hunger_ng support 2020-11-30 19:42:00 -07:00
FaceDeer fc2bc52203 Place new ground covers. Also, had to change namegen's name to avoid a collision on ContentDB 2020-11-22 16:30:56 -07:00
FaceDeer dab827bf8f update map colours 2020-11-19 21:29:51 -07:00
FaceDeer 9c93d9c4e3 slightly reduce the density of hunter statues 2020-11-19 21:17:50 -07:00
FaceDeer d1cf8927af make statue a bit quieter 2020-11-19 18:35:49 -07:00
FaceDeer 0f04fd94e5 png optimize a few more textures 2020-11-19 18:32:19 -07:00