Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
ui_pinata.qc
Go to the documentation of this file.
1#include "ui_pinata.qh"
2
4{
6 me.configureDialog(me);
7 return me;
8}
9
14
16{
17 return _("Players will drop all weapons they possessed when they are fragged.");
18}
20{
21 bool can_enable = (!cvar("g_instagib") && !cvar("g_overkill") && !cvar("g_nix") && !cvar("g_melee_only")
22 && (cvar_string("g_weaponarena") == "0" || cvar_string("g_weaponarena") == "off" || cvar_string("g_weaponarena") == ""));
23 if (is_already_enabled)
24 return can_enable && cvar(me.message);
25 return can_enable;
26}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
virtual void canEnable()
Definition ui_pinata.qc:19
float cvar(string name)
const string cvar_string(string name)
entity Mutators_main_checkbox(entity me)
Definition mutatortab.qc:25
#define NEW(cname,...)
Definition oo.qh:120
#define METHOD(cname, name, prototype)
Definition oo.qh:274
void XonoticMutatorPinataTab_fill(entity me)
Definition ui_pinata.qc:10
entity makeXonoticMutatorPinataTab()
Definition ui_pinata.qc:3