Sign in
mod

Tools

by Potluck · version 1 · Checked for all ages

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.

1name = "Tools"
2by = "Potluck"
3kind = "mod"
4about = "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."
5main = "main.luau"
6version = 1
7license = "CC-BY-4.0"
8
9[needs]
10world = "0.29"
11tweak = "0.1"
12ui = "0.2"
13sound = "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]
19name = "Anvil"
20kind = "hard"
21hardness = 3
22turns = true
23boxes = [
24 [1, 0, 3, 15, 3, 13],
25 [4, 3, 5, 12, 9, 11],
26 [0, 9, 3, 16, 14, 13],
27]
28colors = { a = "#1d1f24", b = "#2c2f35", c = "#3d4148", d = "#50555d", e = "#666c74", f = "#868c93", g = "#a6abb1" }
29top = """
30................
31................
32................
33gfffffffffffffff
34feeeeeeeeeeeeeed
35feededeeeeedeeed
36feeeeeeeeeeeeeed
37feeeeedeeeeeeeed
38feeeeeeeeeeeeeed
39feeeeeeeeeedeeed
40feedeeeeeeeeeeed
41feeeeeeeeeeeeeed
42dddddddddddddddc
43................
44................
45................
46"""
47side = """
48................
49................
50gfffffffffffffff
51feeeeeeeeeeeeeed
52deeedeeeeeeedeec
53cddddddddddddddc
54abbbbbbbbbbbbbba
55....acddddca....
56....acdddcca....
57....acddddca....
58....acdcddca....
59....acddddca....
60....abbbbbba....
61.dddddddddddddd.
62.ccdccccccccdcc.
63.aaaaaaaaaaaaaa.
64"""
65bottom = """
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]
86caption = "Hammering on an anvil"
87wave = "triangle"
88pitch = [1980, 1940]
89length = 0.7
90attack = 0.002
91decay = 0.16
92
93[[sounds.clink.layers]]
94wave = "sine"
95pitch = [3120, 3080]
96length = 0.5
97attack = 0.002
98decay = 0.1
99gain = 0.5
100
101[[sounds.clink.layers]]
102wave = "noise"
103pitch = 5000
104length = 0.04
105attack = 0.001
106decay = 0.012
107highpass = 1500
108gain = 0.6