Skip to content

Commit

Permalink
temporally add jp on tut.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
argrath committed Oct 3, 2023
1 parent e474aa4 commit 89acbe2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions dat/tut-1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,20 @@ des.door({ coord = { 18,13 }, state = "closed" });

des.engraving({ coord = { 19,13 }, type = "engrave", text = "Pick up items with '" .. nh.eckey("pickup") .. "'", degrade = false });

local armor = (u.role == "Monk") and "leather gloves" or "leather armor";
local armor = (u.role == "Monk") and "革の手袋" or "革鎧";

des.object({ id = armor, spe = 0, buc = "cursed", coord = { 19,14} });

des.engraving({ coord = { 19,15 }, type = "engrave", text = "Wear armor with '" .. nh.eckey("wear") .. "'", degrade = false });

des.object({ id = "dagger", spe = 0, buc = "not-cursed", coord = { 21,15} });
des.object({ id = "短剣", spe = 0, buc = "not-cursed", coord = { 21,15} });

des.engraving({ coord = { 21,14 }, type = "engrave", text = "Wield weapons with '" .. nh.eckey("wield") .. "'", degrade = false });


des.engraving({ coord = { 22,13 }, type = "engrave", text = "Hit monsters by walking into them.", degrade = false });

des.monster({ id = "lichen", coord = { 23,15 }, waiting = true, countbirth = false });
des.monster({ id = "苔の怪物", coord = { 23,15 }, waiting = true, countbirth = false });

--

Expand All @@ -125,15 +125,15 @@ des.trap({ type = "magic portal", coord = { 27,16 }, seen = true });
--

des.engraving({ coord = { 25,13 }, type = "engrave", text = "Push boulders by moving into them", degrade = false });
des.object({ id = "boulder", coord = {25,12} });
des.object({ id = "", coord = {25,12} });

--

des.engraving({ coord = { 27,9 }, type = "engrave", text = "Take off armor with '" .. nh.eckey("takeoff") .. "'", degrade = false });

--

des.object({ class = "?", id = "remove curse", buc = "blessed", coord = {23,11} })
des.object({ class = "?", id = "解呪の巻物", buc = "blessed", coord = {23,11} })
des.engraving({ coord = { 22,11 }, type = "engrave", text = "Some items have shuffled descriptions, different each game", degrade = false });
des.engraving({ coord = { 23,11 }, type = "engrave", text = "Pick up this scroll, read it with '" .. nh.eckey("read") .. "', and try to remove the armor again", degrade = false });

Expand All @@ -145,12 +145,12 @@ des.trap({ type = "magic portal", coord = { 19,11 }, seen = true });
--

-- rock fall
des.object({ coord = {14, 5}, id = "rock", quantity = math.random(50,99) });
des.object({ coord = {15, 5}, id = "rock", quantity = math.random(10,30) });
des.object({ coord = {14, 4}, id = "rock", quantity = math.random(10,30) });
des.object({ coord = {15, 6}, id = "rock", quantity = math.random(30,60) });
des.object({ coord = {14, 6}, id = "rock", quantity = math.random(30,60) });
des.object({ coord = {14, 6}, id = "boulder" });
des.object({ coord = {14, 5}, id = "", quantity = math.random(50,99) });
des.object({ coord = {15, 5}, id = "", quantity = math.random(10,30) });
des.object({ coord = {14, 4}, id = "", quantity = math.random(10,30) });
des.object({ coord = {15, 6}, id = "", quantity = math.random(30,60) });
des.object({ coord = {14, 6}, id = "", quantity = math.random(30,60) });
des.object({ coord = {14, 6}, id = "" });

des.door({ coord = { 20,3 }, state = percent(50) and "open" or "closed" });

Expand All @@ -160,19 +160,19 @@ des.engraving({ coord = { 22,4 }, type = "engrave", text = "You can drop partial

--

des.monster({ id = "yellow mold", coord = { 26,2 }, waiting = true, countbirth = false });
des.monster({ id = "黄色モールド", coord = { 26,2 }, waiting = true, countbirth = false });

des.engraving({ coord = { 25,5 }, type = "engrave", text = "Throw items with '" .. nh.eckey("throw") .. "'", degrade = false });

des.trap({ type = "magic portal", coord = { 21,1 }, seen = true });

--

des.monster({ id = "wolf", coord = { 29,2 }, peaceful = 0, waiting = true, countbirth = false });
des.monster({ id = "", coord = { 29,2 }, peaceful = 0, waiting = true, countbirth = false });

des.engraving({ coord = { 37,4 }, type = "engrave", text = "Missiles, such as rocks, work better when fired from appropriate launcher", degrade = false });

des.object({ coord = { 37,3 }, id = "sling", buc = "not-cursed", spe = 9 });
des.object({ coord = { 37,3 }, id = "スリング", buc = "not-cursed", spe = 9 });
des.engraving({ coord = { 37,3 }, type = "engrave", text = "Wield the sling", degrade = false });
des.engraving({ coord = { 36,1 }, type = "engrave", text = "Use '" .. nh.eckey("fire") .. "' to fire missiles with the wielded launcher", degrade = false });

Expand All @@ -187,9 +187,9 @@ des.door({ coord = { 38,6 }, state = "closed" });

des.engraving({ coord = { 39,6 }, type = "engrave", text = "You loot containers with '" .. nh.eckey("loot") .. "'", degrade = false });

des.object({ coord = { 42,6 }, id = "large box", broken = true,
des.object({ coord = { 42,6 }, id = "大箱", broken = true,
contents = function(obj)
des.object({ id = "secret door detection", class = "/", spe = 30 }); end
des.object({ id = "扉探索の杖", class = "/", spe = 30 }); end
});

des.engraving({ coord = { 45,6 }, type = "engrave", text = "Magic wands are used with '" .. nh.eckey("zap") .. "'", degrade = false });
Expand Down Expand Up @@ -265,5 +265,5 @@ des.trap({ type = "magic portal", coord = { 66,2 }, seen = true });
-- temporary stuff here
-- des.trap({ type = "magic portal", coord = { 9,5 }, seen = true });
-- des.trap({ type = "magic portal", coord = { 9,1 }, seen = true });
-- des.object({ id = "leather armor", spe = 0, coord = { 9,2} });
-- des.object({ id = "革の鎧", spe = 0, coord = { 9,2} });

0 comments on commit 89acbe2

Please sign in to comment.