mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Allow game to specify first and last mod in mod loading order (#14177)
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
a4768d1638
commit
140b9e5a5a
12 changed files with 141 additions and 64 deletions
1
games/devtest/mods/last_mod/init.lua
Normal file
1
games/devtest/mods/last_mod/init.lua
Normal file
|
@ -0,0 +1 @@
|
|||
-- Nothing to do here, loading order is tested in C++ unittests.
|
5
games/devtest/mods/last_mod/mod.conf
Normal file
5
games/devtest/mods/last_mod/mod.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
name = last_mod
|
||||
description = Mod which should be loaded as last mod.
|
||||
# Test dependencies
|
||||
optional_depends = unittests
|
||||
depends = first_mod
|
Loading…
Add table
Add a link
Reference in a new issue