Browse Source

change ammo item to nanobot charge;

thefloff 4 years ago
parent
commit
530760d479

+ 1 - 1
addons - Copy/RD501_Main/functions/fortify_tool/fortify_tool.sqf

@@ -1,7 +1,7 @@
 #include "../../config_macros.hpp"
 #include "\z\acex\addons\main\script_macros.hpp"
 
-#define AMMOITEM "MCC_bacon"
+#define AMMOITEM "RD501_fortify_nanobots"
 
 macro_grp_fnc_name(fortify,handleObjectPlaced) = {
 	params ["_player", "_side", "_objectPlaced"];

+ 12 - 0
addons - Copy/RD501_Weapons/Consumables/config.cpp

@@ -1,3 +1,5 @@
+#include "../../RD501_main/config_macros.hpp"
+
 class cfgPatches
 {
     class RD501_ACE_Medical
@@ -24,6 +26,16 @@ class CfgWeapons
 			mass = 0.1;
 		};
 	};  
+    
+    class MCC_bacon;
+    class macro_new_weapon(fortify,nanobots): MCC_bacon
+    {
+        displayName = "RD501 Nanobot Charge";
+        descriptionShort = "No, you can't eat that!";
+        //picture = "RD501_Weapons\Consumables\data\nanobot_charge_ico.paa";
+        author = "RD501";
+        mass = 1;
+    };
 };
 class ACE_Medical_Treatment
 {

BIN
addons - Copy/RD501_Weapons/Consumables/data/nanobot_charge_ico.paa