Page MenuHome1F616EMO Bugtracker

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/custom_skins/init.lua b/custom_skins/init.lua
new file mode 100644
index 0000000..7652366
--- /dev/null
+++ b/custom_skins/init.lua
@@ -0,0 +1,20 @@
+-- twi_mods/custom_skins/init.lua
+-- Player custom skins
+-- Copyright (C) 2025 1F616EMO
+-- SPDX-License-Identifier: GPL-3.0-or-later
+
+-- player.[nick].[number or name].png
+local avaliable_skins = {
+ ["Vedu_0825"] = {
+ "1"
+ },
+}
+
+local texture_path = core.get_modpath("custom_skins") .. DIR_DELIM .. "textures" .. DIR_DELIM
+
+for name, skinlist in pairs(avaliable_skins) do
+ for _, skin_name in ipairs(skinlist) do
+ local filename = "player." .. name .. "." .. skin_name .. ".png"
+ skins.register_skin(texture_path, filename)
+ end
+end
diff --git a/custom_skins/meta/player.Vedu_0825.1.txt b/custom_skins/meta/player.Vedu_0825.1.txt
new file mode 100644
index 0000000..60fd48e
--- /dev/null
+++ b/custom_skins/meta/player.Vedu_0825.1.txt
@@ -0,0 +1,3 @@
+Vedu_0825's Custom Skin 1
+Vedu_0825
+CC BY-SA 4.0
\ No newline at end of file
diff --git a/custom_skins/mod.conf b/custom_skins/mod.conf
new file mode 100644
index 0000000..4991551
--- /dev/null
+++ b/custom_skins/mod.conf
@@ -0,0 +1,2 @@
+name = custom_skins
+depends = skinsdb
diff --git a/custom_skins/textures/player.Vedu_0825.1.png b/custom_skins/textures/player.Vedu_0825.1.png
new file mode 100644
index 0000000..8c1054a
Binary files /dev/null and b/custom_skins/textures/player.Vedu_0825.1.png differ

File Metadata

Mime Type
text/x-diff
Expires
Wed, Apr 15, 1:31 AM (3 d, 14 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d1/0f/c91d20886b5c7d72e3b17ba9c674
Default Alt Text
(1 KB)

Event Timeline