]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Better instagib netnames.
authorLyberta <lyberta@lyberta.net>
Sat, 7 Oct 2017 13:44:22 +0000 (16:44 +0300)
committerLyberta <lyberta@lyberta.net>
Sat, 7 Oct 2017 13:44:22 +0000 (16:44 +0300)
qcsrc/common/mutators/mutator/instagib/items.qh
qcsrc/common/mutators/mutator/instagib/sv_instagib.qc

index 91671efcb2527a65b6055dcfcd232fc2a4526c73..a8f4c6db7b7a6e0b2c23e99a95f0c9ac4c09c352 100644 (file)
@@ -49,7 +49,7 @@ REGISTER_ITEM(ExtraLife, Powerup) {
     this.m_model                =   MDL_ExtraLife_ITEM;
     this.m_sound                =   SND_ExtraLife;
 #endif
-    this.netname                =   "health_mega";
+    this.netname                =   "extralife";
     this.m_name                 =   "Extra life";
     this.m_icon                 =   "item_mega_health";
     this.m_color                =   '1 0 0';
@@ -68,7 +68,7 @@ REGISTER_ITEM(Invisibility, Powerup) {
     this.m_model            =   MDL_Invisibility_ITEM;
     this.m_sound            =   SND_Invisibility;
 #endif
-    this.netname            =   "strength";
+    this.netname            =   "invisibility";
     this.m_name             =   "Invisibility";
     this.m_icon             =   "strength";
     this.m_color            =   '0 0 1';
@@ -87,7 +87,7 @@ REGISTER_ITEM(Speed, Powerup) {
     this.m_model            =   MDL_Speed_ITEM;
     this.m_sound            =   SND_Speed;
 #endif
-    this.netname            =   "invincible";
+    this.netname            =   "speed";
     this.m_name             =   "Speed";
     this.m_icon             =   "shield";
     this.m_color            =   '1 0 1';
index c62b04fcbd2b04d1f1da6c0598e68902063446a1..5a4f7d911ffb867d51541ea37784c1e5b627f5e1 100644 (file)
@@ -25,6 +25,11 @@ spawnfunc(item_vaporizer_cells)
        StartItem(this, ITEM_VaporizerCells);
 }
 
+spawnfunc(item_minst_cells)
+{
+       spawnfunc_item_vaporizer_cells(this);
+}
+
 void instagib_invisibility(entity this)
 {
        this.strength_finished = autocvar_g_balance_powerup_strength_time;