-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathentities.ts
More file actions
113 lines (108 loc) · 3.1 KB
/
Copy pathentities.ts
File metadata and controls
113 lines (108 loc) · 3.1 KB
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
import type { Generate } from "./models/generate";
import { Tree } from "./entities/tree";
import { Sunflower } from "./entities/sunflower";
import { Cedar } from "./entities/cedar";
import { Sakura } from "./entities/sakura";
import { Lavender } from "./entities/lavendar";
import { PinkBallsTree } from "./entities/pink-balls-tree";
import { WeepingWillow } from "./entities/weeping-willow";
import { Maple } from "./entities/maple";
import { Wisteria } from "./entities/wisteria";
import type { Entity } from "./models/entity";
import { LocalEntity } from "./entities/local-entity";
import { Weathered } from "./entities/weathered";
const defaultEntity: Entity = {
name: "Tree",
description: "A generic tree.",
creator: "Nethical",
donate: "https://digipaws.life/donate",
variants: 1,
basePrice: 100,
generate: new Tree(),
isGrowable: true
};
export const entities: Map<string, Entity> = new Map<string, Entity>([
["tree", {
...defaultEntity,
variants: 10,
}],
["sakura", {
...defaultEntity,
name: "Sakura",
description: "A beautiful cherry blossom tree.",
basePrice: 150,
generate: new Sakura(),
variants: 5,
}],
["sunflower", {
...defaultEntity,
name: "Sunflower",
description: "A bright sunflower.",
basePrice: 50,
generate: new Sunflower(),
variants: 10,
}],
["cedar", {
...defaultEntity,
name: "Cedar",
description: "A tall cedar tree.",
basePrice: 60,
generate: new Cedar(),
variants: 10,
}],
["lavender", {
...defaultEntity,
name: "Lavender",
description: "Fragrant lavender plant.",
basePrice: 100,
generate: new Lavender(),
variants: 7,
}],
["pink_balls_tree", {
...defaultEntity,
name: "Pink Balls Tree",
description: "A tree with pink ball-shaped flowers.",
basePrice: 130,
generate: new PinkBallsTree(),
variants: 10,
}],
["maple", {
...defaultEntity,
name: "Maple",
description: "A colorful maple tree.",
basePrice: 150,
generate: new Maple(),
variants: 10,
}],
["wisteria", {
...defaultEntity,
name: "Wisteria",
description: "A cascading wisteria vine.",
basePrice: 150,
generate: new Wisteria(),
variants: 10,
}],
["weeping_willow", {
...defaultEntity,
name: "Weeping Willow",
description: "A graceful weeping willow tree.",
basePrice: 150,
generate: new WeepingWillow(),
variants: 10,
}],
["lit_tree", {
...defaultEntity,
name: "Lit Tree",
description: "A christmas tree with lights.",
basePrice: 200,
generate: new LocalEntity({ videoFilename: "lit_tree" }),
}],
["weathered", {
...defaultEntity,
name: "Weathered Tree",
description: "A tree that has weathered many storms.",
basePrice: 180,
generate: new Weathered(),
isGrowable: false
}]
]);