-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathmodmain.lua
57 lines (41 loc) · 2.06 KB
/
modmain.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PrefabFiles = {
"esctemplate",
"esctemplate_none",
}
Assets = {
Asset( "IMAGE", "images/saveslot_portraits/esctemplate.tex" ),
Asset( "ATLAS", "images/saveslot_portraits/esctemplate.xml" ),
Asset( "IMAGE", "images/selectscreen_portraits/esctemplate.tex" ),
Asset( "ATLAS", "images/selectscreen_portraits/esctemplate.xml" ),
Asset( "IMAGE", "images/selectscreen_portraits/esctemplate_silho.tex" ),
Asset( "ATLAS", "images/selectscreen_portraits/esctemplate_silho.xml" ),
Asset( "IMAGE", "bigportraits/esctemplate.tex" ),
Asset( "ATLAS", "bigportraits/esctemplate.xml" ),
Asset( "IMAGE", "images/map_icons/esctemplate.tex" ),
Asset( "ATLAS", "images/map_icons/esctemplate.xml" ),
Asset( "IMAGE", "images/avatars/avatar_esctemplate.tex" ),
Asset( "ATLAS", "images/avatars/avatar_esctemplate.xml" ),
Asset( "IMAGE", "images/avatars/avatar_ghost_esctemplate.tex" ),
Asset( "ATLAS", "images/avatars/avatar_ghost_esctemplate.xml" ),
Asset( "IMAGE", "images/avatars/self_inspect_esctemplate.tex" ),
Asset( "ATLAS", "images/avatars/self_inspect_esctemplate.xml" ),
Asset( "IMAGE", "images/names_esctemplate.tex" ),
Asset( "ATLAS", "images/names_esctemplate.xml" ),
Asset( "IMAGE", "images/names_gold_esctemplate.tex" ),
Asset( "ATLAS", "images/names_gold_esctemplate.xml" ),
}
AddMinimapAtlas("images/map_icons/esctemplate.xml")
local require = GLOBAL.require
local STRINGS = GLOBAL.STRINGS
-- The character select screen lines
STRINGS.CHARACTER_TITLES.esctemplate = "The Sample Character"
STRINGS.CHARACTER_NAMES.esctemplate = "Esc"
STRINGS.CHARACTER_DESCRIPTIONS.esctemplate = "*Perk 1\n*Perk 2\n*Perk 3"
STRINGS.CHARACTER_QUOTES.esctemplate = "\"Quote\""
-- Custom speech strings
STRINGS.CHARACTERS.ESCTEMPLATE = require "speech_esctemplate"
-- The character's name as appears in-game
STRINGS.NAMES.ESCTEMPLATE = "Esc"
STRINGS.SKIN_NAMES.esctemplate_none = "Esc"
-- Add mod character to mod character list. Also specify a gender. Possible genders are MALE, FEMALE, ROBOT, NEUTRAL, and PLURAL.
AddModCharacter("esctemplate", "FEMALE")