Jump to content

Recommended Posts

I'm having a struggle on why this is even going on, I cannot seem to find the source of it either: ":44: '=' expected near 'Ritotir' "

If anyone has a idea of what could be the issue could possibly be.

Any help is appreciated!

FYI: This is also using the same template as the "Extended Sample Character Template"

 

PrefabFiles = {
	"Alex Ritotir",
	"Alex Ritotir_none",
}

Assets = {
    Asset( "IMAGE", "images/saveslot_portraits/Alex Ritotir.tex" ),
    Asset( "ATLAS", "images/saveslot_portraits/Alex Ritotir.xml" ),

    Asset( "IMAGE", "images/selectscreen_portraits/Alex Ritotir.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/Alex Ritotir.xml" ),
	
    Asset( "IMAGE", "images/selectscreen_portraits/Alex Ritotir_silho.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/Alex Ritotir_silho.xml" ),

    Asset( "IMAGE", "bigportraits/Alex Ritotir.tex" ),
    Asset( "ATLAS", "bigportraits/Alex Ritotir.xml" ),
	
	Asset( "IMAGE", "images/map_icons/Alex Ritotir.tex" ),
	Asset( "ATLAS", "images/map_icons/Alex Ritotir.xml" ),
	
	Asset( "IMAGE", "images/avatars/avatar_Alex Ritotir.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_Alex Ritotir.xml" ),
	
	Asset( "IMAGE", "images/avatars/avatar_ghost_Alex Ritotir.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_ghost_Alex Ritotir.xml" ),
	
	Asset( "IMAGE", "images/avatars/self_inspect_Alex Ritotir.tex" ),
    Asset( "ATLAS", "images/avatars/self_inspect_Alex Ritotir.xml" ),
	
	Asset( "IMAGE", "images/names_Alex Ritotir.tex" ),
    Asset( "ATLAS", "images/names_Alex Ritotir.xml" ),
	
	Asset( "IMAGE", "images/names_gold_Alex Ritotir.tex" ),
    Asset( "ATLAS", "images/names_gold_Alex Ritotir.xml" ),
}

AddMinimapAtlas("images/map_icons/Alex Ritotir.xml")

local require = GLOBAL.require
local STRINGS = GLOBAL.STRINGS

-- The character select screen lines
STRINGS.CHARACTER_TITLES.Alex Ritotir = "The Elemental DrazelKin"
STRINGS.CHARACTER_NAMES.Alex Ritotir = "Esc"
STRINGS.CHARACTER_DESCRIPTIONS.Alex Ritotir = "*Perk 1\n*Perk 2\n*Perk 3"
STRINGS.CHARACTER_QUOTES.Alex Ritotir = "\"Quote\""

-- Custom speech strings
STRINGS.CHARACTERS.Alex Ritotir = require "speech_Alex Ritotir"

-- The character's name as appears in-game 
STRINGS.NAMES.Alex Ritotir = "Esc"
STRINGS.SKIN_NAMES.Alex Ritotir_none = "Esc"

-- Add mod character to mod character list. Also specify a gender. Possible genders are MALE, FEMALE, ROBOT, NEUTRAL, and PLURAL.
AddModCharacter("Alex Ritotir", "MALE")

 

6 hours ago, AlexRitotir777 said:

Yup, that was it! Thank you for the help!

For the future, if you ever do require a space to be in a table variable name, then you'll have to do:

sometable["some variable here"] = bob

The dot syntax is syntactic sugar so you don't have to use the brackets and quotes every time, a short hand for this.

Edited by CarlZalph
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...