Salut je souhaite mettre des conteneurs entrepot dans les hangars d arma voici le classname "Land_i_Shed_Ind_F "
n ayant pas reussi a les placer meme avec Y comme maxence ma demander je met mon fichier config_vitems et fn_use_items
[CODE title="config_vitems"]/*
class VirtualShops {
//Virtual Shops
class market {
name = "STR_Shops_Market";
side = "civ";
conditions = "";
items[] = { "banane", "pomme", "olive", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "arrosoir", "fuelFull", "storagesmall", "storagebig"};
};
class med_market {
name = "STR_Shops_Market";
side = "med";
conditions = "";
items[] = { "pizza", "sandwich", "waterBottle", "redgull", "coca", "cristaline", "fuelFull", "lockpick"};
};
class criminlle_fr {
name = "STR_Shops_Bandit";
side = "civ";
conditions = "license_civ_rebelle";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip" };
};
class russe {
name = "STR_Shops_Bandit";
side = "civ";
conditions = "license_civ_banditisme";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip", "gpstracker" };
};
class solntsevskaya {
name = "STR_Shops_mafia";
side = "civ";
conditions = "license_civ_mafia";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip", "gpstracker" };
};
class mercenaire {
name = "STR_Shops_mercenaire";
side = "civ";
conditions = "license_civ_mercenaire";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip", "gpstracker" };
};
class lsd_market {
name = "STR_Shops_lsd";
side = "civ";
conditions = "license_civ_banditisme";
items[] = { "lsdraf"};
};
class bois_market {
name = "STR_Shops_Bois";
side = "civ";
conditions = "";
items[] = { "planche"};
};
class gang {
name = "STR_Shops_Gang";
side = "civ";
conditions = "";
items[] = { "waterBottle", "rabbit", "banane", "redgull", "tbacon", "lockpick", "pickaxe", "fuelFull", "peach" };
};
class wongs {
name = "STR_Shops_Wongs";
side = "civ";
conditions = "";
items[] = { "turtle_soup", "turtle_raw" };
};
class coffee {
name = "STR_Shops_Coffee";
side = "civ";
conditions = "";
items[] = { "coffee", "donuts" };
};
class cigarette {
name = "STR_Shops_cigarette";
side = "civ";
conditions = "";
items[] = { "cigarette" };
};
class cigarette_contrebande_market {
name = "STR_Shops_cigarette_contrebande";
side = "civ";
conditions = "";
items[] = { "cigarette_de_contrebande" };
};
class Uranium {
name = "STR_Shops_Uranium";
side = "civ";
conditions = "";
items[] = { "Uranium_refined" };
};
class cigare {
name = "STR_Shops_cigare";
side = "civ";
conditions = "";
items[] = { "cigare" };
};
class f_station_coffee {
name = "STR_Shop_Station_Coffee";
side = "";
conditions = "";
items[] = { "coffee", "donuts", "redgull", "fuelFull"};
};
class drugdealer {
name = "STR_Shops_DrugDealer";
side = "civ";
conditions = "";
items[] = { "cocaine_processed", "marijuana", "lsdraf" };
};
class heroin_market {
name = "STR_Shops_hero";
side = "civ";
conditions = "license_civ_rebelle";
items[] = { "heroin_processed"};
};
class marche_noire {
name = "STR_Shops_marche_noire";
side = "civ";
conditions = "";
items[] = { "seed_cocaine","seed_cannabis","arrosoir" };
};
class prefecture {
name = "STR_Shops_prefecture";
side = "civ";
conditions = "";
items[] = { "cni" };
};
class oil {
name = "STR_Shops_Oil";
side = "civ";
conditions = "";
items[] = { "oil_processed", "oil_processed_gazole"};
};
class alu {
name = "STR_Shops_alu";
side = "civ";
conditions = "";
items[] = { "aluminium" };
};
class plastique {
name = "STR_Shops_plastique";
side = "civ";
conditions = "";
items[] = { "plastique" };
};
class acier {
name = "STR_Shops_acier";
side = "civ";
conditions = "";
items[] = { "lingot_acier" };
};
class fishmarket {
name = "STR_Shops_FishMarket";
side = "civ";
conditions = "";
items[] = { "salema_raw", "salema", "ornate_raw", "ornate", "mackerel_raw", "mackerel", "tuna_raw", "tuna", "mullet_raw", "mullet", "catshark_raw", "catshark" };
};
class glass {
name = "STR_Shops_Glass";
side = "civ";
conditions = "";
items[] = { "glass" };
};
class iron {
name = "STR_Shops_Fer";
side = "civ";
conditions = "";
items[] = { "iron_refined" };
};
class copper {
name = "STR_Shops_copper";
side = "civ";
conditions = "";
items[] = { "copper_refined", "copper_cut_ent" };
};
class bijoutier {
name = "STR_Shops_Bijoutier";
side = "civ";
conditions = "";
items[] = { "diamond_cut", "diamond_cut_ent" };
};
class salt {
name = "STR_Shops_Salt";
side = "civ";
conditions = "";
items[] = { "salt_refined" };
};
class cement {
name = "STR_Shops_Cement";
side = "civ";
conditions = "";
items[] = { "cement" };
};
class gold {
name = "STR_Shops_Gold";
side = "civ";
conditions = "";
items[] = { "goldbar" };
};
class cop {
name = "STR_Shops_Cop";
side = "cop";
conditions = "";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "desherbant", "waterBottle", "redgull", "oasis", "coca", "cristaline", "fuelFull", "defusekit", "spikeStrip", "lockpick","Alcootest","Test_drugs"};
};
class millice_test {
name = "STR_Shops_Millice";
side = "";
conditions = "call life_adacLevel >= 1";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "fuelFull", "defusekit", "spikeStrip", "lockpick","gpstracker"};
};
};
/*
class VirtualItems {
//Virtual Items
class gpstracker {
variable = "gpstracker";
displayName = "STR_Item_GpsTracker";
weight = 5;
buyPrice = 10000;
sellPrice = -1;
illegal = true;
edible = -1;
drinkable = -1;
icon = "The-Programmer\Advanced_Insurance\textures\cutting_pliers.paa";
};
class cuttingpliers {
variable = "cuttingpliers";
displayName = "STR_Item_CuttingPliers";
weight = 2;
buyPrice = 100;
sellPrice = -1;
illegal = false;
edible = -1;
drinkable = -1;
icon = "The-Programmer\Advanced_Insurance\textures\trackergps.paa";
};
class Alcootest {
variable = "Alcootest";
displayName = "STR_Item_Alcootest";
weight = 2;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "The-Programmer\EffetsEcran\textures\ico_test_alcohol.paa";
};
class Test_drugs {
variable = "Test_drugs";
displayName = "STR_Item_Test_drugs";
weight = 2;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "The-Programmer\EffetsEcran\textures\ico_test_drugs.paa";
};
class package {
variable = "package";
displayName = "STR_Item_Package";
weight = 1;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
drinkable = -1;
icon = "The-Programmer\JobSystem\textures\ico_package.paa";
};
class arrosoir {
variable = "arrosoir";
displayName = "STR_Item_arrosoir";
weight = 2;
buyPrice = 20;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class desherbant {
variable = "desherbant";
displayName = "STR_Item_desherbant";
weight = 2;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_cocaine {
variable = "seed_cocaine";
displayName = "seed_cocaine";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "";
};
class seed_cannabis {
variable = "seed_cannabis";
displayName = "seed_cannabis";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "";
};
class seed_corn {
variable = "seed_corn";
displayName = "seed_corn";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_artichoke {
variable = "seed_artichoke";
displayName = "seed_artichoke";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_chili_pepper {
variable = "seed_chili_pepper";
displayName = "seed_chili_pepper";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_wheat {
variable = "seed_wheat";
displayName = "seed_wheat";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_strawberry {
variable = "seed_strawberry";
displayName = "seed_strawberry";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_cotton {
variable = "seed_cotton";
displayName = "seed_cotton";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_lettuce {
variable = "seed_lettuce";
displayName = "seed_lettuce";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_tomato {
variable = "seed_tomato";
displayName = "seed_tomato";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_tobacco {
variable = "seed_tobacco";
displayName = "seed_tobacco";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_sunflower {
variable = "seed_sunflower";
displayName = "seed_sunflower";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class corn {
variable = "corn";
displayName = "corn";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class artichoke {
variable = "artichoke";
displayName = "artichoke";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class chili_pepper {
variable = "chili_pepper";
displayName = "chili_pepper";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class wheat {
variable = "wheat";
displayName = "wheat";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class strawberry {
variable = "strawberry";
displayName = "strawberry";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class cotton {
variable = "cotton";
displayName = "cotton";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class lettuce {
variable = "lettuce";
displayName = "lettuce";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class tomato {
variable = "tomato";
displayName = "tomato";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class tobacco {
variable = "tobacco";
displayName = "tobacco";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class sunflower {
variable = "sunflower";
displayName = "sunflower";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
//Misc
class pickaxe {
variable = "pickaxe";
displayName = "STR_Item_Pickaxe";
weight = 2;
buyPrice = 750;
sellPrice = 350;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_pickaxe.paa";
};
class cni {
variable = "cni";
displayName = "STR_Item_cni";
weight = 1;
buyPrice = 20;
sellPrice = 5;
illegal = false;
edible = -1;
icon = "carte.paa";
};
///Fuel
class defibrillator {
variable = "defibrillator";
displayName = "STR_Item_Defibrillator";
weight = 4;
buyPrice = 900;
sellPrice = 450;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_defibrillator.paa";
};
class toolkit {
variable = "toolkit";
displayName = "STR_Item_Toolkit";
weight = 4;
buyPrice = 1000;
sellPrice = 100;
illegal = false;
edible = -1;
icon = "\a3\weapons_f\items\data\UI\gear_toolkit_ca.paa";
};
class fuelEmpty {
variable = "fuelEmpty";
displayName = "STR_Item_FuelE";
weight = 2;
buyPrice = -1;
sellPrice = 10;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_fuelEmpty.paa";
};
class fuelFull {
variable = "fuelFull";
displayName = "STR_Item_FuelF";
weight = 5;
buyPrice = 850;
sellPrice = 500;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_fuel.paa";
};
class spikeStrip {
variable = "spikeStrip";
displayName = "STR_Item_SpikeStrip";
weight = 15;
buyPrice = 2500;
sellPrice = 1200;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_spikeStrip.paa";
};
class uranium_unrefined {
variable = "uranium_unrefined";
displayName = "STR_Item_UraniumOre";
weight = 6;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\uranium.paa";
};
class uranium_semrefined {
variable = "uranium_semrefined";
displayName = "STR_Item_Uraniumsem";
weight = 4;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\uranium.paa";
};
class uranium_refined {
variable = "uranium_refined";
displayName = "STR_Item_Uranium";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\uranium.paa";
};
class lockpick {
variable = "lockpick";
displayName = "STR_Item_Lockpick";
weight = 1;
buyPrice = 1000;
sellPrice = 50;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_lockpick.paa";
};
class plan_arma_test {
variable = "plan_arma_test";
displayName = "STR_Item_Plan_arme";
weight = 1;
buyPrice = 80000;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "ico_plan.paa";
};
class goldbar {
variable = "goldBar";
displayName = "STR_Item_GoldBar";
weight = 12;
buyPrice = -1;
sellPrice = 95000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_goldBar.paa";
};
class blastingcharge {
variable = "blastingCharge";
displayName = "STR_Item_BCharge";
weight = 15;
buyPrice = 70000;
sellPrice = 4000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_blastingCharge.paa";
};
class boltcutter {
variable = "boltCutter";
displayName = "STR_Item_BCutter";
weight = 5;
buyPrice = 7500;
sellPrice = 1000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_boltCutter.paa";
};
class defusekit {
variable = "defuseKit";
displayName = "STR_Item_DefuseKit";
weight = 2;
buyPrice = 2500;
sellPrice = 2000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_defuseKit.paa";
};
class storagesmall {
variable = "storageSmall";
displayName = "STR_Item_StorageBS";
weight = 5;
buyPrice = 350000;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_storageSmall.paa";
};
class etabli {
variable = "etabli";
displayName = "STR_Item_etabli";
weight = 5;
buyPrice = 999999;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_etabli.paa";
};
class storagebig {
variable = "storageBig";
displayName = "STR_Item_StorageBL";
weight = 10;
buyPrice = 500000;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_storageBig.paa";
};
class canon {
variable = "Canon";
displayName = "STR_Item_Canon";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
//icon = "neant.paa";
};
class culasse {
variable = "Culasse";
displayName = "STR_Item_Culasse";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
// icon = "neant.paa";
};
class poigne {
variable = "poigne";
displayName = "STR_Item_Poignée";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
///icon = ".paa";
};
//Mined Items
class oilUnprocessed {
variable = "oilUnprocessed";
displayName = "STR_Item_OilU";
weight = 4;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_oilUnprocessed.paa";
};
class oil_processed {
variable = "oilProcessed";
displayName = "STR_Item_OilP";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_oilProcessed.paa";
};
class oil_processed_gazole {
variable = "oil_processed_gazole";
displayName = "STR_Item_OilPG";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_oilProcessed.paa";
};
class copper_unrefined {
variable = "copperUnrefined";
displayName = "STR_Item_CopperOre";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_copperOre.paa";
};
class copper_refined {
variable = "copperRefined";
displayName = "STR_Item_CopperIngot";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_copper.paa";
};
class copper_cut_ent {
variable = "STR_Item_CopperIngot";
displayName = "STR_Item_CopperC_ent";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_copper.paa";
};
class iron_unrefined {
variable = "ironUnrefined";
displayName = "STR_Item_IronOre";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_ironOre.paa";
};
class iron_refined {
variable = "ironRefined";
displayName = "STR_Item_IronIngot";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_iron.paa";
};
class salt_unrefined {
variable = "saltUnrefined";
displayName = "STR_Item_Salt";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_saltUnprocessed.paa";
};
class salt_refined {
variable = "saltRefined";
displayName = "STR_Item_SaltR";
weight = 1;
buyPrice = -1;
sellPrice = 1450;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_saltProcessed.paa";
};
class sand {
variable = "sand";
displayName = "STR_Item_Sand";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_sand.paa";
};
class glass {
variable = "glass";
displayName = "STR_Item_Glass";
weight = 1;
buyPrice = -1;
sellPrice = 1450;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_glass.paa";
};
class diamond_uncut {
variable = "diamondUncut";
displayName = "STR_Item_DiamondU";
weight = 4;
buyPrice = -1;
sellPrice = 750;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_diamondUncut.paa";
};
class diamond_cut {
variable = "diamondCut";
displayName = "STR_Item_DiamondC";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_diamondCut.paa";
};
class diamond_cut_ent {
variable = "diamondCut_ent";
displayName = "STR_Item_DiamondC_ent";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_diamondCut.paa";
};
class rock {
variable = "rock";
displayName = "STR_Item_Rock";
weight = 6;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_rock.paa";
};
class cement {
variable = "cement";
displayName = "STR_Item_CementBag";
weight = 5;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cement.paa";
};
class tabac {
variable = "tabac";
displayName = "STR_Item_Tabac";
weight = 2;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_tabac.paa";
};
class cigarette {
variable = "cigarette";
displayName = "STR_Item_cigarette";
weight = 1;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cigarette.paa";
};
class cigarette_de_contrebande {
variable = "cigarette_de_contrebande";
displayName = "STR_Item_cigarette_contrebande";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cigarette.paa";
};
class cigare {
variable = "cigare";
displayName = "STR_Item_cigare";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cigare.paa";
};
///Craft
class charbon {
variable = "charbon";
displayName = "STR_Item_Charbon";
weight = 2;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_charbon.paa";
};
class lingot_acier {
variable = "lingot_acier";
displayName = "STR_Item_Acier";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_lingot_acier.paa";
};
class plaque_acier {
variable = "plaque_acier";
displayName = "STR_Item_plaque_acier";
weight = 5;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_plaque_acier.paa";
};
class bauxite {
variable = "bauxite";
displayName = "STR_Item_Bauxite";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_bauxite.paa";
};
class gout_chicha {
variable = "gout_chicha";
displayName = "STR_Item_gout_chicha";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\chicha_gout.paa";
};
class chicha {
variable = "chicha";
displayName = "STR_Item_chicha";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\chcha.paa";
};
class bois_unprocess {
variable = "bois_unprocess";
displayName = "STR_Item_bois_unprocess";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\bois.paa";
};
class planche {
variable = "planche";
displayName = "STR_Item_bois_process";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\boisraf.paa";
};
class lsd {
variable = "lsd";
displayName = "STR_Item_lsd_unprocess";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
drinkable = -1;
icon = "\Eventia_Textures\icons\lsd.paa";
};
class lsdraf {
variable = "lsdraf";
displayName = "STR_Item_lsd_process";
weight = 1;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
drinkable = -1;
icon = "\Eventia_Textures\icons\lsd_process.paa";
};
class aluminium {
variable = "aluminium";
displayName = "STR_Item_aluminium";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_aluminium.paa";
};
class plastique {
variable = "plastique";
displayName = "STR_Item_plastique";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_plastiqueico_plan.paa";
};
//Drugs
class heroin_unprocessed {
variable = "heroinUnprocessed";
displayName = "STR_Item_HeroinU";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_heroinUnprocessed.paa";
processedItem = "heroin_processed";
};
class heroin_processed {
variable = "heroinProcessed";
displayName = "STR_Item_HeroinP";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_heroinProcessed.paa";
};
class cannabis {
variable = "cannabis";
displayName = "STR_Item_Cannabis";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cannabis.paa";
processedItem = "marijuana";
};
class marijuana {
variable = "marijuana";
displayName = "STR_Item_Marijuana";
weight = 2;
buyPrice = -1;
sellPrice = 3600;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_marijuana.paa";
};
class cocaine_unprocessed {
variable = "cocaineUnprocessed";
displayName = "STR_Item_CocaineU";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cocaineUnprocessed.paa";
processedItem = "cocaine_processed";
};
class cocaine_processed {
variable = "cocaineProcessed";
displayName = "STR_Item_CocaineP";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cocaineProcessed.paa";
};
class phosphore {
variable = "phosphore";
displayName = "STR_Item_phosphore";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_becher.paa";
};
class soude_caustique {
variable = "soude_caustique";
displayName = "STR_Item_soude_caustique";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_becher.paa";
};
class meth {
variable = "meth";
displayName = "STR_Item_meth";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_meth.paa";
};
//Drink
class redgull {
variable = "redgull";
displayName = "STR_Item_RedGull";
weight = 1;
buyPrice = 200;
sellPrice = -1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_redgull.paa";
};
class coffee {
variable = "coffee";
displayName = "STR_Item_Coffee";
weight = 1;
buyPrice = 10;
sellPrice = 5;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_coffee.paa";
};
class waterBottle {
variable = "waterBottle";
displayName = "STR_Item_WaterBottle";
weight = 1;
buyPrice = 5;
sellPrice = 2;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_waterBottle.paa";
};
//Food
class banane {
variable = "banane";
displayName = "STR_Item_Bananes";
weight = 1;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_banane.paa";
};
class olive {
variable = "olive";
displayName = "STR_Item_olive";
weight = 1;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\olive.paa";
};
class pomme {
variable = "pomme";
displayName = "STR_Item_pomme";
weight = 1;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_apple.paa";
};
class pizza {
variable = "pizza";
displayName = "STR_Item_Pizza";
weight = 1;
buyPrice = 8;
sellPrice = 3;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_pizza.paa";
};
class kebab {
variable = "kebab";
displayName = "STR_Item_Kebab";
weight = 1;
buyPrice = 10;
sellPrice = 7;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_kebab.paa";
};
class sandwich {
variable = "sandwich";
displayName = "STR_Item_sandwich";
weight = 1;
buyPrice = 13;
sellPrice = 8;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_sandwich.paa";
};
class oasis {
variable = "oasis";
displayName = "STR_Item_oasis";
weight = 1;
buyPrice = 4;
sellPrice = 1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_oasis 2.paa";
};
class coca {
variable = "coca";
displayName = "STR_Item_coca";
weight = 1;
buyPrice = 6;
sellPrice = 3;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_coca.paa";
};
class cristaline {
variable = "cristaline";
displayName = "STR_Item_cristaline";
weight = 1;
buyPrice = 12;
sellPrice = 8;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_cristaline.paa";
};
/*class evian {
variable = "evian";
displayName = "STR_Item_evian";
weight = 1;
buyPrice = 185;
sellPrice = -1;
illegal = false;
edible = 10;
icon = "\Eventia_Textures\icons\ico_banane.paa";
};*/
class peach {
variable = "peach";
displayName = "STR_Item_Peach";
weight = 1;
buyPrice = 2;
sellPrice = 1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_peach.paa";
};
class tbacon {
variable = "tbacon";
displayName = "STR_Item_TBacon";
weight = 1;
buyPrice = 75;
sellPrice = 25;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_tBacon.paa";
};
class donuts {
variable = "donuts";
displayName = "STR_Item_Donuts";
weight = 1;
buyPrice = 120;
sellPrice = 60;
illegal = false;
edible = 30;
icon = "\Eventia_Textures\icons\ico_donuts.paa";
};
class rabbit_raw {
variable = "rabbitRaw";
displayName = "STR_Item_RabbitRaw";
weight = 2;
buyPrice = -1;
sellPrice = 95;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_rabbitRaw.paa";
};
class rabbit {
variable = "rabbit";
displayName = "STR_Item_Rabbit";
weight = 1;
buyPrice = 150;
sellPrice = 115;
illegal = false;
edible = 20;
icon = "\Eventia_Textures\icons\ico_rabbit.paa";
};
class salema_raw {
variable = "salemaRaw";
displayName = "STR_Item_SalemaRaw";
weight = 2;
buyPrice = -1;
sellPrice = 45;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_salemaRaw.paa";
};
class salema {
variable = "salema";
displayName = "STR_Item_Salema";
weight = 1;
buyPrice = 75;
sellPrice = 55;
illegal = false;
edible = 30;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class ornate_raw {
variable = "ornateRaw";
displayName = "STR_Item_OrnateRaw";
weight = 2;
buyPrice = -1;
sellPrice = 40;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_ornateRaw.paa";
};
class ornate {
variable = "ornate";
displayName = "STR_Item_Ornate";
weight = 1;
buyPrice = 175;
sellPrice = 150;
illegal = false;
edible = 25;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class mackerel_raw {
variable = "mackerelRaw";
displayName = "STR_Item_MackerelRaw";
weight = 4;
buyPrice = -1;
sellPrice = 175;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_mackerelRaw.paa";
};
class mackerel {
variable = "mackerel";
displayName = "STR_Item_Mackerel";
weight = 2;
buyPrice = 250;
sellPrice = 200;
illegal = false;
edible = 30;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class tuna_raw {
variable = "tunaRaw";
displayName = "STR_Item_TunaRaw";
weight = 6;
buyPrice = -1;
sellPrice = 700;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_tunaRaw.paa";
};
class tuna {
variable = "tuna";
displayName = "STR_Item_Tuna";
weight = 3;
buyPrice = 1250;
sellPrice = 1000;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class mullet_raw {
variable = "mulletRaw";
displayName = "STR_Item_MulletRaw";
weight = 4;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_mulletRaw.paa";
};
class mullet {
variable = "mullet";
displayName = "STR_Item_Mullet";
weight = 2;
buyPrice = 600;
sellPrice = 400;
illegal = false;
edible = 80;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class catshark_raw {
variable = "catsharkRaw";
displayName = "STR_Item_CatSharkRaw";
weight = 6;
buyPrice = -1;
sellPrice = 300;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_catsharkRaw.paa";
};
class catshark {
variable = "catshark";
displayName = "STR_Item_CatShark";
weight = 3;
buyPrice = 750;
sellPrice = 500;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class turtle_raw {
variable = "turtleRaw";
displayName = "STR_Item_TurtleRaw";
weight = 6;
buyPrice = -1;
sellPrice = 3000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_turtleRaw.paa";
};
class turtle_soup {
variable = "turtleSoup";
displayName = "STR_Item_TurtleSoup";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_turtleSoup.paa";
};
class hen_raw {
variable = "henRaw";
displayName = "STR_Item_HenRaw";
weight = 1;
buyPrice = -1;
sellPrice = 65;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_wholeChickenRaw.paa";
};
class hen {
variable = "hen";
displayName = "STR_Item_Hen";
weight = 1;
buyPrice = 115;
sellPrice = 85;
illegal = false;
edible = 65;
icon = "\Eventia_Textures\icons\ico_wholeChicken.paa";
};
class rooster_raw {
variable = "roosterRaw";
displayName = "STR_Item_RoosterRaw";
weight = 1;
buyPrice = -1;
sellPrice = 65;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_chickenDrumstickRaw.paa";
};
class rooster {
variable = "rooster";
displayName = "STR_Item_Rooster";
weight = 115;
buyPrice = 90;
sellPrice = 85;
illegal = false;
edible = 45;
icon = "\Eventia_Textures\icons\ico_chickenDrumstick.paa";
};
class sheep_raw {
variable = "sheepRaw";
displayName = "STR_Item_SheepRaw";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_lambChopRaw.paa";
};
class sheep {
variable = "sheep";
displayName = "STR_Item_Sheep";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_lambChop.paa";
};
class goat_raw {
variable = "goatRaw";
displayName = "STR_Item_GoatRaw";
weight = 2;
buyPrice = -1;
sellPrice = 115;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_muttonLegRaw.paa";
};
class goat {
variable = "goat";
displayName = "STR_Item_Goat";
weight = 2;
buyPrice = 175;
sellPrice = 135;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_muttonLeg.paa";
};
};
[/CODE]
et le fn_use_items.sqf
[CODE title="fn_useitem.sqf"]#include "..\..\script_macros.hpp"
/*
File: fn_useItem.sqf
Author: Bryan "Tonic" Boardwine
Description:
Main function for item effects and functionality through the player menu.
*/
private "_item";
disableSerialization;
if ((lbCurSel 2005) isEqualTo -1) exitWith
{
_texte = format ["%1",localize "STR_ISTR_SelectItemFirst"];
[_texte] call Life_fnc_notification;
// hint localize "STR_ISTR_SelectItemFirst";
};
_item = CONTROL_DATA(2005);
#include "..\..\The-Programmer\EffetsEcran\scripts\useItemSelect.sqf"
#include "..\..\The-Programmer\Advanced_Insurance\scripts\useItemSelect.sqf"
#include "..\..\The-Programmer\Craft\scripts\useItemSelect.sqf"
#include "..\..\The-Programmer\Plants\scripts\useItemSelect.sqf"
switch (true) do {
case (_item in ["waterBottle","coffee","oasis","redgull","coca","cristaline"]): {
if ([false,_item,1] call life_fnc_handleInv) then {
life_thirst = 100;
if (LIFE_SETTINGS(getNumber,"enable_fatigue") isEqualTo 1) then {player setFatigue 0;};
if (_item isEqualTo "redgull" && {LIFE_SETTINGS(getNumber,"enable_fatigue") isEqualTo 1}) then {
[] spawn {
life_redgull_effect = time;
titleText[localize "STR_ISTR_RedGullEffect","PLAIN"];
player enableFatigue false;
waitUntil {!alive player || ((time - life_redgull_effect) > (53 * 60))};
player enableFatigue true;
};
};
};
};
case (_item isEqualTo "boltcutter"): {
[cursorObject] spawn life_fnc_boltcutter;
closeDialog 0;
};
case "gpstracker": {
[cursorTarget] spawn life_fnc_gpsTracker;
};
case (_item isEqualTo "blastingcharge"): {
player reveal fed_bank;
(group player) reveal fed_bank;
[cursorObject] spawn life_fnc_blastingCharge;
closeDialog 0;
};
case (_item isEqualTo "defusekit"): {
[cursorObject] spawn life_fnc_defuseKit;
closeDialog 0;
};
case (_item isEqualTo "spikeStrip"): {
if (!isNull life_spikestrip) exitWith
{
_texte = format ["%1",localize "STR_ISTR_SpikesDeployment"];
[_texte] call Life_fnc_notification;
//hint localize "STR_ISTR_SpikesDeployment";
closeDialog 0;
};
if ([false,_item,1] call life_fnc_handleInv) then {
[] spawn life_fnc_spikeStrip;
closeDialog 0;
};
};
case (_item isEqualTo "fuelFull"): {
if !(isNull objectParent player) exitWith
{
_texte = format ["%1",localize "STR_ISTR_RefuelInVehicle"];
[_texte] call Life_fnc_notification;
// hint localize "STR_ISTR_RefuelInVehicle"
};
[] spawn life_fnc_jerryRefuel;
closeDialog 0;
};
case (_item isEqualTo "fuelEmpty"): {
[] spawn life_fnc_jerryCanRefuel;
closeDialog 0;
};
case (_item isEqualTo "lockpick"): {
[] spawn life_fnc_lockpick;
closeDialog 0;
};
case (_item isEqualTo "toolkit"): {
[] spawn life_fnc_repairTruck;
closeDialog 0;
};
case (_item isEqualTo "gpstracker"): {
[cursorObject] spawn life_fnc_gpsTracker;
closeDialog 0;
};
case
case (_item isEqualTo "toolkit_dir"):
{
if (player getVariable["life_repairMan", false])
then
{
[] spawn life_fnc_repairTruck;
closeDialog 0;
}else
{
["Tu n'est pas autorisé à utiliser cette item"] call life_fnc_notification;
};
};
case (_item isEqualTo "sabot"):
{
if (player getVariable["life_repairMan", false]) exitWith {[life_vInact_curTarget] spawn max_fourriere_fnc_impoundAction;closeDialog 0;};
if !((side player) isEqualTo WEST) exitWith {["Tu n'est pas autorisé à utiliser cette item !!"] call life_fnc_notification;};
private _countDir = [] call LA3F_fnc_fonctions_checkDir;
if (isNil "_countDir") then {_countDir = false};
if (((side player) isEqualTo WEST) && _countDir) then
{
["Tu ne peux pas utiliser cette item car la SREA est présente !!"] call life_fnc_notification;
}else
{
[life_vInact_curTarget] spawn max_fourriere_fnc_impoundAction;
closeDialog 0;
};
};
case (_item in ["banane","rabbit","salema","pizza","kebab","sandwich","ornate","mackerel","tuna","mullet","catshark","turtle_soup","hen","rooster","sheep","goat","donuts","tbacon","peach","pomme","olive"]): {
if (!(M_CONFIG(getNumber,"VirtualItems",_item,"edible") isEqualTo -1)) then {
if ([false,_item,1] call life_fnc_handleInv) then {
_val = M_CONFIG(getNumber,"VirtualItems",_item,"edible");
_sum = life_hunger + _val;
switch (true) do {
case (_val < 0 && _sum < 1): {life_hunger = 5;}; //This adds the ability to set the entry edible to a negative value and decrease the hunger without death
case (_sum > 100): {life_hunger = 100;};
default {life_hunger = _sum;};
};
};
};
};
default {
_texte = format ["%1",localize "STR_ISTR_NotUsable"];
[_texte] call Life_fnc_notification;
//hint localize "STR_ISTR_NotUsable";
};
};
[] call the_programmer_iphone_xi_fnc_apps_inventory;
[] spawn the_programmer_iphone_fnc_updateInventaire;
[] call life_fnc_hudUpdate;[/CODE]
n ayant pas reussi a les placer meme avec Y comme maxence ma demander je met mon fichier config_vitems et fn_use_items
[CODE title="config_vitems"]/*
- FORMAT:
- STRING (Conditions) - Must return boolean :
- String can contain any amount of conditions, aslong as the entire
- string returns a boolean. This allows you to check any levels, licenses etc,
- in any combination. For example:
- "call life_coplevel && license_civ_someLicense"
- This will also let you call any other function.
class VirtualShops {
//Virtual Shops
class market {
name = "STR_Shops_Market";
side = "civ";
conditions = "";
items[] = { "banane", "pomme", "olive", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "arrosoir", "fuelFull", "storagesmall", "storagebig"};
};
class med_market {
name = "STR_Shops_Market";
side = "med";
conditions = "";
items[] = { "pizza", "sandwich", "waterBottle", "redgull", "coca", "cristaline", "fuelFull", "lockpick"};
};
class criminlle_fr {
name = "STR_Shops_Bandit";
side = "civ";
conditions = "license_civ_rebelle";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip" };
};
class russe {
name = "STR_Shops_Bandit";
side = "civ";
conditions = "license_civ_banditisme";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip", "gpstracker" };
};
class solntsevskaya {
name = "STR_Shops_mafia";
side = "civ";
conditions = "license_civ_mafia";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip", "gpstracker" };
};
class mercenaire {
name = "STR_Shops_mercenaire";
side = "civ";
conditions = "license_civ_mercenaire";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "pickaxe", "fuelFull", "lockpick", "spikeStrip", "gpstracker" };
};
class lsd_market {
name = "STR_Shops_lsd";
side = "civ";
conditions = "license_civ_banditisme";
items[] = { "lsdraf"};
};
class bois_market {
name = "STR_Shops_Bois";
side = "civ";
conditions = "";
items[] = { "planche"};
};
class gang {
name = "STR_Shops_Gang";
side = "civ";
conditions = "";
items[] = { "waterBottle", "rabbit", "banane", "redgull", "tbacon", "lockpick", "pickaxe", "fuelFull", "peach" };
};
class wongs {
name = "STR_Shops_Wongs";
side = "civ";
conditions = "";
items[] = { "turtle_soup", "turtle_raw" };
};
class coffee {
name = "STR_Shops_Coffee";
side = "civ";
conditions = "";
items[] = { "coffee", "donuts" };
};
class cigarette {
name = "STR_Shops_cigarette";
side = "civ";
conditions = "";
items[] = { "cigarette" };
};
class cigarette_contrebande_market {
name = "STR_Shops_cigarette_contrebande";
side = "civ";
conditions = "";
items[] = { "cigarette_de_contrebande" };
};
class Uranium {
name = "STR_Shops_Uranium";
side = "civ";
conditions = "";
items[] = { "Uranium_refined" };
};
class cigare {
name = "STR_Shops_cigare";
side = "civ";
conditions = "";
items[] = { "cigare" };
};
class f_station_coffee {
name = "STR_Shop_Station_Coffee";
side = "";
conditions = "";
items[] = { "coffee", "donuts", "redgull", "fuelFull"};
};
class drugdealer {
name = "STR_Shops_DrugDealer";
side = "civ";
conditions = "";
items[] = { "cocaine_processed", "marijuana", "lsdraf" };
};
class heroin_market {
name = "STR_Shops_hero";
side = "civ";
conditions = "license_civ_rebelle";
items[] = { "heroin_processed"};
};
class marche_noire {
name = "STR_Shops_marche_noire";
side = "civ";
conditions = "";
items[] = { "seed_cocaine","seed_cannabis","arrosoir" };
};
class prefecture {
name = "STR_Shops_prefecture";
side = "civ";
conditions = "";
items[] = { "cni" };
};
class oil {
name = "STR_Shops_Oil";
side = "civ";
conditions = "";
items[] = { "oil_processed", "oil_processed_gazole"};
};
class alu {
name = "STR_Shops_alu";
side = "civ";
conditions = "";
items[] = { "aluminium" };
};
class plastique {
name = "STR_Shops_plastique";
side = "civ";
conditions = "";
items[] = { "plastique" };
};
class acier {
name = "STR_Shops_acier";
side = "civ";
conditions = "";
items[] = { "lingot_acier" };
};
class fishmarket {
name = "STR_Shops_FishMarket";
side = "civ";
conditions = "";
items[] = { "salema_raw", "salema", "ornate_raw", "ornate", "mackerel_raw", "mackerel", "tuna_raw", "tuna", "mullet_raw", "mullet", "catshark_raw", "catshark" };
};
class glass {
name = "STR_Shops_Glass";
side = "civ";
conditions = "";
items[] = { "glass" };
};
class iron {
name = "STR_Shops_Fer";
side = "civ";
conditions = "";
items[] = { "iron_refined" };
};
class copper {
name = "STR_Shops_copper";
side = "civ";
conditions = "";
items[] = { "copper_refined", "copper_cut_ent" };
};
class bijoutier {
name = "STR_Shops_Bijoutier";
side = "civ";
conditions = "";
items[] = { "diamond_cut", "diamond_cut_ent" };
};
class salt {
name = "STR_Shops_Salt";
side = "civ";
conditions = "";
items[] = { "salt_refined" };
};
class cement {
name = "STR_Shops_Cement";
side = "civ";
conditions = "";
items[] = { "cement" };
};
class gold {
name = "STR_Shops_Gold";
side = "civ";
conditions = "";
items[] = { "goldbar" };
};
class cop {
name = "STR_Shops_Cop";
side = "cop";
conditions = "";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "desherbant", "waterBottle", "redgull", "oasis", "coca", "cristaline", "fuelFull", "defusekit", "spikeStrip", "lockpick","Alcootest","Test_drugs"};
};
class millice_test {
name = "STR_Shops_Millice";
side = "";
conditions = "call life_adacLevel >= 1";
items[] = { "banane", "peach", "pizza", "kebab", "sandwich", "waterBottle", "redgull", "oasis", "coca", "cristaline", "fuelFull", "defusekit", "spikeStrip", "lockpick","gpstracker"};
};
};
/*
- CLASS:
- variable = Variable Name
- displayName = Item Name
- weight = Item Weight
- buyPrice = Item Buy Price
- sellPrice = Item Sell Price
- illegal = Illegal Item
- edible = Item Edible (-1 = Disabled)
- icon = Item Icon
- processedItem = Processed Item
class VirtualItems {
//Virtual Items
class gpstracker {
variable = "gpstracker";
displayName = "STR_Item_GpsTracker";
weight = 5;
buyPrice = 10000;
sellPrice = -1;
illegal = true;
edible = -1;
drinkable = -1;
icon = "The-Programmer\Advanced_Insurance\textures\cutting_pliers.paa";
};
class cuttingpliers {
variable = "cuttingpliers";
displayName = "STR_Item_CuttingPliers";
weight = 2;
buyPrice = 100;
sellPrice = -1;
illegal = false;
edible = -1;
drinkable = -1;
icon = "The-Programmer\Advanced_Insurance\textures\trackergps.paa";
};
class Alcootest {
variable = "Alcootest";
displayName = "STR_Item_Alcootest";
weight = 2;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "The-Programmer\EffetsEcran\textures\ico_test_alcohol.paa";
};
class Test_drugs {
variable = "Test_drugs";
displayName = "STR_Item_Test_drugs";
weight = 2;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "The-Programmer\EffetsEcran\textures\ico_test_drugs.paa";
};
class package {
variable = "package";
displayName = "STR_Item_Package";
weight = 1;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
drinkable = -1;
icon = "The-Programmer\JobSystem\textures\ico_package.paa";
};
class arrosoir {
variable = "arrosoir";
displayName = "STR_Item_arrosoir";
weight = 2;
buyPrice = 20;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class desherbant {
variable = "desherbant";
displayName = "STR_Item_desherbant";
weight = 2;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_cocaine {
variable = "seed_cocaine";
displayName = "seed_cocaine";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "";
};
class seed_cannabis {
variable = "seed_cannabis";
displayName = "seed_cannabis";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "";
};
class seed_corn {
variable = "seed_corn";
displayName = "seed_corn";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_artichoke {
variable = "seed_artichoke";
displayName = "seed_artichoke";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_chili_pepper {
variable = "seed_chili_pepper";
displayName = "seed_chili_pepper";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_wheat {
variable = "seed_wheat";
displayName = "seed_wheat";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_strawberry {
variable = "seed_strawberry";
displayName = "seed_strawberry";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_cotton {
variable = "seed_cotton";
displayName = "seed_cotton";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_lettuce {
variable = "seed_lettuce";
displayName = "seed_lettuce";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_tomato {
variable = "seed_tomato";
displayName = "seed_tomato";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_tobacco {
variable = "seed_tobacco";
displayName = "seed_tobacco";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class seed_sunflower {
variable = "seed_sunflower";
displayName = "seed_sunflower";
weight = 1;
buyPrice = 15;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "";
};
class corn {
variable = "corn";
displayName = "corn";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class artichoke {
variable = "artichoke";
displayName = "artichoke";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class chili_pepper {
variable = "chili_pepper";
displayName = "chili_pepper";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class wheat {
variable = "wheat";
displayName = "wheat";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class strawberry {
variable = "strawberry";
displayName = "strawberry";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class cotton {
variable = "cotton";
displayName = "cotton";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class lettuce {
variable = "lettuce";
displayName = "lettuce";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class tomato {
variable = "tomato";
displayName = "tomato";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class tobacco {
variable = "tobacco";
displayName = "tobacco";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
class sunflower {
variable = "sunflower";
displayName = "sunflower";
weight = 1;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "";
};
//Misc
class pickaxe {
variable = "pickaxe";
displayName = "STR_Item_Pickaxe";
weight = 2;
buyPrice = 750;
sellPrice = 350;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_pickaxe.paa";
};
class cni {
variable = "cni";
displayName = "STR_Item_cni";
weight = 1;
buyPrice = 20;
sellPrice = 5;
illegal = false;
edible = -1;
icon = "carte.paa";
};
///Fuel
class defibrillator {
variable = "defibrillator";
displayName = "STR_Item_Defibrillator";
weight = 4;
buyPrice = 900;
sellPrice = 450;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_defibrillator.paa";
};
class toolkit {
variable = "toolkit";
displayName = "STR_Item_Toolkit";
weight = 4;
buyPrice = 1000;
sellPrice = 100;
illegal = false;
edible = -1;
icon = "\a3\weapons_f\items\data\UI\gear_toolkit_ca.paa";
};
class fuelEmpty {
variable = "fuelEmpty";
displayName = "STR_Item_FuelE";
weight = 2;
buyPrice = -1;
sellPrice = 10;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_fuelEmpty.paa";
};
class fuelFull {
variable = "fuelFull";
displayName = "STR_Item_FuelF";
weight = 5;
buyPrice = 850;
sellPrice = 500;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_fuel.paa";
};
class spikeStrip {
variable = "spikeStrip";
displayName = "STR_Item_SpikeStrip";
weight = 15;
buyPrice = 2500;
sellPrice = 1200;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_spikeStrip.paa";
};
class uranium_unrefined {
variable = "uranium_unrefined";
displayName = "STR_Item_UraniumOre";
weight = 6;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\uranium.paa";
};
class uranium_semrefined {
variable = "uranium_semrefined";
displayName = "STR_Item_Uraniumsem";
weight = 4;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\uranium.paa";
};
class uranium_refined {
variable = "uranium_refined";
displayName = "STR_Item_Uranium";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\uranium.paa";
};
class lockpick {
variable = "lockpick";
displayName = "STR_Item_Lockpick";
weight = 1;
buyPrice = 1000;
sellPrice = 50;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_lockpick.paa";
};
class plan_arma_test {
variable = "plan_arma_test";
displayName = "STR_Item_Plan_arme";
weight = 1;
buyPrice = 80000;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "ico_plan.paa";
};
class goldbar {
variable = "goldBar";
displayName = "STR_Item_GoldBar";
weight = 12;
buyPrice = -1;
sellPrice = 95000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_goldBar.paa";
};
class blastingcharge {
variable = "blastingCharge";
displayName = "STR_Item_BCharge";
weight = 15;
buyPrice = 70000;
sellPrice = 4000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_blastingCharge.paa";
};
class boltcutter {
variable = "boltCutter";
displayName = "STR_Item_BCutter";
weight = 5;
buyPrice = 7500;
sellPrice = 1000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_boltCutter.paa";
};
class defusekit {
variable = "defuseKit";
displayName = "STR_Item_DefuseKit";
weight = 2;
buyPrice = 2500;
sellPrice = 2000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_defuseKit.paa";
};
class storagesmall {
variable = "storageSmall";
displayName = "STR_Item_StorageBS";
weight = 5;
buyPrice = 350000;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_storageSmall.paa";
};
class etabli {
variable = "etabli";
displayName = "STR_Item_etabli";
weight = 5;
buyPrice = 999999;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_etabli.paa";
};
class storagebig {
variable = "storageBig";
displayName = "STR_Item_StorageBL";
weight = 10;
buyPrice = 500000;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_storageBig.paa";
};
class canon {
variable = "Canon";
displayName = "STR_Item_Canon";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
//icon = "neant.paa";
};
class culasse {
variable = "Culasse";
displayName = "STR_Item_Culasse";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
// icon = "neant.paa";
};
class poigne {
variable = "poigne";
displayName = "STR_Item_Poignée";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
///icon = ".paa";
};
//Mined Items
class oilUnprocessed {
variable = "oilUnprocessed";
displayName = "STR_Item_OilU";
weight = 4;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_oilUnprocessed.paa";
};
class oil_processed {
variable = "oilProcessed";
displayName = "STR_Item_OilP";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_oilProcessed.paa";
};
class oil_processed_gazole {
variable = "oil_processed_gazole";
displayName = "STR_Item_OilPG";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_oilProcessed.paa";
};
class copper_unrefined {
variable = "copperUnrefined";
displayName = "STR_Item_CopperOre";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_copperOre.paa";
};
class copper_refined {
variable = "copperRefined";
displayName = "STR_Item_CopperIngot";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_copper.paa";
};
class copper_cut_ent {
variable = "STR_Item_CopperIngot";
displayName = "STR_Item_CopperC_ent";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_copper.paa";
};
class iron_unrefined {
variable = "ironUnrefined";
displayName = "STR_Item_IronOre";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_ironOre.paa";
};
class iron_refined {
variable = "ironRefined";
displayName = "STR_Item_IronIngot";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_iron.paa";
};
class salt_unrefined {
variable = "saltUnrefined";
displayName = "STR_Item_Salt";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_saltUnprocessed.paa";
};
class salt_refined {
variable = "saltRefined";
displayName = "STR_Item_SaltR";
weight = 1;
buyPrice = -1;
sellPrice = 1450;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_saltProcessed.paa";
};
class sand {
variable = "sand";
displayName = "STR_Item_Sand";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_sand.paa";
};
class glass {
variable = "glass";
displayName = "STR_Item_Glass";
weight = 1;
buyPrice = -1;
sellPrice = 1450;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_glass.paa";
};
class diamond_uncut {
variable = "diamondUncut";
displayName = "STR_Item_DiamondU";
weight = 4;
buyPrice = -1;
sellPrice = 750;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_diamondUncut.paa";
};
class diamond_cut {
variable = "diamondCut";
displayName = "STR_Item_DiamondC";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_diamondCut.paa";
};
class diamond_cut_ent {
variable = "diamondCut_ent";
displayName = "STR_Item_DiamondC_ent";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_diamondCut.paa";
};
class rock {
variable = "rock";
displayName = "STR_Item_Rock";
weight = 6;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_rock.paa";
};
class cement {
variable = "cement";
displayName = "STR_Item_CementBag";
weight = 5;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cement.paa";
};
class tabac {
variable = "tabac";
displayName = "STR_Item_Tabac";
weight = 2;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_tabac.paa";
};
class cigarette {
variable = "cigarette";
displayName = "STR_Item_cigarette";
weight = 1;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cigarette.paa";
};
class cigarette_de_contrebande {
variable = "cigarette_de_contrebande";
displayName = "STR_Item_cigarette_contrebande";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cigarette.paa";
};
class cigare {
variable = "cigare";
displayName = "STR_Item_cigare";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cigare.paa";
};
///Craft
class charbon {
variable = "charbon";
displayName = "STR_Item_Charbon";
weight = 2;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_charbon.paa";
};
class lingot_acier {
variable = "lingot_acier";
displayName = "STR_Item_Acier";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_lingot_acier.paa";
};
class plaque_acier {
variable = "plaque_acier";
displayName = "STR_Item_plaque_acier";
weight = 5;
buyPrice = -1;
sellPrice = 1950;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_plaque_acier.paa";
};
class bauxite {
variable = "bauxite";
displayName = "STR_Item_Bauxite";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_bauxite.paa";
};
class gout_chicha {
variable = "gout_chicha";
displayName = "STR_Item_gout_chicha";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\chicha_gout.paa";
};
class chicha {
variable = "chicha";
displayName = "STR_Item_chicha";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\chcha.paa";
};
class bois_unprocess {
variable = "bois_unprocess";
displayName = "STR_Item_bois_unprocess";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\bois.paa";
};
class planche {
variable = "planche";
displayName = "STR_Item_bois_process";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\boisraf.paa";
};
class lsd {
variable = "lsd";
displayName = "STR_Item_lsd_unprocess";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
drinkable = -1;
icon = "\Eventia_Textures\icons\lsd.paa";
};
class lsdraf {
variable = "lsdraf";
displayName = "STR_Item_lsd_process";
weight = 1;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
drinkable = -1;
icon = "\Eventia_Textures\icons\lsd_process.paa";
};
class aluminium {
variable = "aluminium";
displayName = "STR_Item_aluminium";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_aluminium.paa";
};
class plastique {
variable = "plastique";
displayName = "STR_Item_plastique";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_plastiqueico_plan.paa";
};
//Drugs
class heroin_unprocessed {
variable = "heroinUnprocessed";
displayName = "STR_Item_HeroinU";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_heroinUnprocessed.paa";
processedItem = "heroin_processed";
};
class heroin_processed {
variable = "heroinProcessed";
displayName = "STR_Item_HeroinP";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_heroinProcessed.paa";
};
class cannabis {
variable = "cannabis";
displayName = "STR_Item_Cannabis";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cannabis.paa";
processedItem = "marijuana";
};
class marijuana {
variable = "marijuana";
displayName = "STR_Item_Marijuana";
weight = 2;
buyPrice = -1;
sellPrice = 3600;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_marijuana.paa";
};
class cocaine_unprocessed {
variable = "cocaineUnprocessed";
displayName = "STR_Item_CocaineU";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cocaineUnprocessed.paa";
processedItem = "cocaine_processed";
};
class cocaine_processed {
variable = "cocaineProcessed";
displayName = "STR_Item_CocaineP";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_cocaineProcessed.paa";
};
class phosphore {
variable = "phosphore";
displayName = "STR_Item_phosphore";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_becher.paa";
};
class soude_caustique {
variable = "soude_caustique";
displayName = "STR_Item_soude_caustique";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_becher.paa";
};
class meth {
variable = "meth";
displayName = "STR_Item_meth";
weight = 3;
buyPrice = -1;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_meth.paa";
};
//Drink
class redgull {
variable = "redgull";
displayName = "STR_Item_RedGull";
weight = 1;
buyPrice = 200;
sellPrice = -1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_redgull.paa";
};
class coffee {
variable = "coffee";
displayName = "STR_Item_Coffee";
weight = 1;
buyPrice = 10;
sellPrice = 5;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_coffee.paa";
};
class waterBottle {
variable = "waterBottle";
displayName = "STR_Item_WaterBottle";
weight = 1;
buyPrice = 5;
sellPrice = 2;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_waterBottle.paa";
};
//Food
class banane {
variable = "banane";
displayName = "STR_Item_Bananes";
weight = 1;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_banane.paa";
};
class olive {
variable = "olive";
displayName = "STR_Item_olive";
weight = 1;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\olive.paa";
};
class pomme {
variable = "pomme";
displayName = "STR_Item_pomme";
weight = 1;
buyPrice = 150;
sellPrice = -1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_apple.paa";
};
class pizza {
variable = "pizza";
displayName = "STR_Item_Pizza";
weight = 1;
buyPrice = 8;
sellPrice = 3;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_pizza.paa";
};
class kebab {
variable = "kebab";
displayName = "STR_Item_Kebab";
weight = 1;
buyPrice = 10;
sellPrice = 7;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_kebab.paa";
};
class sandwich {
variable = "sandwich";
displayName = "STR_Item_sandwich";
weight = 1;
buyPrice = 13;
sellPrice = 8;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_sandwich.paa";
};
class oasis {
variable = "oasis";
displayName = "STR_Item_oasis";
weight = 1;
buyPrice = 4;
sellPrice = 1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_oasis 2.paa";
};
class coca {
variable = "coca";
displayName = "STR_Item_coca";
weight = 1;
buyPrice = 6;
sellPrice = 3;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_coca.paa";
};
class cristaline {
variable = "cristaline";
displayName = "STR_Item_cristaline";
weight = 1;
buyPrice = 12;
sellPrice = 8;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_cristaline.paa";
};
/*class evian {
variable = "evian";
displayName = "STR_Item_evian";
weight = 1;
buyPrice = 185;
sellPrice = -1;
illegal = false;
edible = 10;
icon = "\Eventia_Textures\icons\ico_banane.paa";
};*/
class peach {
variable = "peach";
displayName = "STR_Item_Peach";
weight = 1;
buyPrice = 2;
sellPrice = 1;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_peach.paa";
};
class tbacon {
variable = "tbacon";
displayName = "STR_Item_TBacon";
weight = 1;
buyPrice = 75;
sellPrice = 25;
illegal = false;
edible = 50;
icon = "\Eventia_Textures\icons\ico_tBacon.paa";
};
class donuts {
variable = "donuts";
displayName = "STR_Item_Donuts";
weight = 1;
buyPrice = 120;
sellPrice = 60;
illegal = false;
edible = 30;
icon = "\Eventia_Textures\icons\ico_donuts.paa";
};
class rabbit_raw {
variable = "rabbitRaw";
displayName = "STR_Item_RabbitRaw";
weight = 2;
buyPrice = -1;
sellPrice = 95;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_rabbitRaw.paa";
};
class rabbit {
variable = "rabbit";
displayName = "STR_Item_Rabbit";
weight = 1;
buyPrice = 150;
sellPrice = 115;
illegal = false;
edible = 20;
icon = "\Eventia_Textures\icons\ico_rabbit.paa";
};
class salema_raw {
variable = "salemaRaw";
displayName = "STR_Item_SalemaRaw";
weight = 2;
buyPrice = -1;
sellPrice = 45;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_salemaRaw.paa";
};
class salema {
variable = "salema";
displayName = "STR_Item_Salema";
weight = 1;
buyPrice = 75;
sellPrice = 55;
illegal = false;
edible = 30;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class ornate_raw {
variable = "ornateRaw";
displayName = "STR_Item_OrnateRaw";
weight = 2;
buyPrice = -1;
sellPrice = 40;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_ornateRaw.paa";
};
class ornate {
variable = "ornate";
displayName = "STR_Item_Ornate";
weight = 1;
buyPrice = 175;
sellPrice = 150;
illegal = false;
edible = 25;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class mackerel_raw {
variable = "mackerelRaw";
displayName = "STR_Item_MackerelRaw";
weight = 4;
buyPrice = -1;
sellPrice = 175;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_mackerelRaw.paa";
};
class mackerel {
variable = "mackerel";
displayName = "STR_Item_Mackerel";
weight = 2;
buyPrice = 250;
sellPrice = 200;
illegal = false;
edible = 30;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class tuna_raw {
variable = "tunaRaw";
displayName = "STR_Item_TunaRaw";
weight = 6;
buyPrice = -1;
sellPrice = 700;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_tunaRaw.paa";
};
class tuna {
variable = "tuna";
displayName = "STR_Item_Tuna";
weight = 3;
buyPrice = 1250;
sellPrice = 1000;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class mullet_raw {
variable = "mulletRaw";
displayName = "STR_Item_MulletRaw";
weight = 4;
buyPrice = -1;
sellPrice = 250;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_mulletRaw.paa";
};
class mullet {
variable = "mullet";
displayName = "STR_Item_Mullet";
weight = 2;
buyPrice = 600;
sellPrice = 400;
illegal = false;
edible = 80;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class catshark_raw {
variable = "catsharkRaw";
displayName = "STR_Item_CatSharkRaw";
weight = 6;
buyPrice = -1;
sellPrice = 300;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_catsharkRaw.paa";
};
class catshark {
variable = "catshark";
displayName = "STR_Item_CatShark";
weight = 3;
buyPrice = 750;
sellPrice = 500;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_cookedFish.paa";
};
class turtle_raw {
variable = "turtleRaw";
displayName = "STR_Item_TurtleRaw";
weight = 6;
buyPrice = -1;
sellPrice = 3000;
illegal = true;
edible = -1;
icon = "\Eventia_Textures\icons\ico_turtleRaw.paa";
};
class turtle_soup {
variable = "turtleSoup";
displayName = "STR_Item_TurtleSoup";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_turtleSoup.paa";
};
class hen_raw {
variable = "henRaw";
displayName = "STR_Item_HenRaw";
weight = 1;
buyPrice = -1;
sellPrice = 65;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_wholeChickenRaw.paa";
};
class hen {
variable = "hen";
displayName = "STR_Item_Hen";
weight = 1;
buyPrice = 115;
sellPrice = 85;
illegal = false;
edible = 65;
icon = "\Eventia_Textures\icons\ico_wholeChicken.paa";
};
class rooster_raw {
variable = "roosterRaw";
displayName = "STR_Item_RoosterRaw";
weight = 1;
buyPrice = -1;
sellPrice = 65;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_chickenDrumstickRaw.paa";
};
class rooster {
variable = "rooster";
displayName = "STR_Item_Rooster";
weight = 115;
buyPrice = 90;
sellPrice = 85;
illegal = false;
edible = 45;
icon = "\Eventia_Textures\icons\ico_chickenDrumstick.paa";
};
class sheep_raw {
variable = "sheepRaw";
displayName = "STR_Item_SheepRaw";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_lambChopRaw.paa";
};
class sheep {
variable = "sheep";
displayName = "STR_Item_Sheep";
weight = 2;
buyPrice = -1;
sellPrice = -1;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_lambChop.paa";
};
class goat_raw {
variable = "goatRaw";
displayName = "STR_Item_GoatRaw";
weight = 2;
buyPrice = -1;
sellPrice = 115;
illegal = false;
edible = -1;
icon = "\Eventia_Textures\icons\ico_muttonLegRaw.paa";
};
class goat {
variable = "goat";
displayName = "STR_Item_Goat";
weight = 2;
buyPrice = 175;
sellPrice = 135;
illegal = false;
edible = 100;
icon = "\Eventia_Textures\icons\ico_muttonLeg.paa";
};
};
[/CODE]
et le fn_use_items.sqf
[CODE title="fn_useitem.sqf"]#include "..\..\script_macros.hpp"
/*
File: fn_useItem.sqf
Author: Bryan "Tonic" Boardwine
Description:
Main function for item effects and functionality through the player menu.
*/
private "_item";
disableSerialization;
if ((lbCurSel 2005) isEqualTo -1) exitWith
{
_texte = format ["%1",localize "STR_ISTR_SelectItemFirst"];
[_texte] call Life_fnc_notification;
// hint localize "STR_ISTR_SelectItemFirst";
};
_item = CONTROL_DATA(2005);
#include "..\..\The-Programmer\EffetsEcran\scripts\useItemSelect.sqf"
#include "..\..\The-Programmer\Advanced_Insurance\scripts\useItemSelect.sqf"
#include "..\..\The-Programmer\Craft\scripts\useItemSelect.sqf"
#include "..\..\The-Programmer\Plants\scripts\useItemSelect.sqf"
switch (true) do {
case (_item in ["waterBottle","coffee","oasis","redgull","coca","cristaline"]): {
if ([false,_item,1] call life_fnc_handleInv) then {
life_thirst = 100;
if (LIFE_SETTINGS(getNumber,"enable_fatigue") isEqualTo 1) then {player setFatigue 0;};
if (_item isEqualTo "redgull" && {LIFE_SETTINGS(getNumber,"enable_fatigue") isEqualTo 1}) then {
[] spawn {
life_redgull_effect = time;
titleText[localize "STR_ISTR_RedGullEffect","PLAIN"];
player enableFatigue false;
waitUntil {!alive player || ((time - life_redgull_effect) > (53 * 60))};
player enableFatigue true;
};
};
};
};
case (_item isEqualTo "boltcutter"): {
[cursorObject] spawn life_fnc_boltcutter;
closeDialog 0;
};
case "gpstracker": {
[cursorTarget] spawn life_fnc_gpsTracker;
};
case (_item isEqualTo "blastingcharge"): {
player reveal fed_bank;
(group player) reveal fed_bank;
[cursorObject] spawn life_fnc_blastingCharge;
closeDialog 0;
};
case (_item isEqualTo "defusekit"): {
[cursorObject] spawn life_fnc_defuseKit;
closeDialog 0;
};
case (_item isEqualTo "spikeStrip"): {
if (!isNull life_spikestrip) exitWith
{
_texte = format ["%1",localize "STR_ISTR_SpikesDeployment"];
[_texte] call Life_fnc_notification;
//hint localize "STR_ISTR_SpikesDeployment";
closeDialog 0;
};
if ([false,_item,1] call life_fnc_handleInv) then {
[] spawn life_fnc_spikeStrip;
closeDialog 0;
};
};
case (_item isEqualTo "fuelFull"): {
if !(isNull objectParent player) exitWith
{
_texte = format ["%1",localize "STR_ISTR_RefuelInVehicle"];
[_texte] call Life_fnc_notification;
// hint localize "STR_ISTR_RefuelInVehicle"
};
[] spawn life_fnc_jerryRefuel;
closeDialog 0;
};
case (_item isEqualTo "fuelEmpty"): {
[] spawn life_fnc_jerryCanRefuel;
closeDialog 0;
};
case (_item isEqualTo "lockpick"): {
[] spawn life_fnc_lockpick;
closeDialog 0;
};
case (_item isEqualTo "toolkit"): {
[] spawn life_fnc_repairTruck;
closeDialog 0;
};
case (_item isEqualTo "gpstracker"): {
[cursorObject] spawn life_fnc_gpsTracker;
closeDialog 0;
};
case
case (_item isEqualTo "toolkit_dir"):
{
if (player getVariable["life_repairMan", false])
then
{
[] spawn life_fnc_repairTruck;
closeDialog 0;
}else
{
["Tu n'est pas autorisé à utiliser cette item"] call life_fnc_notification;
};
};
case (_item isEqualTo "sabot"):
{
if (player getVariable["life_repairMan", false]) exitWith {[life_vInact_curTarget] spawn max_fourriere_fnc_impoundAction;closeDialog 0;};
if !((side player) isEqualTo WEST) exitWith {["Tu n'est pas autorisé à utiliser cette item !!"] call life_fnc_notification;};
private _countDir = [] call LA3F_fnc_fonctions_checkDir;
if (isNil "_countDir") then {_countDir = false};
if (((side player) isEqualTo WEST) && _countDir) then
{
["Tu ne peux pas utiliser cette item car la SREA est présente !!"] call life_fnc_notification;
}else
{
[life_vInact_curTarget] spawn max_fourriere_fnc_impoundAction;
closeDialog 0;
};
};
case (_item in ["banane","rabbit","salema","pizza","kebab","sandwich","ornate","mackerel","tuna","mullet","catshark","turtle_soup","hen","rooster","sheep","goat","donuts","tbacon","peach","pomme","olive"]): {
if (!(M_CONFIG(getNumber,"VirtualItems",_item,"edible") isEqualTo -1)) then {
if ([false,_item,1] call life_fnc_handleInv) then {
_val = M_CONFIG(getNumber,"VirtualItems",_item,"edible");
_sum = life_hunger + _val;
switch (true) do {
case (_val < 0 && _sum < 1): {life_hunger = 5;}; //This adds the ability to set the entry edible to a negative value and decrease the hunger without death
case (_sum > 100): {life_hunger = 100;};
default {life_hunger = _sum;};
};
};
};
};
default {
_texte = format ["%1",localize "STR_ISTR_NotUsable"];
[_texte] call Life_fnc_notification;
//hint localize "STR_ISTR_NotUsable";
};
};
[] call the_programmer_iphone_xi_fnc_apps_inventory;
[] spawn the_programmer_iphone_fnc_updateInventaire;
[] call life_fnc_hudUpdate;[/CODE]