Jump to content

Variablename - Questions


nightmare

Recommended Posts

  • 2 weeks later...

@Dev's

 

 

which variables will now the right one, yet and in the future?

 

without underlines:  DisplayNameItem = "blabla"

 

or

 

with underlines:  DisplayName_Item = "blabla"

 

 

 

okay i have understand now, underlines are replacements for a "blank" character ...

 

example:

 

items.txt

   

item Sandbag

    {

        Weight    =    2,

        Type    =    Drainable,

        UseWhileEquipped    =    FALSE,

        UseDelta    =    0.25,

        DisplayName    =    Sand bag,

        Icon    =    Sandbag,

        ReplaceOnDeplete    =    EmptySandbag,

    }

translation

  

DisplayNameSand_bag = "Sand bag",

Link to comment
Share on other sites

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...