X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem%2Fhealth.qh;h=a7dd3c370fd513a76a4432304808144730ee07fa;hb=refs%2Fmerge-requests%2F636%2Fhead;hp=bf515fe4dd7f7c167d31c7f85b6eb3bc9e409fb3;hpb=69eda62d02bc02ff50547bad514af3f7ce487413;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/item/health.qh b/qcsrc/common/items/item/health.qh index bf515fe4d..a7dd3c370 100644 --- a/qcsrc/common/items/item/health.qh +++ b/qcsrc/common/items/item/health.qh @@ -27,7 +27,7 @@ void item_healthsmall_init(Pickup this, entity item) if(!item.max_health) item.max_health = g_pickup_healthsmall_max; if(!GetResourceAmount(item, RESOURCE_HEALTH)) - SetResourceAmountExplicit(item, RESOURCE_HEALTH, g_pickup_healthsmall); + SetResourceAmount(item, RESOURCE_HEALTH, g_pickup_healthsmall); } #endif @@ -39,7 +39,7 @@ REGISTER_ITEM(HealthSmall, Health) { this.m_sound = SND_HealthSmall; #endif this.netname = "health_small"; - this.m_name = "5 Health"; + this.m_name = _("Small health"); this.m_icon = "health"; #ifdef SVQC this.m_itemid = IT_5HP; @@ -65,7 +65,7 @@ void item_healthmedium_init(Pickup this, entity item) if(!item.max_health) item.max_health = g_pickup_healthmedium_max; if(!GetResourceAmount(item, RESOURCE_HEALTH)) - SetResourceAmountExplicit(item, RESOURCE_HEALTH, g_pickup_healthmedium); + SetResourceAmount(item, RESOURCE_HEALTH, g_pickup_healthmedium); } #endif @@ -77,7 +77,7 @@ REGISTER_ITEM(HealthMedium, Health) { this.m_sound = SND_HealthMedium; #endif this.netname = "health_medium"; - this.m_name = "25 Health"; + this.m_name = _("Medium health"); this.m_icon = "health"; #ifdef SVQC this.m_itemid = IT_25HP; @@ -103,7 +103,7 @@ void item_healthbig_init(Pickup this, entity item) if(!item.max_health) item.max_health = g_pickup_healthbig_max; if(!GetResourceAmount(item, RESOURCE_HEALTH)) - SetResourceAmountExplicit(item, RESOURCE_HEALTH, g_pickup_healthbig); + SetResourceAmount(item, RESOURCE_HEALTH, g_pickup_healthbig); } #endif @@ -115,7 +115,7 @@ REGISTER_ITEM(HealthBig, Health) { this.m_sound = SND_HealthBig; #endif this.netname = "health_big"; - this.m_name = "50 Health"; + this.m_name = _("Big health"); this.m_icon = "health"; this.m_color = '1 0 0'; this.m_waypoint = _("Big health"); @@ -143,7 +143,7 @@ void item_healthmega_init(Pickup this, entity item) if(!item.max_health) item.max_health = g_pickup_healthmega_max; if(!GetResourceAmount(item, RESOURCE_HEALTH)) - SetResourceAmountExplicit(item, RESOURCE_HEALTH, g_pickup_healthmega); + SetResourceAmount(item, RESOURCE_HEALTH, g_pickup_healthmega); } #endif @@ -155,7 +155,7 @@ REGISTER_ITEM(HealthMega, Health) { this.m_sound = SND_HealthMega; #endif this.netname = "health_mega"; - this.m_name = "100 Health"; + this.m_name = _("Mega health"); this.m_icon = "item_mega_health"; this.m_color = '1 0 0'; this.m_waypoint = _("Mega health");