From: Lyberta Date: Sat, 7 Oct 2017 13:44:22 +0000 (+0300) Subject: Better instagib netnames. X-Git-Tag: xonotic-v0.8.5~2426^2~41 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3d73ae24928e5b241f0d50d7b6bcc5024148ff15;p=xonotic%2Fxonotic-data.pk3dir.git Better instagib netnames. --- diff --git a/qcsrc/common/mutators/mutator/instagib/items.qh b/qcsrc/common/mutators/mutator/instagib/items.qh index 91671efcb..a8f4c6db7 100644 --- a/qcsrc/common/mutators/mutator/instagib/items.qh +++ b/qcsrc/common/mutators/mutator/instagib/items.qh @@ -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'; diff --git a/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc b/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc index c62b04fcb..5a4f7d911 100644 --- a/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc +++ b/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc @@ -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;