134b805e9f56a881ef43cd3b8145a04002f84358
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / fusionreactor.qh
1 #pragma once
2
3 CLASS(FusionReactor, Turret)
4 /* spawnflags */ ATTRIB(FusionReactor, spawnflags, int, TUR_FLAG_SUPPORT | TUR_FLAG_AMMOSOURCE);
5 /* mins       */ ATTRIB(FusionReactor, mins, vector, '-34 -34 0');
6 /* maxs       */ ATTRIB(FusionReactor, maxs, vector, '34 34 90');
7 /* modelname  */ ATTRIB(FusionReactor, mdl, string, "base.md3");
8 /* model      */ ATTRIB_STRZONE(FusionReactor, model, string, strcat("models/turrets/", this.mdl));
9 /* head_model */ ATTRIB_STRZONE(FusionReactor, head_model, string, strcat("models/turrets/", "reactor.md3"));
10 /* netname    */ ATTRIB(FusionReactor, netname, string, "fusreac");
11 /* fullname   */ ATTRIB(FusionReactor, turret_name, string, _("Fusion Reactor"));
12 ENDCLASS(FusionReactor)
13 REGISTER_TURRET(FUSIONREACTOR, NEW(FusionReactor));