Pickaxes, axes, shovels and hoes for survival, in wood, stone, copper, iron and moonsilver. Hold one and its kind of block breaks faster, and better ones reach harder ores. They wear as they work and a worn out one breaks. Shears cut leaves and plants, a sickle reaps crops and a hammer breaks stone three by three. Make wooden, stone and copper tools, shears, sickles and hammers at a workbench, and iron and moonsilver ones at an anvil, which mends them all and makes iron and moonsilver armor too.
| 1 | name = "Tools" |
| 2 | by = "Potluck" |
| 3 | kind = "mod" |
| 4 | about = "Pickaxes, axes, shovels and hoes for survival, in wood, stone, copper, iron and moonsilver. Hold one and its kind of block breaks faster, and better ones reach harder ores. They wear as they work and a worn out one breaks. Shears cut leaves and plants, a sickle reaps crops and a hammer breaks stone three by three. Make wooden, stone and copper tools, shears, sickles and hammers at a workbench, and iron and moonsilver ones at an anvil, which mends them all and makes iron and moonsilver armor too." |
| 5 | main = "main.luau" |
| 6 | version = 1 |
| 7 | license = "CC-BY-4.0" |
| 8 | |
| 9 | [needs] |
| 10 | world = "0.29" |
| 11 | tweak = "0.1" |
| 12 | ui = "0.2" |
| 13 | sound = "0.2" |
| 14 | |
| 15 | # The anvil, made at a workbench from iron: a foot, a waist and a long |
| 16 | # face, in sixteenths of a block. It turns to face the way it's put down, |
| 17 | # drawn facing north (the face runs east to west across the player's view). |
| 18 | [blocks.anvil] |
| 19 | name = "Anvil" |
| 20 | kind = "hard" |
| 21 | hardness = 3 |
| 22 | turns = true |
| 23 | boxes = [ |
| 24 | [1, 0, 3, 15, 3, 13], |
| 25 | [4, 3, 5, 12, 9, 11], |
| 26 | [0, 9, 3, 16, 14, 13], |
| 27 | ] |
| 28 | colors = { a = "#1d1f24", b = "#2c2f35", c = "#3d4148", d = "#50555d", e = "#666c74", f = "#868c93", g = "#a6abb1" } |
| 29 | top = """ |
| 30 | ................ |
| 31 | ................ |
| 32 | ................ |
| 33 | gfffffffffffffff |
| 34 | feeeeeeeeeeeeeed |
| 35 | feededeeeeedeeed |
| 36 | feeeeeeeeeeeeeed |
| 37 | feeeeedeeeeeeeed |
| 38 | feeeeeeeeeeeeeed |
| 39 | feeeeeeeeeedeeed |
| 40 | feedeeeeeeeeeeed |
| 41 | feeeeeeeeeeeeeed |
| 42 | dddddddddddddddc |
| 43 | ................ |
| 44 | ................ |
| 45 | ................ |
| 46 | """ |
| 47 | side = """ |
| 48 | ................ |
| 49 | ................ |
| 50 | gfffffffffffffff |
| 51 | feeeeeeeeeeeeeed |
| 52 | deeedeeeeeeedeec |
| 53 | cddddddddddddddc |
| 54 | abbbbbbbbbbbbbba |
| 55 | ....acddddca.... |
| 56 | ....acdddcca.... |
| 57 | ....acddddca.... |
| 58 | ....acdcddca.... |
| 59 | ....acddddca.... |
| 60 | ....abbbbbba.... |
| 61 | .dddddddddddddd. |
| 62 | .ccdccccccccdcc. |
| 63 | .aaaaaaaaaaaaaa. |
| 64 | """ |
| 65 | bottom = """ |
| 66 | ................ |
| 67 | ................ |
| 68 | ................ |
| 69 | .bbbbbbbbbbbbbb. |
| 70 | .bccccccccccccb. |
| 71 | .bccccccccccccb. |
| 72 | .bccccccccccccb. |
| 73 | .bccccccccccccb. |
| 74 | .bccccccccccccb. |
| 75 | .bccccccccccccb. |
| 76 | .bccccccccccccb. |
| 77 | .bccccccccccccb. |
| 78 | .bbbbbbbbbbbbbb. |
| 79 | ................ |
| 80 | ................ |
| 81 | ................ |
| 82 | """ |
| 83 | |
| 84 | # A hammer on the anvil: a bright ring over a short knock. |
| 85 | [sounds.clink] |
| 86 | caption = "Hammering on an anvil" |
| 87 | wave = "triangle" |
| 88 | pitch = [1980, 1940] |
| 89 | length = 0.7 |
| 90 | attack = 0.002 |
| 91 | decay = 0.16 |
| 92 | |
| 93 | [[sounds.clink.layers]] |
| 94 | wave = "sine" |
| 95 | pitch = [3120, 3080] |
| 96 | length = 0.5 |
| 97 | attack = 0.002 |
| 98 | decay = 0.1 |
| 99 | gain = 0.5 |
| 100 | |
| 101 | [[sounds.clink.layers]] |
| 102 | wave = "noise" |
| 103 | pitch = 5000 |
| 104 | length = 0.04 |
| 105 | attack = 0.001 |
| 106 | decay = 0.012 |
| 107 | highpass = 1500 |
| 108 | gain = 0.6 |