Grüß dich Kuchen,
danke fürs Zeit nehmen. Es sind leider zu viele Zeichen fürs Board.Ich musste sie aufs wesentlichen beschränken (paste... is ja nich erlaubt)
Config_vItem.hpp
Geht z.B. ums Funkgerät tf_ex8550
Spoiler anzeigen
Code
/*
* 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[] = {
"waterBottle",
"rabbit",
"apple",
"redgull",
"tbacon",
"pickaxe",
"toolkit",
"fuelFull",
"peach",
"storagesmall",
"storagebig",
"rabbit_raw",
"hen_raw",
"rooster_raw",
"sheep_raw",
"goat_raw",
"tf_ex8550"
};
};
class med_market {
name = "STR_Shops_Market";
side = "med";
conditions = "";
items[] = { "waterBottle", "rabbit", "apple", "redgull", "tbacon", "toolkit", "fuelFull", "peach", "defibrillator", "tf_ex8850", etc. }; <--- noch nicht alle drin, nur mal mit ex8850 probiert
};
};
/*
* 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 tf_ex8550 {
variable = "tf_ex8550";
displayName = "Funkgerät";
weight = 2;
buyPrice = 1000;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "\falke_task_force_radio_items\ex8550\ex8550_icon.paa";
};
// Bar
class snb_4xGold {
variable = "snb_4xGold";
displayName = "Bucks Gold";
weight = 2;
buyPrice = 500;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\4X.paa";
};
class CarltonDraught {
variable = "CarltonDraught";
displayName = "Carlton Draught";
weight = 2;
buyPrice = 400;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\carlton.paa";
};
class Corona {
variable = "Corona";
displayName = "Corona";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\corona.paa";
};
class Coopers {
variable = "Coopers";
displayName = "Coopers";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\coopers.paa";
};
class JimBean {
variable = "JimBean";
displayName = "Jim Bean";
weight = 2;
buyPrice = 800;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\jimbean.paa";
};
class VBCan {
variable = "VBCan";
displayName = "VB Can";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\vb.paa";
};
class Bread {
variable = "Bread";
displayName = "Brot";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\bread.paa";
};
class HamCheeseSanga {
variable = "HamCheeseSanga";
displayName = "Cheesburger";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\hamcheese.paa";
};
class Lamington {
variable = "Lamington";
displayName = "Lamington";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\lamington.paa";
};
class MaggiNoodle {
variable = "MaggiNoodle";
displayName = "MaggiNoodle";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\magginoodle.paa";
};
class MeatPie {
variable = "MeatPie";
displayName = "MeatPie";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\meatpie.paa";
};
class PartyPack {
variable = "PartyPack";
displayName = "PartyPack";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\partypack.paa";
};
class Sausages {
variable = "Sausages";
displayName = "Sausages";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\sausages.paa";
};
class Shapes {
variable = "Shapes";
displayName = "Shapes";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\shapes.paa";
};
class SmithsChips {
variable = "SmithsChpis";
displayName = "SmithsChips";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\smithschips.paa";
};
class Steak {
variable = "Steak";
displayName = "Steak";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\steak.paa";
};
class Timtams {
variable = "Timtams";
displayName = "Timtams";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\timtams.paa";
};
class VegemiteSandwhich {
variable = "VegemiteSandwhich";
displayName = "VegemiteSandwhich";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\vegemitesandwhich.paa";
};
class WeetBix {
variable = "WeetBix";
displayName = "WeetBix";
weight = 2;
buyPrice = 300;
sellPrice = 100;
illegal = false;
edible = 100;
icon = "\MM_shopping\images\weetbix.paa";
};
};
Alles anzeigen
Mir wärs am liebsten wenn das alles gar nicht virtuell wäre sondern im Inventar des Spielers landen könnte.
Danke