From 8e747066aa04abbb72b3c8ac49f7f311d1802506 Mon Sep 17 00:00:00 2001 From: Magnus Date: Fri, 6 Jan 2006 04:46:20 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1805 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- quakec/fallout2/inventory.qc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/quakec/fallout2/inventory.qc b/quakec/fallout2/inventory.qc index 9f630529f..1b9d58e1f 100644 --- a/quakec/fallout2/inventory.qc +++ b/quakec/fallout2/inventory.qc @@ -861,6 +861,23 @@ string(float iid) GetItemName = return strcat("unknown", ftos(iid)); }; +string(float iid) GetItemDesc = +{ + if (iid == IID_NONE) + return ""; + + + if (iid == IID_WP_TOOLKIT) + return "a wattz(tm) brand toolkit consisting of many handy instruments, including a wrench. this kit is a repairman's dream, and allows those with the proper knowledge to perform technical tasks."; + if (iid == IID_WP_AK74) + return "the ak74 is the predecessor of the legendary ak-47. it is still the same old killing machine, except that it uses the 5.45mm high-velocity round that was common in the latest assault rifles just before the war."; + if (iid == IID_BUILD_MRAMMO) + return "a military prototype, the mr. ammo was designed to allow soldiers an extra source of ammunition in remote areas, as the handy little machine is capable of churning out ammo from things such as rocks, debris, and metal scraps."; + + bprint(PRINT_MEDIUM, ftos(iid), " without a desc!\n"); + return strcat("", ftos(iid)); +}; + string(float iid) GetItemImage = { if (iid == IID_NONE)