-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextTreeStorage.cs
More file actions
41 lines (39 loc) · 1.11 KB
/
TextTreeStorage.cs
File metadata and controls
41 lines (39 loc) · 1.11 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
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TextTreeStorage : MonoBehaviour
{
public string TextChoiceArray(int index)
{
int caseSwitch = index;
string rv = "";
switch (caseSwitch)
{
case 1:
rv = "Description Pending";
break;
case 2:
rv = "Description Pending";
break;
case 3:
rv = "Description Pending";
break;
case 4:
rv = "Description Pending";
break;
case 5:
rv = "A bolt-action rifle with some mysterious cloth on the barrel.";
break;
case 6:
rv = "An old fashioned revolver found in a ditch somewhere. 'Made by Walmart'";
break;
case 7:
rv = "Description Pending";
break;
default:
rv = "UNARMED";
break;
}
return rv;
}
}