mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 04:16:30 +00:00
Add the game
This commit is contained in:
parent
25eb4d0283
commit
38caa29558
863 changed files with 36331 additions and 0 deletions
8
mods/xcompat/src/textures.lua
Normal file
8
mods/xcompat/src/textures.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local filename = xcompat.gameid
|
||||
|
||||
--if we dont have a materials file for the game, use minetest
|
||||
if not xcompat.utilities.file_exists(xcompat.modpath .. "/src/textures/" .. filename .. ".lua") then
|
||||
filename = "xcompat_agnostic"
|
||||
end
|
||||
|
||||
return dofile(xcompat.modpath .. "/src/textures/" .. filename .. ".lua")
|
||||
Loading…
Add table
Add a link
Reference in a new issue