mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-14 14:02:00 +00:00
TU24
This commit is contained in:
@@ -213,7 +213,11 @@ Item *Item::frame = nullptr;
|
||||
|
||||
Item *Item::skull = nullptr;
|
||||
|
||||
|
||||
// TU14
|
||||
//Item *Item::writingBook = nullptr;
|
||||
//Item *Item::writtenBook = nullptr;
|
||||
|
||||
Item *Item::emerald = nullptr;
|
||||
|
||||
Item *Item::flowerPot = nullptr;
|
||||
@@ -247,14 +251,6 @@ Item *Item::horseArmorDiamond = nullptr;
|
||||
Item *Item::lead = nullptr;
|
||||
Item *Item::nameTag = nullptr;
|
||||
|
||||
// TU25
|
||||
//Item *Item::writingBook = nullptr;
|
||||
//Item *Item::writtenBook = nullptr;
|
||||
Item *Item::door_spruce = nullptr;
|
||||
Item *Item::door_birch = nullptr;
|
||||
Item *Item::door_jungle = nullptr;
|
||||
Item *Item::door_acacia = nullptr;
|
||||
Item *Item::door_dark_oak = nullptr;
|
||||
|
||||
void Item::staticCtor()
|
||||
{
|
||||
@@ -288,8 +284,8 @@ void Item::staticCtor()
|
||||
Item::hoe_diamond = ( new HoeItem(37, _Tier::DIAMOND) ) ->setBaseItemTypeAndMaterial(eBaseItemType_hoe, eMaterial_diamond) ->setIconName(L"hoeDiamond")->setDescriptionId(IDS_ITEM_HOE_DIAMOND)->setUseDescriptionId(IDS_DESC_HOE);
|
||||
Item::hoe_gold = ( new HoeItem(38, _Tier::GOLD) ) ->setBaseItemTypeAndMaterial(eBaseItemType_hoe, eMaterial_gold) ->setIconName(L"hoeGold")->setDescriptionId(IDS_ITEM_HOE_GOLD)->setUseDescriptionId(IDS_DESC_HOE);
|
||||
|
||||
Item::door_wood = ( new DoorItem(68, Material::wood, Tile::door_wood) ) ->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_wood)->setIconName(L"doorWood")->setDescriptionId(IDS_ITEM_DOOR_WOOD)->setUseDescriptionId(IDS_DESC_DOOR_WOOD);
|
||||
Item::door_iron = ( new DoorItem(74, Material::metal, Tile::door_iron) ) ->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_iron)->setIconName(L"doorIron")->setDescriptionId(IDS_ITEM_DOOR_IRON)->setUseDescriptionId(IDS_DESC_DOOR_IRON);
|
||||
Item::door_wood = ( new DoorItem(68, Material::wood) ) ->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_wood)->setIconName(L"doorWood")->setDescriptionId(IDS_ITEM_DOOR_WOOD)->setUseDescriptionId(IDS_DESC_DOOR_WOOD);
|
||||
Item::door_iron = ( new DoorItem(74, Material::metal) ) ->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_iron)->setIconName(L"doorIron")->setDescriptionId(IDS_ITEM_DOOR_IRON)->setUseDescriptionId(IDS_DESC_DOOR_IRON);
|
||||
|
||||
Item::helmet_leather = static_cast<ArmorItem *>((new ArmorItem(42, ArmorItem::ArmorMaterial::CLOTH, 0, ArmorItem::SLOT_HEAD))->setBaseItemTypeAndMaterial(eBaseItemType_helmet, eMaterial_cloth)->setIconName(L"helmetCloth")->setDescriptionId(IDS_ITEM_HELMET_CLOTH)->setUseDescriptionId(IDS_DESC_HELMET_LEATHER));
|
||||
Item::helmet_iron = static_cast<ArmorItem *>((new ArmorItem(50, ArmorItem::ArmorMaterial::IRON, 2, ArmorItem::SLOT_HEAD))->setBaseItemTypeAndMaterial(eBaseItemType_helmet, eMaterial_iron)->setIconName(L"helmetIron")->setDescriptionId(IDS_ITEM_HELMET_IRON)->setUseDescriptionId(IDS_DESC_HELMET_IRON));
|
||||
@@ -464,6 +460,10 @@ void Item::staticCtor()
|
||||
// TU12
|
||||
Item::skull = (new SkullItem(141)) ->setIconName(L"skull")->setDescriptionId(IDS_ITEM_SKULL)->setUseDescriptionId(IDS_DESC_SKULL);
|
||||
|
||||
// TU14
|
||||
//Item::writingBook = (new WritingBookItem(130))->setIcon(11, 11)->setDescriptionId("writingBook");
|
||||
//Item::writtenBook = (new WrittenBookItem(131))->setIcon(12, 11)->setDescriptionId("writtenBook");
|
||||
|
||||
Item::emerald = (new Item(132)) ->setBaseItemTypeAndMaterial(eBaseItemType_treasure, eMaterial_emerald)->setIconName(L"emerald")->setDescriptionId(IDS_ITEM_EMERALD)->setUseDescriptionId(IDS_DESC_EMERALD);
|
||||
|
||||
Item::flowerPot = (new TilePlanterItem(134, Tile::flowerPot)) ->setIconName(L"flowerPot")->setDescriptionId(IDS_FLOWERPOT)->setUseDescriptionId(IDS_DESC_FLOWERPOT);
|
||||
@@ -493,17 +493,8 @@ void Item::staticCtor()
|
||||
Item::horseArmorGold = (new Item(162)) ->setIconName(L"gold_horse_armor")->setMaxStackSize(1)->setDescriptionId(IDS_ITEM_GOLD_HORSE_ARMOR)->setUseDescriptionId(IDS_DESC_GOLD_HORSE_ARMOR);
|
||||
Item::horseArmorDiamond = (new Item(163)) ->setIconName(L"diamond_horse_armor")->setMaxStackSize(1)->setDescriptionId(IDS_ITEM_DIAMOND_HORSE_ARMOR)->setUseDescriptionId(IDS_DESC_DIAMOND_HORSE_ARMOR);
|
||||
Item::lead = (new LeashItem(164)) ->setBaseItemTypeAndMaterial(eBaseItemType_pockettool, eMaterial_undefined)->setIconName(L"lead")->setDescriptionId(IDS_ITEM_LEAD)->setUseDescriptionId(IDS_DESC_LEAD);
|
||||
Item::nameTag = (new NameTagItem(165)) ->setIconName(L"name_tag")->setDescriptionId(IDS_ITEM_NAME_TAG)->setUseDescriptionId(IDS_DESC_NAME_TAG);
|
||||
Item::nameTag = (new NameTagItem(165)) ->setIconName(L"name_tag")->setDescriptionId(IDS_ITEM_NAME_TAG)->setUseDescriptionId(IDS_DESC_NAME_TAG);}
|
||||
|
||||
// TU25
|
||||
//Item::writingBook = (new WritingBookItem(130))->setIcon(11, 11)->setDescriptionId("writingBook");
|
||||
//Item::writtenBook = (new WrittenBookItem(131))->setIcon(12, 11)->setDescriptionId("writtenBook");
|
||||
Item::door_spruce = (new DoorItem(171, Material::wood, Tile::door_spruce))->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_sprucewood)->setIconName(L"door_spruce")->setDescriptionId(IDS_TILE_DOOR_SPRUCE)->setUseDescriptionId(IDS_DESC_DOOR_WOOD);
|
||||
Item::door_birch = (new DoorItem(172, Material::wood, Tile::door_birch))->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_birchwood)->setIconName(L"door_birch")->setDescriptionId(IDS_TILE_DOOR_BIRCH)->setUseDescriptionId(IDS_DESC_DOOR_WOOD);
|
||||
Item::door_jungle = (new DoorItem(173, Material::wood, Tile::door_jungle))->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_junglewood)->setIconName(L"door_jungle")->setDescriptionId(IDS_TILE_DOOR_JUNGLE)->setUseDescriptionId(IDS_DESC_DOOR_WOOD);
|
||||
Item::door_acacia = (new DoorItem(174, Material::wood, Tile::door_acacia))->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_acaciawood)->setIconName(L"door_acacia")->setDescriptionId(IDS_TILE_DOOR_ACACIA)->setUseDescriptionId(IDS_DESC_DOOR_WOOD);
|
||||
Item::door_dark_oak = (new DoorItem(175, Material::wood, Tile::door_dark_oak))->setBaseItemTypeAndMaterial(eBaseItemType_door, eMaterial_darkoakwood)->setIconName(L"door_dark_oak")->setDescriptionId(IDS_TILE_DOOR_DARK_OAK)->setUseDescriptionId(IDS_DESC_DOOR_WOOD);
|
||||
}
|
||||
|
||||
// 4J Stu - We need to do this after the staticCtor AND after staticCtors for other class
|
||||
// eg Recipes
|
||||
@@ -1040,10 +1031,10 @@ const int Item::hoe_gold_Id ;
|
||||
const int Item::seeds_wheat_Id ;
|
||||
const int Item::wheat_Id ;
|
||||
const int Item::bread_Id ;
|
||||
const int Item::helmet_leather_Id ;
|
||||
const int Item::chestplate_leather_Id;
|
||||
const int Item::helmet_leather_Id ;
|
||||
const int Item::chestplate_leather_Id ;
|
||||
const int Item::leggings_leather_Id ;
|
||||
const int Item::boots_leather_Id ;
|
||||
const int Item::boots_leather_Id ;
|
||||
const int Item::helmet_chain_Id ;
|
||||
const int Item::chestplate_chain_Id ;
|
||||
const int Item::leggings_chain_Id ;
|
||||
@@ -1066,44 +1057,44 @@ const int Item::porkChop_cooked_Id ;
|
||||
const int Item::painting_Id ;
|
||||
const int Item::apple_gold_Id ;
|
||||
const int Item::sign_Id ;
|
||||
const int Item::door_wood_Id ;
|
||||
const int Item::door_wood_Id ;
|
||||
const int Item::bucket_empty_Id ;
|
||||
const int Item::bucket_water_Id ;
|
||||
const int Item::bucket_lava_Id ;
|
||||
const int Item::minecart_Id ;
|
||||
const int Item::saddle_Id ;
|
||||
const int Item::door_iron_Id ;
|
||||
const int Item::door_iron_Id ;
|
||||
const int Item::redStone_Id ;
|
||||
const int Item::snowBall_Id ;
|
||||
const int Item::boat_Id ;
|
||||
const int Item::leather_Id ;
|
||||
const int Item::bucket_milk_Id ;
|
||||
const int Item::brick_Id ;
|
||||
const int Item::bucket_milk_Id ;
|
||||
const int Item::brick_Id ;
|
||||
const int Item::clay_Id ;
|
||||
const int Item::reeds_Id ;
|
||||
const int Item::paper_Id ;
|
||||
const int Item::reeds_Id ;
|
||||
const int Item::paper_Id ;
|
||||
const int Item::book_Id ;
|
||||
const int Item::slimeBall_Id ;
|
||||
const int Item::slimeBall_Id ;
|
||||
const int Item::minecart_chest_Id ;
|
||||
const int Item::minecart_furnace_Id ;
|
||||
const int Item::egg_Id ;
|
||||
const int Item::compass_Id ;
|
||||
const int Item::fishingRod_Id ;
|
||||
const int Item::clock_Id ;
|
||||
const int Item::clock_Id ;
|
||||
const int Item::yellowDust_Id ;
|
||||
const int Item::fish_raw_Id ;
|
||||
const int Item::fish_cooked_Id ;
|
||||
const int Item::dye_powder_Id ;
|
||||
const int Item::bone_Id ;
|
||||
const int Item::sugar_Id ;
|
||||
const int Item::sugar_Id ;
|
||||
const int Item::cake_Id ;
|
||||
const int Item::bed_Id ;
|
||||
const int Item::repeater_Id ;
|
||||
const int Item::repeater_Id ;
|
||||
const int Item::cookie_Id ;
|
||||
const int Item::map_Id ;
|
||||
const int Item::shears_Id ;
|
||||
const int Item::melon_Id ;
|
||||
const int Item::seeds_pumpkin_Id ;
|
||||
const int Item::melon_Id ;
|
||||
const int Item::seeds_pumpkin_Id ;
|
||||
const int Item::seeds_melon_Id ;
|
||||
const int Item::beef_raw_Id ;
|
||||
const int Item::beef_cooked_Id ;
|
||||
@@ -1112,39 +1103,39 @@ const int Item::chicken_cooked_Id ;
|
||||
const int Item::rotten_flesh_Id ;
|
||||
const int Item::enderPearl_Id ;
|
||||
const int Item::blazeRod_Id ;
|
||||
const int Item::ghastTear_Id ;
|
||||
const int Item::ghastTear_Id ;
|
||||
const int Item::goldNugget_Id ;
|
||||
const int Item::netherwart_seeds_Id;
|
||||
const int Item::potion_Id ;
|
||||
const int Item::glassBottle_Id ;
|
||||
const int Item::spiderEye_Id ;
|
||||
const int Item::spiderEye_Id ;
|
||||
const int Item::fermentedSpiderEye_Id;
|
||||
const int Item::blazePowder_Id ;
|
||||
const int Item::magmaCream_Id ;
|
||||
const int Item::brewingStand_Id ;
|
||||
const int Item::cauldron_Id ;
|
||||
const int Item::eyeOfEnder_Id ;
|
||||
const int Item::speckledMelon_Id ;
|
||||
const int Item::spawnEgg_Id ;
|
||||
const int Item::expBottle_Id ;
|
||||
const int Item::skull_Id ;
|
||||
const int Item::record_01_Id ;
|
||||
const int Item::record_02_Id ;
|
||||
const int Item::record_03_Id ;
|
||||
const int Item::record_04_Id ;
|
||||
const int Item::record_05_Id ;
|
||||
const int Item::record_06_Id ;
|
||||
const int Item::record_07_Id ;
|
||||
const int Item::record_08_Id ;
|
||||
const int Item::record_09_Id ;
|
||||
const int Item::record_10_Id ;
|
||||
const int Item::record_11_Id ;
|
||||
const int Item::record_12_Id ;
|
||||
const int Item::speckledMelon_Id ;
|
||||
const int Item::spawnEgg_Id;
|
||||
const int Item::expBottle_Id ;
|
||||
const int Item::skull_Id ;
|
||||
const int Item::record_01_Id ;
|
||||
const int Item::record_02_Id ;
|
||||
const int Item::record_03_Id ;
|
||||
const int Item::record_04_Id ;
|
||||
const int Item::record_05_Id ;
|
||||
const int Item::record_06_Id ;
|
||||
const int Item::record_07_Id ;
|
||||
const int Item::record_08_Id ;
|
||||
const int Item::record_09_Id ;
|
||||
const int Item::record_10_Id ;
|
||||
const int Item::record_11_Id ;
|
||||
const int Item::record_12_Id ;
|
||||
const int Item::fireball_Id ;
|
||||
const int Item::itemFrame_Id ;
|
||||
const int Item::itemFrame_Id ;
|
||||
const int Item::netherbrick_Id ;
|
||||
const int Item::emerald_Id ;
|
||||
const int Item::flowerPot_Id ;
|
||||
const int Item::flowerPot_Id ;
|
||||
const int Item::carrots_Id ;
|
||||
const int Item::potato_Id ;
|
||||
const int Item::potatoBaked_Id ;
|
||||
@@ -1152,13 +1143,6 @@ const int Item::potatoPoisonous_Id ;
|
||||
const int Item::carrotGolden_Id ;
|
||||
const int Item::carrotOnAStick_Id ;
|
||||
const int Item::pumpkinPie_Id ;
|
||||
const int Item::enchantedBook_Id ;
|
||||
const int Item::enchantedBook_Id ;
|
||||
const int Item::netherQuartz_Id ;
|
||||
//const int Item::writingBook_Id ;
|
||||
//const int Item::writtenBook_Id ;
|
||||
const int Item::door_spruce_Id ;
|
||||
const int Item::door_birch_Id ;
|
||||
const int Item::door_jungle_Id ;
|
||||
const int Item::door_acacia_Id ;
|
||||
const int Item::door_dark_oak_Id ;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user