Advertisement
iKurdo

CannabisPlus_config.cpp

Sep 4th, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 7.66 KB | Gaming | 0 0
  1. class CfgPatches {
  2.     class CP_Fruits {
  3.         units[] = {
  4.             "CP_CannabisSkunk",
  5.             "CP_CannabisBlue",
  6.             "CP_CannabisKush",
  7.             "CP_CannabisStardawg",
  8.             "CP_CannabisFuture",
  9.             "CP_CannabisS1",
  10.             "CP_CannabisNomad",
  11.             "CP_CannabisBlackFrost",
  12.             "CP_Tobacco"
  13.         };
  14.         weapons[] = {};
  15.         requiredVersion = 0.1;
  16.         requiredAddons[] = {
  17.             "DZ_Data"
  18.         };
  19.     };
  20. };
  21. class CfgVehicles {
  22.     class Inventory_Base;
  23.     class CP_CoreClass: Inventory_Base {
  24.         scope = 0;
  25.         displayName = "";
  26.         descriptionShort = "";
  27.     };
  28.     class CP_CannabisBud: Inventory_Base {
  29.         scope = 0;
  30.         displayName = "Base base base";
  31.         descriptionShort = "Base bud";
  32.         model = "\dz\gear\food\cannabis_seedman.p3d";
  33.         rotationFlags = 34;
  34.         lootCategory = "Crafted";
  35.         weight = 14;
  36.         itemSize[] = {
  37.             1,
  38.             1
  39.         };
  40.         varQuantityDestroyOnMin = 1;
  41.         canBeSplit = 1;
  42.         varQuantityInit = 2;
  43.         varQuantityMin = 0;
  44.         varQuantityMax = 100;
  45.         varStackMax = 2;
  46.         inventorySlot[] = {
  47.             "DryPlant",
  48.             "CP_Cannabis_Buds"
  49.         };
  50.         cpStepUpToBag = "";
  51.         cpStepUpToJoint = "";
  52.         hiddenSelections[] = {
  53.             "cs_raw"
  54.         };
  55.         hiddenSelectionsTextures[] = {
  56.             "CannabisPlus\fruits\data\cannabis_seedman_raw_skunk_co.paa"
  57.         };
  58.         hiddenSelectionsMaterials[] = {
  59.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  60.         };
  61.         class DamageSystem {
  62.             class GlobalHealth {
  63.                 class Health {
  64.                     hitpoints = 10;
  65.                     healthLevels[] = { {
  66.                             1, {}
  67.                         }, {
  68.                             0.69999999, {}
  69.                         }, {
  70.                             0.5, {}
  71.                         }, {
  72.                             0.30000001, {}
  73.                         }, {
  74.                             0, {}
  75.                         }
  76.                     };
  77.                 };
  78.             };
  79.         };
  80.         class AnimEvents {
  81.             class SoundWeapon {
  82.                 class openTunaCan {
  83.                     soundSet = "openTunaCan_SoundSet";
  84.                     id = 204;
  85.                 };
  86.                 class pickUpItem {
  87.                     soundSet = "Zucchini_pickup_SoundSet";
  88.                     id = 797;
  89.                 };
  90.                 class Eating_TakeFood {
  91.                     soundSet = "Eating_TakeFood_Soundset";
  92.                     id = 889;
  93.                 };
  94.                 class Eating_BoxOpen {
  95.                     soundSet = "Eating_BoxOpen_Soundset";
  96.                     id = 893;
  97.                 };
  98.                 class Eating_BoxShake {
  99.                     soundSet = "Eating_BoxShake_Soundset";
  100.                     id = 894;
  101.                 };
  102.                 class Eating_BoxEnd {
  103.                     soundSet = "Eating_BoxEnd_Soundset";
  104.                     id = 895;
  105.                 };
  106.             };
  107.         };
  108.     };
  109.     class CP_CannabisSkunk: CP_CannabisBud {
  110.         scope = 2;
  111.         displayName = "Skunk";
  112.         descriptionShort = "Some cannabis bud. Skunk variety";
  113.         cpStepUpToBag = "CP_CannabisBagSkunk";
  114.         cpStepUpToJoint = "CP_JointSkunk";
  115.         hiddenSelectionsTextures[] = {
  116.             "CannabisPlus\fruits\data\cannabis_seedman_raw_skunk_co.paa"
  117.         };
  118.         hiddenSelectionsMaterials[] = {
  119.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  120.         };
  121.     };
  122.     class CP_CannabisBlue: CP_CannabisBud {
  123.         scope = 2;
  124.         displayName = "Blue God";
  125.         descriptionShort = "Some cannabis bud.  Blue God variety.";
  126.         cpStepUpToBag = "CP_CannabisBagBlue";
  127.         cpStepUpToJoint = "CP_JointBlue";
  128.         hiddenSelectionsTextures[] = {
  129.             "CannabisPlus\fruits\data\cannabis_seedman_raw_blue_co.paa"
  130.         };
  131.         hiddenSelectionsMaterials[] = {
  132.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  133.         };
  134.     };
  135.     class CP_CannabisKush: CP_CannabisBud {
  136.         scope = 2;
  137.         displayName = "Purple Kush";
  138.         descriptionShort = "Some cannabis bud.  Purple Kush variety.";
  139.         cpStepUpToBag = "CP_CannabisBagKush";
  140.         cpStepUpToJoint = "CP_JointKush";
  141.         hiddenSelectionsTextures[] = {
  142.             "CannabisPlus\fruits\data\cannabis_seedman_raw_kush_co.paa"
  143.         };
  144.         hiddenSelectionsMaterials[] = {
  145.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  146.         };
  147.     };
  148.     class CP_CannabisStardawg: CP_CannabisBud {
  149.         scope = 2;
  150.         displayName = "Stardawg";
  151.         descriptionShort = "Some cannabis bud.  Stardawg variety.";
  152.         cpStepUpToBag = "CP_CannabisBagStardawg";
  153.         cpStepUpToJoint = "CP_JointStardawg";
  154.         hiddenSelectionsTextures[] = {
  155.             "CannabisPlus\fruits\data\cannabis_seedman_raw_Stardawg_co.paa"
  156.         };
  157.         hiddenSelectionsMaterials[] = {
  158.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  159.         };
  160.     };
  161.     class CP_CannabisFuture: CP_CannabisBud {
  162.         scope = 2;
  163.         displayName = "Future";
  164.         descriptionShort = "Some cannabis bud.  Future variety.";
  165.         cpStepUpToBag = "CP_CannabisBagFuture";
  166.         cpStepUpToJoint = "CP_JointFuture";
  167.         hiddenSelectionsTextures[] = {
  168.             "CannabisPlus\fruits\data\cannabis_seedman_raw_future_co.paa"
  169.         };
  170.         hiddenSelectionsMaterials[] = {
  171.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  172.         };
  173.     };
  174.     class CP_CannabisS1: CP_CannabisBud {
  175.         scope = 2;
  176.         displayName = "S1";
  177.         descriptionShort = "Some cannabis bud.  S1 variety.  Sponsored by StevesGoods.com";
  178.         cpStepUpToBag = "CP_CannabisBagS1";
  179.         cpStepUpToJoint = "CP_JointS1";
  180.         hiddenSelectionsTextures[] = {
  181.             "CannabisPlus\fruits\data\cannabis_seedman_raw_S1_co.paa"
  182.         };
  183.         hiddenSelectionsMaterials[] = {
  184.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  185.         };
  186.     };
  187.     class CP_CannabisNomad: CP_CannabisBud {
  188.         scope = 2;
  189.         displayName = "Nomad";
  190.         descriptionShort = "Some cannabis bud.  Nomad variety.";
  191.         cpStepUpToBag = "CP_CannabisBagNomad";
  192.         cpStepUpToJoint = "CP_JointNomad";
  193.         hiddenSelectionsTextures[] = {
  194.             "CannabisPlus\fruits\data\cannabis_seedman_raw_Nomad_co.paa"
  195.         };
  196.         hiddenSelectionsMaterials[] = {
  197.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  198.         };
  199.     };
  200.     class CP_CannabisBlackFrost: CP_CannabisBud {
  201.         scope = 2;
  202.         displayName = "Black Frost";
  203.         descriptionShort = "Some cannabis bud.  Black Frost variety.";
  204.         cpStepUpToBag = "CP_CannabisBagBlackFrost";
  205.         cpStepUpToJoint = "CP_JointBlackFrost";
  206.         hiddenSelectionsTextures[] = {
  207.             "CannabisPlus\fruits\data\cannabis_seedman_raw_BlackFrost_co.paa"
  208.         };
  209.         hiddenSelectionsMaterials[] = {
  210.             "CannabisPlus\fruits\data\cannabis_seedman_raw.rvmat"
  211.         };
  212.     };
  213.     class CP_Tobacco: Inventory_Base {
  214.         scope = 2;
  215.         displayName = "Tobacco Leaf";
  216.         descriptionShort = "Some tobacco leaves for rolling cigarettes";
  217.         model = "CannabisPlus\fruits\TobaccoLeaf.p3d";
  218.         cpStepUpToBag = "";
  219.         rotationFlags = 17;
  220.         lootCategory = "Crafted";
  221.         weight = 14;
  222.         itemSize[] = {
  223.             1,
  224.             1
  225.         };
  226.     };
  227. };
  228.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement