Skip to content

Commit

Permalink
lua convert test
Browse files Browse the repository at this point in the history
  • Loading branch information
argrath committed Apr 16, 2024
1 parent 91e3bf6 commit 671e4b8
Show file tree
Hide file tree
Showing 114 changed files with 2,023 additions and 2,023 deletions.
2 changes: 1 addition & 1 deletion dat/Arc-fila.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ des.room({ type = "ordinary",
des.object()
des.trap()
des.monster("S")
des.monster("human mummy")
des.monster("人間のミイラ")
end
})

Expand Down
2 changes: 1 addition & 1 deletion dat/Arc-filb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ des.room({ type = "ordinary",
des.object()
des.trap()
des.monster("S")
des.monster("human mummy")
des.monster("人間のミイラ")
end
})

Expand Down
20 changes: 10 additions & 10 deletions dat/Arc-goal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ des.non_diggable(selection.area(00,00,75,19))
-- The altar of Huhetotl. Unattended.
des.altar({ x=50,y=14,align="chaos",type="altar" })
-- Objects
des.object({ id = "crystal ball", x=50, y=14,buc="blessed",spe=5,name="The Orb of Detection" })
des.object({ id = "水晶玉", x=50, y=14,buc="blessed",spe=5,name="探索のオーブ" })
des.object()
des.object()
des.object()
Expand All @@ -85,7 +85,7 @@ des.trap()
des.trap()
des.trap("rolling boulder",46,14)
-- Random monsters.
des.monster("Minion of Huhetotl", 50, 14)
des.monster("フヘトトルの使い", 50, 14)
des.monster("S")
des.monster("S")
des.monster("S")
Expand All @@ -104,12 +104,12 @@ des.monster("S")
des.monster("S")
des.monster("S")
des.monster("S")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("M")
14 changes: 7 additions & 7 deletions dat/Arc-loca.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ des.monster("S")
des.monster("S")
des.monster("S")
des.monster("M")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("human mummy")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("人間のミイラ")
des.monster("M")
34 changes: 17 additions & 17 deletions dat/Arc-strt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,28 +70,28 @@ des.door("locked",24,14)
des.door("closed",31,14)
des.door("locked",49,14)
-- Lord Carnarvon
des.monster({ id = "Lord Carnarvon", coord = {25, 10}, inventory = function()
des.object({ id = "fedora", spe = 5 });
des.object({ id = "bullwhip", spe = 4 });
des.monster({ id = "カーナボン卿", coord = {25, 10}, inventory = function()
des.object({ id = "フィドーラ", spe = 5 });
des.object({ id = "", spe = 4 });
end })
-- The treasure of Lord Carnarvon
des.object("chest", 25, 10)
des.object("宝箱", 25, 10)
-- student guards for the audience chamber
des.monster("student", 26, 09)
des.monster("student", 27, 09)
des.monster("student", 28, 09)
des.monster("student", 26, 10)
des.monster("student", 28, 10)
des.monster("student", 26, 11)
des.monster("student", 27, 11)
des.monster("student", 28, 11)
des.monster("学生", 26, 09)
des.monster("学生", 27, 09)
des.monster("学生", 28, 09)
des.monster("学生", 26, 10)
des.monster("学生", 28, 10)
des.monster("学生", 26, 11)
des.monster("学生", 27, 11)
des.monster("学生", 28, 11)
-- city watch guards in the antechambers
des.monster("watchman", 50, 06)
des.monster("watchman", 50, 14)
des.monster("見張り", 50, 06)
des.monster("見張り", 50, 14)
-- Eels in the moat
des.monster("giant eel", 20, 10)
des.monster("giant eel", 45, 04)
des.monster("giant eel", 33, 16)
des.monster("巨大ウナギ", 20, 10)
des.monster("巨大ウナギ", 45, 04)
des.monster("巨大ウナギ", 33, 16)
-- Non diggable walls
des.non_diggable(selection.area(00,00,75,19))
-- Random traps
Expand Down
6 changes: 3 additions & 3 deletions dat/Bar-fila.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ des.trap()
des.trap()
des.trap()
--
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ class = "O", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
20 changes: 10 additions & 10 deletions dat/Bar-filb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ des.trap()
des.trap()
des.trap()
--
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ class = "O", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ class = "T", peaceful=0 })
52 changes: 26 additions & 26 deletions dat/Bar-goal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ des.stair("up", 36,05)
des.altar({ x=63,y=04,align="noncoaligned", type="altar" })
des.non_diggable(selection.area(00,00,75,19))
-- Objects
des.object({ id = "luckstone", x=63, y=04,buc="blessed",spe=0,name="The Heart of Ahriman" })
des.object({ id = "幸せの石", x=63, y=04,buc="blessed",spe=0,name="アーリマンの心臓" })
des.object()
des.object()
des.object()
Expand All @@ -63,33 +63,33 @@ des.trap()
des.trap()
des.trap()
-- Random monsters.
des.monster({ id = "Thoth Amon", x=63, y=04, peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "トート・アモン", x=63, y=04, peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ class = "O", peaceful=0 })
des.monster({ class = "O", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ class = "T", peaceful=0 })
des.wallify()

48 changes: 24 additions & 24 deletions dat/Bar-loca.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,31 +77,31 @@ des.trap()
des.trap()
des.trap()
-- Random monsters.
des.monster({ id = "ogre", x=12, y=09, peaceful=0 })
des.monster({ id = "ogre", x=18, y=11, peaceful=0 })
des.monster({ id = "ogre", x=45, y=05, peaceful=0 })
des.monster({ id = "ogre", x=45, y=06, peaceful=0 })
des.monster({ id = "ogre", x=47, y=05, peaceful=0 })
des.monster({ id = "ogre", x=46, y=05, peaceful=0 })
des.monster({ id = "ogre", x=56, y=03, peaceful=0 })
des.monster({ id = "ogre", x=56, y=04, peaceful=0 })
des.monster({ id = "ogre", x=56, y=05, peaceful=0 })
des.monster({ id = "ogre", x=56, y=06, peaceful=0 })
des.monster({ id = "ogre", x=57, y=03, peaceful=0 })
des.monster({ id = "ogre", x=57, y=04, peaceful=0 })
des.monster({ id = "ogre", x=57, y=05, peaceful=0 })
des.monster({ id = "ogre", x=57, y=06, peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "ogre", peaceful=0 })
des.monster({ id = "オーガ", x=12, y=09, peaceful=0 })
des.monster({ id = "オーガ", x=18, y=11, peaceful=0 })
des.monster({ id = "オーガ", x=45, y=05, peaceful=0 })
des.monster({ id = "オーガ", x=45, y=06, peaceful=0 })
des.monster({ id = "オーガ", x=47, y=05, peaceful=0 })
des.monster({ id = "オーガ", x=46, y=05, peaceful=0 })
des.monster({ id = "オーガ", x=56, y=03, peaceful=0 })
des.monster({ id = "オーガ", x=56, y=04, peaceful=0 })
des.monster({ id = "オーガ", x=56, y=05, peaceful=0 })
des.monster({ id = "オーガ", x=56, y=06, peaceful=0 })
des.monster({ id = "オーガ", x=57, y=03, peaceful=0 })
des.monster({ id = "オーガ", x=57, y=04, peaceful=0 })
des.monster({ id = "オーガ", x=57, y=05, peaceful=0 })
des.monster({ id = "オーガ", x=57, y=06, peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ id = "オーガ", peaceful=0 })
des.monster({ class = "O", peaceful=0 })
des.monster({ class = "T", peaceful=0 })
des.monster({ id = "rock troll", x=46, y=06, peaceful=0 })
des.monster({ id = "rock troll", x=47, y=06, peaceful=0 })
des.monster({ id = "rock troll", x=56, y=07, peaceful=0 })
des.monster({ id = "rock troll", x=57, y=07, peaceful=0 })
des.monster({ id = "rock troll", x=70, y=13, peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "rock troll", peaceful=0 })
des.monster({ id = "岩のトロル", x=46, y=06, peaceful=0 })
des.monster({ id = "岩のトロル", x=47, y=06, peaceful=0 })
des.monster({ id = "岩のトロル", x=56, y=07, peaceful=0 })
des.monster({ id = "岩のトロル", x=57, y=07, peaceful=0 })
des.monster({ id = "岩のトロル", x=70, y=13, peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ id = "岩のトロル", peaceful=0 })
des.monster({ class = "T", peaceful=0 })

32 changes: 16 additions & 16 deletions dat/Bar-strt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,31 +69,31 @@ des.door("open",23,13)
des.door("open",25,10)
des.door("open",28,05)
-- Elder
des.monster({ id = "Pelias", coord = {10, 07}, inventory = function()
des.object({ id = "runesword", spe = 5 });
des.object({ id = "chain mail", spe = 5 });
des.monster({ id = "ペリアス", coord = {10, 07}, inventory = function()
des.object({ id = "ルーンの剣", spe = 5 });
des.object({ id = "鎖かたびら", spe = 5 });
end })
-- The treasure of Pelias
des.object("chest", 09, 05)
des.object("宝箱", 09, 05)
-- chieftain guards for the audience chamber
des.monster("chieftain", 10, 05)
des.monster("chieftain", 10, 09)
des.monster("chieftain", 11, 05)
des.monster("chieftain", 11, 09)
des.monster("chieftain", 14, 05)
des.monster("chieftain", 14, 09)
des.monster("chieftain", 16, 05)
des.monster("chieftain", 16, 09)
des.monster("首領", 10, 05)
des.monster("首領", 10, 09)
des.monster("首領", 11, 05)
des.monster("首領", 11, 09)
des.monster("首領", 14, 05)
des.monster("首領", 14, 09)
des.monster("首領", 16, 05)
des.monster("首領", 16, 09)
-- Non diggable walls
des.non_diggable(selection.area(00,00,75,19))
-- One trap to keep the ogres at bay.
des.trap("spiked pit",37,07)
-- Eels in the river
des.monster("giant eel", 36, 01)
des.monster("giant eel", 37, 09)
des.monster("giant eel", 39, 15)
des.monster("巨大ウナギ", 36, 01)
des.monster("巨大ウナギ", 37, 09)
des.monster("巨大ウナギ", 39, 15)
-- Monsters on siege duty.
local ogrelocs = selection.floodfill(37,7) & selection.area(40,03, 45,20)
for i = 0, 11 do
des.monster({ id = "ogre", coord = ogrelocs:rndcoord(1), peaceful = 0 })
des.monster({ id = "オーガ", coord = ogrelocs:rndcoord(1), peaceful = 0 })
end
12 changes: 6 additions & 6 deletions dat/Cav-fila.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ des.trap()
des.trap()
des.trap()
--
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ class = "h", peaceful=0 })
des.monster({ id = "hill giant", peaceful=0 })
des.monster({ id = "丘の巨人", peaceful=0 })
12 changes: 6 additions & 6 deletions dat/Cav-filb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ des.trap()
des.trap()
des.trap()
--
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "bugbear", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ id = "バグベアー", peaceful=0 })
des.monster({ class = "h", peaceful=0 })
des.monster({ class = "h", peaceful=0 })
des.monster({ id = "hill giant", peaceful=0 })
des.monster({ id = "hill giant", peaceful=0 })
des.monster({ id = "丘の巨人", peaceful=0 })
des.monster({ id = "丘の巨人", peaceful=0 })
10 changes: 5 additions & 5 deletions dat/Cav-goal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ des.stair("up")
-- Non diggable walls
des.non_diggable(selection.area(00,00,75,19))
-- Objects
des.object({ id = "mace", x=23, y=10, buc="blessed", spe=0, name="The Sceptre of Might" })
des.object({ id = "メイス", x=23, y=10, buc="blessed", spe=0, name="権力の笏" })
des.object()
des.object()
des.object()
Expand All @@ -52,8 +52,8 @@ des.object()
des.object()
des.object()
-- monsters.
des.monster({ id = "Chromatic Dragon", x=23, y=10, asleep=1 })
des.monster("shrieker", 26, 13)
des.monster("shrieker", 25, 8)
des.monster("shrieker", 45, 11)
des.monster({ id = "クロマティック・ドラゴン", x=23, y=10, asleep=1 })
des.monster("シュリーカー", 26, 13)
des.monster("シュリーカー", 25, 8)
des.monster("シュリーカー", 45, 11)
des.wallify()
Loading

0 comments on commit 671e4b8

Please sign in to comment.