Page Menu
Home
1F616EMO Bugtracker
Search
Configure Global Search
Log In
Files
F278905
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
Fri, Jun 12, 8:18 PM (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c8/54/c37cce9f4d2cb9e79900ad3c0fde
Default Alt Text
init.lua (567 B)
Attached To
Mode
rTWIMODS Survival Server Custom Modifications
Attached
Detach File
Event Timeline
Log In to Comment