Guest User

Merging Chests localization example

a guest
May 19th, 2017
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. -- Example for "prototypes\entity.lua":
  2. return
  3.     {
  4.         type = "container",
  5.         name = name,
  6.         localised_name = {"entity-name.wide-chest", width},
  7.         ...
  8.  
  9. -- Example for "locale\en\locale.cfg" (UTF-8, NOT without BOM):
  10. [entity-name]
  11. wide-chest=Steel chest __1__ wide
Advertisement
Add Comment
Please, Sign In to add comment