ToiletBlock::ToiletBlock(int id, Material const& material) : RotatableBlock("blockToilet", id, material) { setSolid(false); setSoundType(Block::SOUND_STONE); setDestroyTime(1.0F); tex = getTextureUVCoordinateSet("quartz_block", 0); }
MicrowaveBlock::MicrowaveBlock(int id, Material const& material) : RotatableBlock("blockMicrowave", id, material) { tex = getTextureUVCoordinateSet("quartz_block", 0); secondary_tex = getTextureUVCoordinateSet("stone", 0); terciary_tex = getTextureUVCoordinateSet("wool", 15); setSoundType(Block::SOUND_WOOD); setSolid(false); }
CookieJarTile::CookieJarTile(int id, Material const* material) : FurnitureTile(id, material){ init(); setNameId("tileCookieJar"); setSoundType(Tile::SOUND_GLASS); Tile::solid[id] = false; Tile::lightBlock[id] = 0; renderPass = Tile::glass->renderPass; }
ChairBlock::ChairBlock(int id, std::string name, FurnitureBlockAttributes attributes, int item) : RotatableBlock("blockChair", id, attributes.realMaterial) { setSolid(false); setSoundType(attributes.sounds); setDestroyTime(attributes.hardness); tex = attributes.primary_tex; secondary_tex = attributes.secondary_tex; this->droppedItem = item; }
TvBlock::TvBlock(int id, Material const& material) : FurnitureBlock("blockTv", id, material) { tex = getTextureUVCoordinateSet("log", 0); secondary_tex = getTextureUVCoordinateSet("planks", 0); terciary_tex = getTextureUVCoordinateSet("wool", 15); setSoundType(Block::SOUND_WOOD); setSolid(false); }
CoffeeTableTile::CoffeeTableTile(int id, std::string name, FurnitureTileAttributes attributes, int item) : FurnitureTile(id, attributes.realMaterial) { Tile::solid[id] = false; Tile::lightBlock[id] = 0; setNameId(name); setSoundType(attributes.sounds); setDestroyTime(attributes.hardness); tex = attributes.primary_tex; secondary_tex = attributes.secondary_tex; droppedItem = item; }
BarStoolTile::BarStoolTile(int id, Material const* material) : FurnitureTile(id, material) { tex = getTextureUVCoordinateSet("wool", 0); secondary_tex = getTextureUVCoordinateSet("stained_clay", 9); terciary_tex = getTextureUVCoordinateSet("quartz_block", 0); quartenary_tex = getTextureUVCoordinateSet("stone", 0); setNameId("tileBarStool"); setSoundType(Tile::SOUND_WOOD); Tile::solid[id] = false; Tile::lightBlock[id] = 0; }
RedstoneWireTile::RedstoneWireTile(int id): Tile(id, &Material::decoration) { tex = getTextureUVCoordinateSet("redstone_dust_cross", 0); //secondary_tex = getTextureUVCoordinateSet("redstone_dust_line", 0); init(); setNameId("redstone"); setShape(0.0F, 0.0F, 0.0F, 1.0F, 0.0625F, 1.0F); setCategory(3); setSoundType(Tile::SOUND_STONE); Tile::solid[id] = false; Tile::lightBlock[id] = 0; new TileItem(id - 256); }