about summary refs log tree commit diff
path: root/datasrc/server.dts
blob: 46a97bfc3f83886d994a3a20d9fd7a78a61f86a3 (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
const array:int sound = sounds.*
const array:int weapon = weapons.*
const array:int gametype = playerstats.*
const array:int powerup = powerups.*

struct weapon {
	int firedelay = firedelay@1
	int meleedamage = meleedamage@1
	int meleereach = meleereach@1
	int ammoregentime = ammoregentime@1
	int maxammo = maxammo@1
	int duration = duration@1
	int movetime = movetime@1
	int velocity = velocity@1
}

struct powerupinf {
	int amount = amount@1
	int respawntime = respawntime@1
	int startspawntime = startspawntime@1
}

struct playerstats {
	int maxhealth = maxhealth@1
	int maxarmor = maxarmor@1
}

struct data_container {
	array:weapon weapons = weapons.*
	array:playerstats playerinfo = playerstats.*
	array:powerupinf powerupinfo = powerups.*
}