Page Menu
Home
1F616EMO Bugtracker
Search
Configure Global Search
Log In
Files
F156454
init.lua
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
567 B
Referenced Files
None
Subscribers
None
init.lua
View Options
-- 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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 1, 1:22 PM (2 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d6/1b/94a01c60f9ae861ef6a9d4bea6cb
Default Alt Text
init.lua (567 B)
Attached To
Mode
rTWIMODS Survival Server Custom Modifications
Attached
Detach File
Event Timeline
Log In to Comment