Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. RegFillTypes = {};
  2. RegFillTypes.dir = g_currentModDirectory
  3. RegFillTypes.t = {};
  4.  
  5. -- [[Fillable.registerFillType "fill"
  6. -- name name string
  7. -- nameI18N I18N string
  8. -- in modDesc.xml der Map eingeben <l10n>
  9. -- pricePerLiter, price float
  10. -- partOfEconomy Eco bool
  11. -- hudOverlayFilename hud string]]
  12.  
  13. local HudDir = "map/models/buildings/SchweineMast/Hud/" --"map/Hud/"
  14. local HudDir = "map/models/buildings/Rind/Hud/" --"map/Hud/"
  15.  
  16. table.insert(RegFillTypes.t, { name="pig", price=0.1, Eco=true, hud=HudDir.."pigHUD"});
  17. table.insert(RegFillTypes.t, { name="beef", price=0.1, Eco=true, hud=HudDir.."beefHUD"});
  18. --table.insert(RegFillTypes.t, { name="cow", price=0.5, Eco=true, hud=HudDir.."cowHUD"});
  19. --table.insert(RegFillTypes.t, { name="sheep", price=0.05, Eco=true, hud=HudDir.."sheepHUD"});
  20. --table.insert(RegFillTypes.t, { name="chicken", price=0.01, Eco=true, hud=HudDir.."chickenHUD"});
  21. --table.insert(RegFillTypes.t, { name="flour", price=0.5, Eco=true, hud=HudDir.."flourHUD"});
  22. --table.insert(RegFillTypes.t, { name="meat", price=0.5, Eco=true, hud=HudDir.."meatHUD"});