JD2022-TU1/data/EngineData/CottleTemplates/SkinsCottleTemplates/SingleSkin/${Main_ID}$/desc.tpl

38 lines
No EOL
1.2 KiB
Smarty

includeReference("EngineData/Helpers/AvatarDatabase.ilu")
params =
{
NAME = "Actor_Template",
Actor_Template =
{
TAGS =
{
},
COMPONENTS =
{
{
NAME = "MaterialGraphicComponent_Template",
MaterialGraphicComponent_Template =
{},
},
{
NAME="JD_SkinDescTemplate",
JD_SkinDescTemplate =
{
JDVersion = ${JD_Version}$,
actorPath = "world/skins/${Main_ID}$/${Main_ID}$.act",
phoneImage = "world/skins/${Main_ID}$/skin_phone.png",
skinId = ${Main_ID}$,
status = ${if eq(Unlock_New_Gen, "AvatarUnlockType.UnlockedByDefault"): AvatarStatus.Unlocked |else: AvatarStatus.Locked}$,
unlockType = ${if eq(Unlock_New_Gen, "AvatarUnlockType.UnlockedByDefault"): AvatarUnlockType.UnlockedByDefault |else: ${Unlock_New_Gen}$}$,
relativesongname = "${Map_Name}$",
mojoprice = ${ default(Mojo_Price_New_Gen, 0) }$,
wdflevel = 0,
RelativeQuestID = "${Quest_Name}$",
RelativeGameModeName = "${Game_Mode}$",
RelativeJDRank = "${JD_Rank}$",
},
},
},
},
}