import { sep as pathSep } from "path" ; import { ModMapper } from "../ModMapper" ; export default class ModTemplateFormat extends ModMapper { public mapFile ( path ) { const pathParts = path . split ( "/" ) ; pathParts . shift ( ) ; if ( pathParts [ 0 ] === "game" || pathParts [ 0 ] === "characters" || pathParts [ 0 ] === "renpy" || pathParts [ 0 ] === "lib" ) { return pathParts . join ( pathSep ) ; } return null ; } public getFriendlyName ( ) { return "Mod (DDLC Mod Template)" ; } }