SHARE
TWEET

Untitled

a guest Apr 21st, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class CfgGather {
  2.     class Resources {
  3.         //ohne Verarbeiter
  4.    
  5.         class apple {
  6.             amount = 3;
  7.             zones[] = { "apple_1", "apple_2", "apple_3", "apple_4" };
  8.             item = "";
  9.             zoneSize = 40;
  10.         };
  11.        
  12.         class ananas {
  13.             amount = 3;
  14.             zones[] = { "ananas_1", "ananas_2", "ananas_3" };
  15.             item = "";
  16.             zoneSize = 40;
  17.         };
  18.        
  19.         class bananen {
  20.             amount = 5;
  21.             zones[] = { "bananen_1"};
  22.             item = "";
  23.             zoneSize = 100;
  24.         };
  25.  
  26.  
  27.     class Minerals {
  28.         //mit Verarbeiter   //ohne Item Force
  29.        
  30.         class kokos {
  31.             amount = 2;
  32.             zones[] = { "kokos_1" };
  33.             item = "";
  34.             mined[] = { "kokosnuss" };
  35.             zoneSize = 30;
  36.         }; 
  37.        
  38.         class zucker {
  39.             amount = 2;
  40.             zones[] = { "zucker_1" };
  41.             item = "";
  42.             mined[] = { "zuckerrohr" };
  43.             zoneSize = 30;
  44.         };
  45.  
  46.         class kakao {
  47.             amount = 2;
  48.             zones[] = { "kakao_field_1" };
  49.             item = "";
  50.             mined[] = { "kakaobohnen" };
  51.             zoneSize = 30;
  52.         }; 
  53.        
  54.         class muschel {
  55.             amount = 2;
  56.             zones[] = { "muschel_1" };
  57.             item = "";
  58.             mined[] = { "muschel" };
  59.             zoneSize = 30;
  60.         }; 
  61.        
  62.         class oel {
  63.             amount = 2;
  64.             zones[] = { "oil_field_1", "oil_field_2" };
  65.             item = "";
  66.             mined[] = { "rohoel" };
  67.             zoneSize = 30;
  68.         };
  69.        
  70.         //mit Verarbeiter //mit Item Force 
  71.        
  72.         class vulkanstein {
  73.             amount = 2;
  74.             zones[] = { "vulkanstein" };
  75.             item = "pickaxe";
  76.             mined[] = { "vulkangestein" };
  77.             zoneSize = 30;
  78.         };
  79.  
  80.         class kupfer {
  81.             amount = 2;
  82.             zones[] = { "copper_mine" };
  83.             item = "pickaxe";
  84.             mined[] = { "kupfererz" };
  85.             zoneSize = 30;
  86.         };
  87.  
  88.         class diamanten {
  89.             amount = 2;
  90.             zones[] = { "diamond_mine" };
  91.             item = "pickaxe";
  92.             mined[] = { "rohdiamanten" };
  93.             zoneSize = 30;
  94.         };
  95.  
  96.         class holz {
  97.             amount = 2;
  98.             zones[] = { "holz_1", "holz_2" };
  99.             item = "axe";
  100.             mined[] = { "baumstamm" };
  101.             zoneSize = 30;
  102.         };
  103.    
  104.         //Illegal
  105.        
  106.         class heroin {
  107.             amount = 1;
  108.             zones[] = { "heroin" };
  109.             item = "";
  110.             mined[] = { "heroin_unverarbeitet" };
  111.             zoneSize = 30;
  112.         };
  113.        
  114.         class pilz {
  115.             amount = 1;
  116.             zones[] = { "pilz" };
  117.             item = "";
  118.             mined[] = { "pilze" };
  119.             zoneSize = 40;
  120.         };
  121.        
  122.         class kokain {
  123.             amount = 1;
  124.             zones[] = { "kokain" };
  125.             item = "";
  126.             mined[] = { "kokapflanzen" };
  127.             zoneSize = 30;
  128.         };
  129.        
  130.         class hanf {
  131.             amount = 1;
  132.             zones[] = { "weed" };
  133.             item = "";
  134.             mined[] = { "hanfknospen" };
  135.             zoneSize = 30;
  136.         };
  137.        
  138.         //Illegal mit Prozent
  139.        
  140.         class wrack {
  141.             amount = 10;
  142.             zones[] = { "wrack_1", "wrack_2", "wrack_3" };
  143.             item = "";
  144.             mined[] = { {"matsch",0,25 },{"rostigeschrauben",25,45},{"plastikabfall",45,60},{"altemuenzen",60,70},{"algen",70,80},{"wrackteile",80,100} };
  145.             zoneSize = 30;
  146.         };
  147.  
  148.         class artefakt {
  149.             amount = 10;
  150.             zones[] = { "artefakt" };
  151.             item = "";
  152.             mined[] = { {"glasflasche",0,25 },{"kieselsteine",25,45},{"plastikabfall",45,60},{"altemuenzen",60,76},{"marihuana",76,80},{"dreckartefakte",80,95},{"goldbar",95,100} };
  153.             zoneSize = 40;
  154.         };
  155.        
  156.         class tiereier {
  157.             amount = 10;
  158.             zones[] = { "tiereier" };
  159.             item = "";
  160.             mined[] = { {"matsch",0,25 },{"muschel",25,45},{"plastikabfall",45,60},{"altemuenzen",60,76},{"waterBottle",76,80},{"tiereier",80,100} };
  161.             zoneSize = 35;
  162.         };
  163.  
  164.         //Legal ohne Verarbeiter
  165.        
  166.         class Schrottplatz {
  167.             amount = 5;
  168.             zones[] = { "schrottplatz" };
  169.             item = "";
  170.             mined[] = { {"donuts",0,5 },{"waterBottle",5,10},{"plastikabfall",10,25},{"altemuenzen",25,30},{"tbacon",30,35},{"coffee",35,40},{"redgull",40,45},{"schokolade",45,50},{"schliffdiamanten",50,53},{"marihuana",53,55},{"goldbar",55,57},{"boltcutter",57,60},{"lockpick",60,65},{"spikeStrip",65,68},{"storagesmall",68,69},{"storagebig",69,70},{"fuelEmpty",70,80},{"fuelFull",80,85},{"pickaxe",85,95},{"toolkit",95,100} };
  171.             zoneSize = 30;
  172.         };
  173.         /*
  174.         This block can be set using percent,if you want players to mine only one resource ,just leave it as it is.
  175.         Example:
  176.             class copper_unrefined
  177.             {
  178.                 amount = 2;
  179.             zones[] = { "copper_mine" };
  180.             item = "pickaxe";
  181.             mined[] = { "copper_unrefined" };
  182.         This will make players mine only copper_unrefined
  183.         Now let's go deeper
  184.         Example 2:
  185.             class copper_unrefined
  186.         {
  187.                 amount = 2;
  188.             zones[] = { "copper_mine" };
  189.             item = "pickaxe";
  190.             mined[] = { {"copper_unrefined",0,25},{"iron_unrefined",25,95},{"diamond_uncut",95,100} };
  191.         };
  192.         This will give :
  193.         25(±1)% to copper_unrefined;
  194.         70(±1)% to iron_unrefined;
  195.         5%(±1)% to diamond_uncut;
  196.  
  197.                                                              ! Watch Out !
  198.         If percents are used,you MUST put more than 1 resource in the mined parameter
  199.         mined[] = { {"copper_unrefined",0,25} }; NOT OK (But the script will work)
  200.         mined[] = { {"copper_unrefined",0,45 },{"iron_unrefined",45} };  NOT OK (The script won't work )
  201.         mined[] = { {"copper_unrefined",0,45},{"copper_unrefined",80,100} }; NOT OK
  202.         mined[] = { "copper_unrefined" }; OK
  203.         mined[] = { {"copper_unrefined",0,35} , { "iron_unrefined" ,35,100 } }; OK
  204.         */
  205.     };     
  206. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top