diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-01-05 11:12:57 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-01-12 12:01:44 +0900 |
| commit | 94579edc3fa4bd67ffe98c4170f391a2dd9b140a (patch) | |
| tree | 0c7694467890c314c8dcb851ade55a2965a2bd3c | |
| parent | 025d33b0c7d689cf3c8141ff2b08b7ee3a242257 (diff) | |
gnu: Add luanti-mineclonia-csm.
* gnu/packages/luanti.scm (luanti-mineclonia-csm): New variable.
Change-Id: I0ad5f47cc38ac5a73578e4cd1a61edb61c378b68
| -rw-r--r-- | gnu/packages/luanti.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/luanti.scm b/gnu/packages/luanti.scm index 0beeac22a9b..963886e1dc9 100644 --- a/gnu/packages/luanti.scm +++ b/gnu/packages/luanti.scm @@ -503,6 +503,31 @@ currently permits without resorting to hacks which are too heavyweight or complicated to maintain.") (license license:gpl3+))) +(define-public luanti-mineclonia-csm + (package/inherit luanti-mineclonia + (name "luanti-mineclonia-csm") + (arguments + (substitute-keyword-arguments (package-arguments luanti-mineclonia) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (add-after 'unpack 'enable-csm-support + (lambda _ + ;; This makes it easy to benefit from client-side + ;; scripting mods such as the mcl_localplayer mode that + ;; can be used along the luanti-halon fork. + (substitute* '("settingtypes.txt" + "mods/PLAYER/mcl_serverplayer/init.lua") + (("(mcl_enable_csm.*)false" _ mcl_enable_csm) + (string-append mcl_enable_csm "true"))))))))) + (synopsis "Unofficial Minecraft-like game for Luanti with CSM enabled") + (description + (string-append (package-description luanti-mineclonia) + " This variant has CSM (client-side scripting) + enabled, for use with the @code{luanti-halon} fork. The CSM code makes it +possible to replicate more closely the physics of the original Minecraft game. +To use it, you need to add @code{enable_client_modding = true} to your +client's @file{~/.minetest/minetest.conf} configuration file.")))) + (define-public luanti-voxelibre (package (name "luanti-voxelibre") |
