Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Title: POTATOROW Add
- --Autor: Vnsfdg2
- --Version: 1.0.1 Beta
- --Date: 15.01.2017
- print("Register filltype: POTATOROW by VNSFDG2");
- local PRHudFile = Utils.getFilename("tipmat/hud_fill_potato_row.png", g_currentModDirectory);
- local diffuseMapPotatorow = Utils.getFilename("tipmat/potatoes_row_diffuse.png", g_currentModDirectory);
- local normalMapPotatorow = Utils.getFilename("tipmat/potatoes_row_normal.png", g_currentModDirectory);
- local distancMapPotatorow = Utils.getFilename("tipmat/potatoes_row_Distance.png", g_currentModDirectory);
- FruitUtil.registerFruitTypeWindrow(fruitPotato,"potato_row",g_i18n:getText("potato_row"),FillUtil.FILLTYPE_CATEGORY_WINDROW, 0.045, 4.37, true, PRHudFile,PRHudFile, 350 * 0.000001* fruitWeightScale, math.rad(50));
- TipUtil.registerDensityMapHeightType(FillUtil.FILLTYPE_POTATO_ROW,math.rad(30),1.0,0.08,0.00,0.08,1, false, diffuseMapPotatorow, normalMapPotatorow, distancMapPotatorow);
- FruitUtil.registerFruitTypeConverter(kopaczka);
- FruitUtil.addFruitToFillTypeConversion(kopaczka,"potato", "potato_row",1,1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement