Change optionnal depends + the way to define areas.factions_available to differencies factions mod of playerfactions mod
This commit is contained in:
parent
aef129d119
commit
c8b015d290
|
@ -9,8 +9,7 @@ Minetest 5.0.0+
|
||||||
|
|
||||||
Optional support for following mods:
|
Optional support for following mods:
|
||||||
|
|
||||||
* [playerfactions](https://forum.minetest.net/viewtopic.php?t=23281) by aldenp
|
* [playerfactions](https://git.leagueh.xyz/katp32/playerfactions/) by [katp32](https://git.leagueh.xyz/katp32) & [Kalio_42](https://git.leagueh.xyz/Kalio_42)
|
||||||
* [factions](https://forum.minetest.net/viewtopic.php?t=20949) by Coder12
|
|
||||||
|
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
|
|
2
init.lua
2
init.lua
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
areas = {}
|
areas = {}
|
||||||
|
|
||||||
areas.factions_available = minetest.global_exists("factions")
|
areas.factions_available = minetest.get_modpath("playerfactions") and true
|
||||||
|
|
||||||
areas.adminPrivs = {areas=true}
|
areas.adminPrivs = {areas=true}
|
||||||
areas.startTime = os.clock()
|
areas.startTime = os.clock()
|
||||||
|
|
Loading…
Reference in New Issue