mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
24 lines
550 B
Plaintext
24 lines
550 B
Plaintext
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 playerstats {
|
|
int maxhealth = maxhealth@1
|
|
int maxarmor = maxarmor@1
|
|
}
|
|
|
|
struct data_container {
|
|
array:weapon weapons = weapons.*
|
|
array:playerstats playerinfo = playerstats.*
|
|
}
|
|
|
|
const array:int sound = sounds.*
|
|
const array:int weapon = weapons.*
|
|
const array:int gametype = playerstats.* |