-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlayerAttributes.ts
59 lines (55 loc) · 1.35 KB
/
PlayerAttributes.ts
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
import { hitpoint_array } from "./hitpoint"
export class PlayerAttributes {
name: string
prefix: string
title: string
home: string
hit_points: number
constructor(
name: string,
prefix: string,
title: string,
home: string,
hit_points: number
) {
this.name = name
this.prefix = prefix
this.title = title
this.home = home
this.hit_points = hit_points
}
getPrompt() {
let intro = "Our story begins with "
let mid_journey_intro = "double exposure full body portrait of "
let mid_journey_outro =
"dreamy quality landscape, medieval era. Black background. In the style of a realist painting — ar 2:3 --v 4"
return (
intro +
this.name +
", " +
hitpoint_array[this.hit_points] +
" " +
this.title +
" from the land of " +
this.home +
"."
)
}
getMidJourneyPrompt() {
let intro = "Our story begins with "
let mid_journey_intro = "double exposure full body portrait of "
let mid_journey_outro =
"dreamy quality landscape, medieval era. Black background. In the style of a realist painting — ar 2:3 --v 4"
return (
intro +
this.name + ", " + this.prefix +
", " +
hitpoint_array[this.hit_points] +
" " +
this.title +
" from the land of " +
this.home +
"."
)
}
}