summaryrefslogtreecommitdiff
path: root/content/encyclopediae/npcs.json
blob: ffc60cf21cac305c81b6320d95799e31887da64a (plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
	"assemblages": {
		"rat": {
			"sprite": "rat",
			"height": 1.0,
			"components": [
				["MonsterAI", {
					"view_distance": 3,
					"move_chance": 0.08,
					"homesickness": 0.1
				}],
				["Health", {"health": 8, "maxhealth": 8}],
				["Fighter", {"damage": 2, "cooldown": 6}],
				["Movable", {"cooldown": 3}],
				["Faction", {"faction": "evil"}],
				["Loot", {"loot": ["list", [
					["list", [{"type": "radishseed"}, 1.0]]
				]]}]
			]
		},
		"goblin": {
			"sprite": "goblin",
			"height": 1.0,
			"components": [
				["MonsterAI", {
					"view_distance": 8,
					"move_chance": 0.02,
					"homesickness": 0.1
				}],
				["Health", {"health": 15, "maxhealth": 15}],
				["Fighter", {"damage": 5, "cooldown": 8}],
				["Movable", {"cooldown": 4}],
				["Faction", {"faction": "evil"}],
				["Loot", {"loot": ["list", [
					["list", [{"type": "sword"}, 0.05]],
					["list", [{"type": "club"}, 0.1]],
					["list", [{"type": "radish"}, 0.25]]
				]]}]
			]
		},
		"troll": {
			"sprite": "troll",
			"height": 1.0,
			"components": [
				["MonsterAI", {
					"view_distance": 8,
					"move_chance": 0.01,
					"homesickness": 0.1
				}],
				["Health", {"health": 75, "maxhealth": 75}],
				["Fighter", {"damage": 15, "cooldown": 10}],
				["Movable", {"cooldown": 5}],
				["Faction", {"faction": "evil"}],
				["Loot", {"loot": ["list", [
					["list", [{"type": "stone"}, 1.0]],
					["list", [{"type": "stone"}, 0.3]],
					["list", [{"type": "pebble"}, 0.5]],
					["list", [{"type": "pebble"}, 0.5]],
					["list", [{"type": "pebble"}, 0.5]]
				]]}]
				
			]
		},
		"rabbit": {
			"sprite": "rabbit",
			"height": 1.0,
			"components": [
				["MonsterAI", {
					"view_distance": 3,
					"move_chance": 0.08,
					"homesickness": 0.1
				}],
				["Movable", {"cooldown": 3}],
				["Faction", {"faction": "neutral"}]
			]
		},
		"dude": {
			"sprite": "human",
			"height": 1.5,
			"flags": ["Occupied"],
			"components": [
				["Interactable", {"typ": "say", "arg": "Hey there, welcome to Asciifarm"}]
			]
		},
		"trader": {
			"sprite": "human",
			"height": 1.5,
			"components": [
				["Interactable", {"typ": "exchange", "arg": ["list", [
					"buy ",
					["list", [
						["list", ["pebble", ["list", ["radish", "radish"]], ["list", ["pebble"]]]],
						["list", ["radishseed", ["list", ["radish"]], ["list", ["radishseed", "radishseed"]]]],
						["list", ["carrotseed", ["list", ["radish"]], ["list", ["carrotseed"]]]],
						["list", ["cottonseed", ["list", ["stone"]], ["list", ["cottonseed"]]]]
					]]
				]]}],
				["MonsterAI", {
					"view_distance": 1,
					"move_chance": 0.01,
					"homesickness": 0.3
				}],
				["Movable", {"cooldown": 3}]
			]
		},
		"toolsmith": {
			"sprite": "human",
			"height": 1.5,
			"name": "toolsmith",
			"components": [
				["Interactable", {"typ": "exchange", "arg": ["list", [
					"buy ",
					["list", [
						["list", ["pickaxe", ["list", ["carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot"]], ["list", ["pickaxe"]]]]
					]]
				]]}],
				["MonsterAI", {
					"view_distance": 1,
					"move_chance": 0.01,
					"homesickness": 0.3
				}],
				["Movable", {"cooldown": 3}]
			]
		}
	}
}