Skip to content

Commit

Permalink
0.16.27.1 compost fuel
Browse files Browse the repository at this point in the history
My changes: new fuel_category "humus", compost to fuel for basic-farmland, and more fuel of straw from 0.05 to 0.5J
  • Loading branch information
Oceanel51 committed Sep 26, 2018
1 parent 131d61a commit c9ece9d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .gitignore/compost.nppses
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<NotepadPlus>
<Session activeView="0">
<mainView activeIndex="3">
<File firstVisibleLine="33" xOffset="0" scrollWidth="903" startPos="2424" endPos="2424" selMode="0" lang="Lua" encoding="-1" filename="C:\Users\Irzhavskyi.MAIN\Documents\GitHub\Food-Industry\changes.lua" backupFilePath="" originalFileLastModifTimestamp="1537947877" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="1610612736" mapWrapIndentMode="-1" mapIsWrap="no" />
<File firstVisibleLine="48" xOffset="0" scrollWidth="427" startPos="1614" endPos="1614" selMode="0" lang="Lua" encoding="-1" filename="C:\Users\Irzhavskyi.MAIN\Documents\GitHub\Food-Industry\prototypes\category.lua" backupFilePath="" originalFileLastModifTimestamp="1537947939" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="0" mapWrapIndentMode="-1" mapIsWrap="no" />
<File firstVisibleLine="21" xOffset="0" scrollWidth="686" startPos="1579" endPos="1579" selMode="0" lang="Lua" encoding="-1" filename="C:\Users\Irzhavskyi.MAIN\Documents\GitHub\Food-Industry\prototypes\entity.lua" backupFilePath="" originalFileLastModifTimestamp="1537947980" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="6553646" mapWrapIndentMode="-1" mapIsWrap="no" />
<File firstVisibleLine="18" xOffset="0" scrollWidth="546" startPos="1312" endPos="1312" selMode="0" lang="Lua" encoding="-1" filename="C:\Users\Irzhavskyi.MAIN\Documents\GitHub\Food-Industry\prototypes\item.lua" backupFilePath="" originalFileLastModifTimestamp="1537948139" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="7471207" mapWrapIndentMode="-1" mapIsWrap="no">
<Mark line="48" />
</File>
</mainView>
<subView activeIndex="0" />
</Session>
</NotepadPlus>
2 changes: 1 addition & 1 deletion changes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ end

table.insert(data.raw.technology["automation"].effects,{recipe = "compressed-straw", type = "unlock-recipe"})
data.raw.item["landfill"].fuel_value = "500kJ"
data.raw.item["landfill"].fuel_category = "landfill"
data.raw.item["landfill"].fuel_category = "humus"

if data.raw.armor["light-armor"] then
data.raw.armor["light-armor"].durability = 2000
Expand Down
2 changes: 1 addition & 1 deletion prototypes/category.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ data:extend(
},
{
type = "fuel-category",
name = "landfill",
name = "humus", -- changed by Oceanel
},
{
type = "autoplace-control",
Expand Down
2 changes: 1 addition & 1 deletion prototypes/entity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data:extend(
{
type = "burner",
usage_priority = "secondary-input",
fuel_categories = {"landfill"},
fuel_categories = {"humus"}, -- changed by Oceanel
fuel_inventory_size = 1,
emissions = -0.02,
light_flicker = { intensity = 0, size = 0}, color = { r = 0.0, g = 0.0, b = 0.0 },
Expand Down
4 changes: 3 additions & 1 deletion prototypes/item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ data:extend(
order = "w-b-b",
stack_size = 200,
fuel_category = "plant",
fuel_value = "0.05J",
fuel_value = "0.5J",
},
{
type = "item",
Expand All @@ -45,6 +45,8 @@ data:extend(
icon = "__FoodIndustry__/graphics/icons/items/compost.png",
icon_size = 32,
flags = {"goes-to-main-inventory"},
fuel_category = "humus", -- changed by Oceanel
fuel_value = "2500J",
subgroup = "food-items",
order = "w-b-d",
stack_size = 200
Expand Down

0 comments on commit c9ece9d

Please sign in to comment.