mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 05:46:22 +09:00
.
This commit is contained in:
@@ -268,6 +268,7 @@ local items = {
|
|||||||
results = {{type = 'item', name = 'cryogenic-science-pack', amount = 2}, {type = 'fluid', name = 'fluoroketone-hot', amount = 5, fluidbox_multiplier = 10, ignored_by_stats = 5, ignored_by_productivity = 5}}
|
results = {{type = 'item', name = 'cryogenic-science-pack', amount = 2}, {type = 'fluid', name = 'fluoroketone-hot', amount = 5, fluidbox_multiplier = 10, ignored_by_stats = 5, ignored_by_productivity = 5}}
|
||||||
},
|
},
|
||||||
['agricultural-science-pack'] = {
|
['agricultural-science-pack'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
energy_required = 10,
|
energy_required = 10,
|
||||||
ingredients = {{type = 'fluid', name = 'water', amount = 10, fluidbox_multiplier = 10}, {type = 'item', name = 'yumako-mash', amount = 1}, {type = 'item', name = 'jelly', amount = 1}},
|
ingredients = {{type = 'fluid', name = 'water', amount = 10, fluidbox_multiplier = 10}, {type = 'item', name = 'yumako-mash', amount = 1}, {type = 'item', name = 'jelly', amount = 1}},
|
||||||
results = {{type = 'item', name = 'agricultural-science-pack', amount = 2}}
|
results = {{type = 'item', name = 'agricultural-science-pack', amount = 2}}
|
||||||
|
|||||||
@@ -158,14 +158,26 @@ end
|
|||||||
if data.raw['plant'] and data.raw['plant']['tree-plant'] and data.raw['plant']['tree-plant'].autoplace then
|
if data.raw['plant'] and data.raw['plant']['tree-plant'] and data.raw['plant']['tree-plant'].autoplace then
|
||||||
data.raw['plant']['tree-plant'].autoplace.tile_restriction = nil
|
data.raw['plant']['tree-plant'].autoplace.tile_restriction = nil
|
||||||
|
|
||||||
|
if data.raw['plant']['tree-plant'].minable then
|
||||||
|
data.raw['plant']['tree-plant'].minable.results = {type = 'item', name = 'wood', amount = 20}
|
||||||
|
end
|
||||||
|
|
||||||
if data.raw['plant']['yumako-tree'] and data.raw['plant']['yumako-tree'] then
|
if data.raw['plant']['yumako-tree'] and data.raw['plant']['yumako-tree'] then
|
||||||
data.raw['plant']['yumako-tree'].autoplace.tile_restriction = nil
|
data.raw['plant']['yumako-tree'].autoplace.tile_restriction = nil
|
||||||
data.raw['plant']['yumako-tree'].harvest_emissions = nil
|
data.raw['plant']['yumako-tree'].harvest_emissions = nil
|
||||||
|
|
||||||
|
if data.raw['plant']['yumako-tree'].minable then
|
||||||
|
data.raw['plant']['yumako-tree'].minable.results = {type = 'item', name = 'yumako', amount = 100}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.raw['plant']['jellystem'] and data.raw['plant']['jellystem'] then
|
if data.raw['plant']['jellystem'] and data.raw['plant']['jellystem'] then
|
||||||
data.raw['plant']['jellystem'].autoplace.tile_restriction = nil
|
data.raw['plant']['jellystem'].autoplace.tile_restriction = nil
|
||||||
data.raw['plant']['jellystem'].harvest_emissions = nil
|
data.raw['plant']['jellystem'].harvest_emissions = nil
|
||||||
|
|
||||||
|
if data.raw['plant']['jellystem'].minable then
|
||||||
|
data.raw['plant']['jellystem'].minable.results = {type = 'item', name = 'jellynut', amount = 100}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user