Mike Ramthun 3 недель назад
Родитель
Сommit
fc144a2860
1 измененных файлов с 44 добавлено и 3 удалено
  1. 44 3
      rune/init.lua

+ 44 - 3
rune/init.lua

@@ -1,8 +1,49 @@
-rune.trigger.contains("You are no longer feeling lucky.", "buff self")
+
+
+rune.bind("shift+up", function() rune.send("n") end)
+rune.bind("shift+down", function() rune.send("s") end)
+rune.bind("shift+left", function() rune.send("w") end)
+rune.bind("shift+right", function() rune.send("e") end)
+
+rune.bind("f1", function() rune.send("cast heal") end)
+
+rune.trigger.contains("You feel less armored.", "buff self")
 rune.trigger.contains("Dirt and rock tumble over the cluster.", "clear dirt")
 rune.trigger.contains("The cluster breaks apart.", "mine cluster")
 rune.trigger.contains("You stop swinging a felling axe as you finish creating a deep 45-degree angle wedge in the tree trunk", "push tree")
 rune.trigger.contains("A pickaxe's handle cracks in half.", "repair pickaxe;mine cluster")
-rune.trigger.contains("The flames change from white to yellow.", "stoke fire")
-rune.trigger.contains("The fire in a smelting furnace begins to dwindle and will soon go out.", "light furn")
 rune.trigger.contains("A thick layer of dross has accumulated on the surface of a smelting crucible.", "skim dross")
+rune.trigger.contains("You finish collecting your crafting materials", "forage cr")
+
+rune.trigger.contains("The flames change from white to yellow.", "stoke fire")
+rune.trigger.contains("Weak red flames glow beneath a smelting crucible.", "stoke fire")
+rune.trigger.contains("You stoke the flames and they change from red to orange.", "stoke fire")
+rune.trigger.contains("You stoke the flames and they nearly go out.", "stoke fire")
+rune.trigger.contains("You stoke the flames and they change from orange to yellow.", "stoke fire")
+rune.trigger.contains("You stoke the flames and they change from yellow to orange.", "stoke fire")
+rune.trigger.contains("You stoke the flames and they change from orange to red.", "stoke fire")
+
+rune.trigger.exact("You arrange the wood and coal and prepare to heat the metal.", "heat metal")
+rune.trigger.contains("The metals are fully heated and pliable, and ready to be hammered into shape.", "hammer metal")
+rune.trigger.contains("You prepare to pour the metal into the mold.", "pour metal")
+rune.trigger.contains("You prepare to carve the wooden handle.", "carve handle")
+
+rune.trigger.contains("You lost your concentration while trying to cast 'holy symbol'", "cast holy")
+rune.trigger.contains("You lost your concentration while trying to cast 'armor'", "cast armor")
+rune.trigger.contains("You lost your concentration while trying to cast 'shield'", "cast shield")
+rune.trigger.contains("You lost your concentration while trying to cast 'mana reflection'", "cast mana")
+rune.trigger.contains("You lost your concentration while trying to cast 'haste'", "cast haste")
+
+rune.trigger.contains("You pick a log up off the ground.", "chop tree")
+rune.trigger.contains("You swing too hard and a felling axe breaks!", "get felling toolkit; repair felling; put felling toolkit; chop tree")
+rune.trigger.contains("You split a log into", "split log")
+rune.trigger.contains("changing from hide to leather!", "get all caul")
+
+rune.trigger.contains("You lost your concentration while trying to cast 'feeble mind'.", "!")
+
+rune.trigger.contains("The fire in a lapidary furnace has gone out, leaving behind", "get all furn")
+rune.trigger.contains("The ores melt into", "get all cruc")
+rune.trigger.contains("The fire in a smelting furnace has gone out, leaving behind", "get all furn")
+rune.trigger.exact("You prepare to carve the wood.", "carve wood")
+rune.trigger.exact("You prepare to cut the leather into shape.", "cut leather")
+rune.trigger.exact("You prepare to hammer the leather onto the item.", "hammer leather")