File size: 1,352 Bytes
0712d5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
-- src/ReplicatedStorage/Shared/CraftingConfig.lua

local CraftingConfig = {
	-- Punch (fist) stats
	Fist = {
		Damage = 5,
		SwingCooldown = 1.2,
		Range = 5,
	},

	-- Resources dropped per chop hit
	WoodDropChance = 0.6,  -- 60% chance to drop resource per hit
	WoodDropAmount = {1, 3}, -- random amount per drop

	-- Crafting recipes
	Recipes = {
		BasicAxe = {
			Name = "Basic Axe",
			Materials = {
				Wood = 10,
			},
			CraftTime = 2,
		},
		SteelAxe = {
			Name = "Steel Axe",
			Materials = {
				Wood = 30,
				Stone = 5,
			},
			CraftTime = 4,
		},
		GoldAxe = {
			Name = "Gold Axe",
			Materials = {
				Wood = 50,
				Stone = 15,
				GoldOre = 10,
			},
			CraftTime = 6,
		},
		DiamondAxe = {
			Name = "Diamond Axe",
			Materials = {
				Wood = 80,
				Stone = 30,
				GoldOre = 20,
				Diamond = 5,
			},
			CraftTime = 10,
		},
	},

	-- Resource types and how they are gathered
	Resources = {
		Wood = {
			Source = "TreeSegment",
			Color = Color3.fromRGB(160, 120, 80),
		},
		Stone = {
			Source = "Rock",
			Color = Color3.fromRGB(140, 140, 140),
		},
		GoldOre = {
			Source = "GoldVein",
			Color = Color3.fromRGB(255, 200, 50),
		},
		Diamond = {
			Source = "DiamondVein",
			Color = Color3.fromRGB(100, 200, 255),
		},
	},
}

return CraftingConfig