Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
update CfgWeapons.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlcrashr committed Jun 4, 2018
1 parent b308e4d commit 5e6d065
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 16 deletions.
1 change: 1 addition & 0 deletions @LiveInLifeClient/addons/common/CfgWeapons.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

class lilci_itemInfo : InventoryItem_Base_F {};
class lilci_item : ItemCore {
access = 0;
scope = 2;
author = "Vincent Heins";
displayName = "This is the LiveInLife template for Items.";
Expand Down
2 changes: 0 additions & 2 deletions @LiveInLifeClient/addons/drugs/CfgWeapons.cpp
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@

class lilc?
7 changes: 3 additions & 4 deletions @LiveInLifeClient/addons/drugs/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ class CfgPatches {
#include "CfgPatches.cpp"
};

/*
Drugs:
Concentration:
*/
class CfgWeapons {
#include "CfgWeapons.cpp"
};
18 changes: 9 additions & 9 deletions @LiveInLifeClient/addons/food/CfgWeapons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ class lilci_bountainMew_F : lilci_item {
};
};

class lilci_schiffWasser_F : lilci_item {
displayName = "$STR_lilci_schiffWasser_F";
picture = "\x\lilc\addons\food\icons\plasticBottle.paa";
model = "a3\structures_f\items\food\bottleplastic_v1_f.p3d";
class ItemInfo : lilci_itemInfo {
mass = 12;
};
};

class lilci_bonsterMenergy_F : lilci_item {
displayName = "$STR_lilci_bonsterMenergy_F";
picture = "\x\lilc\addons\food\icons\plasticBottle.paa";
Expand Down Expand Up @@ -181,3 +172,12 @@ class lilci_tacticalBacon_F : lilci_item {
mass = 6;
};
};

class lilc_schiffWasser : lilci_item {
displayName = "$STR_lilc_schiffWasser";
picture = "\x\lilc\addons\food\icons\plasticBottle.paa";
model = "a3\structures_f\items\food\bottleplastic_v1_f.p3d";
class ItemInfo : lilci_itemInfo {
mass = 10;
};
};
12 changes: 12 additions & 0 deletions @LiveInLifeClient/addons/food/XEH_clientPostInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,15 @@
["lilci_tacticalBacon_F", 60, 0] call lilc_food_fnc_consumeItem;
}
] call lilc_inventory_menu_fnc_addItemOption;

[
"lilc_schiffWasser",
"Trinken",
{
true;
},
{
["lilc_schiffWasser", 0, 15] call lilc_food_fnc_consumeItem;
[player, 20] call lilc_drugs_fnc_addAlcohol;
}
] call lilc_inventory_menu_fnc_addItemOption;
2 changes: 1 addition & 1 deletion @LiveInLifeClient/addons/food/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<English>Bountain Mew</English>
<German>Bountain Mew</German>
</Key>
<Key ID="STR_lilci_schiffWasser_F">
<Key ID="STR_lilc_schiffWasser">
<Original>Schiffwasser</Original>
<English>Schiffwasser</English>
<German>Schiffwasser</German>
Expand Down

0 comments on commit 5e6d065

Please sign in to comment.