mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Update scripts structure
This commit is contained in:
parent
860b44223b
commit
9f38943005
4 changed files with 10 additions and 12 deletions
|
@ -43,7 +43,7 @@ title = Level.new()
|
|||
|
||||
title.ambientTrack = "108"
|
||||
title.levelFile = "Data\\title.ten"
|
||||
title.scriptFile = "Scripts\\title.lua"
|
||||
title.scriptFile = "Scripts\\Levels\\title.lua"
|
||||
title.loadScreenFile = "Screens\\Main.png"
|
||||
|
||||
Flow.AddLevel(title)
|
||||
|
@ -55,7 +55,7 @@ Flow.AddLevel(title)
|
|||
test = Level.new()
|
||||
|
||||
test.nameKey = "level_test"
|
||||
test.scriptFile = "Scripts\\New_Level.lua"
|
||||
test.scriptFile = "Scripts\\Levels\\New_Level.lua"
|
||||
test.ambientTrack = "108"
|
||||
test.levelFile = "Data\\TestLevel.ten"
|
||||
test.loadScreenFile = "Screens\\rome.jpg"
|
||||
|
|
|
@ -1,15 +1,7 @@
|
|||
local strings =
|
||||
{
|
||||
--[[
|
||||
Level name strings
|
||||
--]]
|
||||
lara_home = { "Lara's Home" },
|
||||
test_level = { "Test Level" },
|
||||
title = { "Title" },
|
||||
-- Inventory item strings
|
||||
|
||||
--[[
|
||||
Inventory item strings
|
||||
--]]
|
||||
binoculars = { "Binoculars" },
|
||||
crossbow = { "Crossbow" },
|
||||
crossbow_explosive_ammo = { "Crossbow Explosive Ammo" },
|
||||
|
@ -63,6 +55,12 @@ local strings =
|
|||
waterskin_small_2l = { "Small Waterskin (2L)" },
|
||||
waterskin_small_3l = { "Small Waterskin (3L)" },
|
||||
waterskin_small_empty = { "Small Waterskin (Empty)" },
|
||||
|
||||
-- Level name strings
|
||||
|
||||
lara_home = { "Lara's Home" },
|
||||
test_level = { "Test Level" },
|
||||
title = { "Title" },
|
||||
}
|
||||
|
||||
TEN.Flow.SetStrings(strings)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue