zopflipng for most textures; added tobacco
|
@ -52,3 +52,4 @@ Created by ademant (CC BY 3.0):
|
|||
farming_mustard
|
||||
farming_spelt (based on farming_barley)
|
||||
farming_hop
|
||||
farming_tobaco (based on pictures of wikimedia)
|
||||
|
|
62
crops.csv
|
@ -1,31 +1,31 @@
|
|||
name,enabled,next_plant,rarety,steps,harvest_max,eat_hp,to_culture,to_dig,has_harvest,on_soil,punchable,infectable,seed_extractable,use_flail,use_trellis,for_coffee,snappy,temperature_min,temperature_max,humidity_min,humidity_max,elevation_min,elevation_max,light_min,light_max,infect_rate_base,infect_rate_monoculture,spread_rate,grow_time_mean,straw,culture_rate
|
||||
default,1,,10,8,2,1,,,,,,,,,,,3,15,50,10,50,0,31000,11,14,1E-05,0.001,0.001,120,,
|
||||
barley,1,,10,7,2,1,,,1,1,,1,,1,,1,3,25,80,30,80,0,100,11,14,1E-05,0.001,0.001,120,farming:straw,
|
||||
beetroot,1,,10,5,2,2,,1,,1,,,,,,,3,35,80,30,80,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
blackberry,1,,10,4,2,1,,,,,1,,,,,,3,15,90,20,80,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
blueberry,1,,10,4,2,1,,,,,1,,,,,,3,45,90,40,90,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
carrot,1,,10,8,2,2,,1,,1,,,,,,,3,45,80,30,90,0,100,8,14,1E-05,0.001,0.001,120,,
|
||||
chili,1,,20,8,2,1,,,,,1,,,,,,3,45,90,10,50,50,1000,11,14,1E-05,0.001,0.001,120,,
|
||||
coffee,1,,20,5,2,1,,,,,1,,,,,1,3,50,120,50,150,50,1000,12,14,1E-05,0.001,0.001,120,,
|
||||
cocoa,1,,20,4,2,1,,,,,1,,,,,1,3,50,120,40,150,50,1000,12,14,1E-05,0.001,0.001,120,,
|
||||
corn,1,,10,8,2,2,,,,1,,1,,,,,3,35,90,30,80,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
cotton,1,,10,8,2,2,,,1,1,,1,,1,,,3,45,90,20,60,0,100,12,14,1E-05,0.001,0.001,120,,
|
||||
culturewheat,1,,100,4,2,1,1,,1,1,,1,,1,,1,3,25,80,40,80,0,100,10,14,1E-05,0.001,0.001,100,farming:straw,
|
||||
flax,,,10,7,2,1,,,1,1,,1,,1,,,3,25,80,30,80,0,100,11,14,1E-05,0.001,0.001,120,farming:flaw,
|
||||
garlic,,,10,5,2,2,,1,,1,,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
grapes,1,,10,8,2,2,1,,,1,1,1,,,1,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
hemp,1,,10,8,2,2,,,1,,,,,1,,,3,15,120,10,,0,,6,14,1E-05,0.001,1E-05,90,farming:hemp_fibre,
|
||||
hop,1,,10,7,2,1,1,,,1,1,1,,,1,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
mustard,1,,10,5,2,1,,,,,,1,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
potato,1,,10,4,2,2,,,,1,,1,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
raspberry,1,,10,4,2,1,,,,,1,,,,,,3,15,50,10,50,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
rhubarb,1,,10,3,2,2,,1,,1,,,,,,,3,15,50,10,50,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
spelt,1,,10,7,2,1,,,1,1,,1,,1,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,farming:straw,
|
||||
strawberry,1,,10,4,2,1,,,,,1,,,,,,3,15,50,10,50,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
tea,,,20,5,2,1,,,,,1,,1,,,,3,30,70,30,70,50,100,11,14,1E-05,0.001,0.001,120,,
|
||||
tobaco,,,10,8,2,2,,,,1,,1,1,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
tomato,1,,10,8,2,1,,,1,1,1,1,,,1,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
urtica,1,,10,5,2,1,,,1,,,,,1,,,3,5,150,10,100,0,2000,6,14,1E-05,0.001,0.001,80,farming:urtica_fibre,
|
||||
wheat,1,culturewheat,10,8,2,1,,,1,1,,1,,1,,1,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,farming:straw,10
|
||||
wildhop,1,hop,10,6,2,1,,,,,,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,5
|
||||
wildgrapes,1,grapes,10,4,2,1,,,,,,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,5
|
||||
name,enabled,next_plant,rarety,steps,harvest_max,eat_hp,to_culture,to_dig,has_harvest,on_soil,punchable,infectable,infection_defence,seed_extractable,use_flail,use_trellis,for_coffee,snappy,temperature_min,temperature_max,humidity_min,humidity_max,elevation_min,elevation_max,light_min,light_max,infect_rate_base,infect_rate_monoculture,spread_rate,grow_time_mean,straw,culture_rate
|
||||
default,1,,10,8,2,1,,,,,,,,,,,,3,15,50,10,50,0,31000,11,14,1E-05,0.001,0.001,120,,
|
||||
barley,1,,10,7,2,,,,1,1,,1,,,1,,1,3,25,80,30,80,0,100,11,14,1E-05,0.001,0.001,120,farming:straw,
|
||||
beetroot,1,,10,5,2,2,,1,,1,,,,,,,,3,35,80,30,80,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
blackberry,1,,10,4,2,1,,,,,1,,,,,,,3,15,90,20,80,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
blueberry,1,,10,4,2,1,,,,,1,,,,,,,3,45,90,40,90,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
carrot,1,,10,8,2,2,,1,,1,,,,,,,,3,45,80,30,90,0,100,8,14,1E-05,0.001,0.001,120,,
|
||||
chili,1,,20,8,2,1,,,,,1,,,,,,,3,45,90,10,50,50,1000,11,14,1E-05,0.001,0.001,120,,
|
||||
coffee,1,,20,5,2,1,,,,,1,,,,,,1,3,50,120,50,150,50,1000,12,14,1E-05,0.001,0.001,120,,
|
||||
cocoa,1,,20,4,2,1,,,,,1,,,,,,1,3,50,120,40,150,50,1000,12,14,1E-05,0.001,0.001,120,,
|
||||
corn,1,,10,8,2,2,,,,1,,1,,,,,,3,35,90,30,80,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
cotton,1,,10,8,2,,,,1,1,,1,,,1,,,3,45,90,20,60,0,100,12,14,1E-05,0.001,0.001,120,,
|
||||
culturewheat,1,,100,4,2,,1,,1,1,,1,,,1,,1,3,25,80,40,80,0,100,10,14,1E-05,0.001,0.001,100,farming:straw,
|
||||
flax,,,10,7,2,,,,1,1,,1,,,1,,,3,25,80,30,80,0,100,11,14,1E-05,0.001,0.001,120,farming:flaw,
|
||||
garlic,,,10,5,2,1,,1,,1,,,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
grapes,1,,10,8,2,2,1,,,1,1,1,,,,1,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
hemp,1,,10,8,2,,,,1,,,,,,1,,,3,15,120,10,,0,,6,14,1E-05,0.001,1E-05,90,farming:hemp_fibre,
|
||||
hop,1,,10,7,2,1,1,,,1,1,1,,,,1,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
mustard,1,,10,5,2,,,,,,,1,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
potato,1,,10,4,2,2,,,,1,,1,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
raspberry,1,,10,4,2,1,,,,,1,,,,,,,3,15,50,10,50,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
rhubarb,1,,10,3,2,2,,1,,1,,,,,,,,3,15,50,10,50,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
spelt,1,,10,7,2,,,,1,1,,1,,,1,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,farming:straw,
|
||||
strawberry,1,,10,4,2,1,,,,,1,,,,,,,3,15,50,10,50,0,100,9,14,1E-05,0.001,0.001,120,,
|
||||
tea,,,20,5,2,1,,,,,1,,,1,,,,3,30,70,30,70,50,100,11,14,1E-05,0.001,0.001,120,,
|
||||
tobaco,1,,10,8,2,,,,1,1,1,,2,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
tomato,1,,10,8,2,1,,,1,1,1,1,,,,1,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,
|
||||
urtica,1,,10,5,2,1,,,1,,,,1,,1,,,3,5,150,10,100,0,2000,6,14,1E-05,0.001,0.001,80,farming:urtica_fibre,
|
||||
wheat,1,culturewheat,10,8,2,,,,1,1,,1,,,1,,1,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,farming:straw,10
|
||||
wildhop,1,hop,10,6,2,,,,,,,,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,5
|
||||
wildgrapes,1,grapes,10,4,2,1,,,,,,,,,,,,3,15,50,10,50,0,100,11,14,1E-05,0.001,0.001,120,,5
|
||||
|
|
|
|
@ -13,7 +13,7 @@ end
|
|||
|
||||
local crop_definition = {}
|
||||
local crop_numeric_values = {"rarety","steps","harvest_max","eat_hp","temperature_min","temperature_max","humidity_min","humidity_max","elevation_min","elevation_max","light_min","light_max","infect_rate_base","infect_rate_monoculture","spread_rate","grow_time_mean"}
|
||||
local crop_groups = {"to_culture","to_dig","has_harvest","on_soil","punchable","infectable","seed_extractable","use_flail","use_trellis","snappy"}
|
||||
local crop_groups = {"to_culture","to_dig","has_harvest","on_soil","punchable","infectable","seed_extractable","use_flail","use_trellis","snappy","infection_defence"}
|
||||
|
||||
-- import configurations from crops.csv
|
||||
local file = io.open(farming.path .. "/crops.csv", "r")
|
||||
|
|
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 104 B |
Before Width: | Height: | Size: 112 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 136 B |
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 113 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 108 B After Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 112 B |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 112 B |
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 99 B |
Before Width: | Height: | Size: 107 B After Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 446 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 245 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 163 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 107 B After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 121 B After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 311 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 163 B |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 113 B |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 725 B After Width: | Height: | Size: 628 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 605 B After Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 198 B |