X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fbase.qh;h=57777e4b9a9379d79a9d6deaef692caaf69e55df;hb=aa567df8fe657e09850b52f45dc7a939913ce7cb;hp=ecec3c87c57a65c107afb09d2b02cf457526d744;hpb=684f569c626ee8a81b3269df66d5e36f123f450e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/base.qh b/qcsrc/server/mutators/base.qh index ecec3c87c..57777e4b9 100644 --- a/qcsrc/server/mutators/base.qh +++ b/qcsrc/server/mutators/base.qh @@ -201,3 +201,20 @@ MUTATOR_HOOKABLE(Spawn_Score); MUTATOR_HOOKABLE(SV_StartFrame); // runs globally each server frame + +MUTATOR_HOOKABLE(SetModname); + // OUT + string modname; // name of the mutator/mod if it warrants showing as such in the server browser + +MUTATOR_HOOKABLE(Item_Spawn); + // called for each item being spawned on a map, including dropped weapons + // return 1 to remove an item + // INPUT + entity self; // the item + +MUTATOR_HOOKABLE(SetWeaponreplace); + // IN + entity self; // map entity + entity other; // weapon info + // IN+OUT + string ret_string;