add cracking recipe for isobutane
This commit is contained in:
parent
7e7642a96f
commit
2dedba04b1
@ -26,7 +26,7 @@ local CRD = function(pos) return (minetest.registered_nodes[techage.get_node_lvm
|
|||||||
|
|
||||||
local S = techage.S
|
local S = techage.S
|
||||||
|
|
||||||
local CYCLE_TIME = 3
|
local CYCLE_TIME = 4
|
||||||
local STANDBY_TICKS = 4
|
local STANDBY_TICKS = 4
|
||||||
local COUNTDOWN_TICKS = 4
|
local COUNTDOWN_TICKS = 4
|
||||||
|
|
||||||
|
@ -72,8 +72,11 @@ end
|
|||||||
local api = {}
|
local api = {}
|
||||||
|
|
||||||
function api.store_mapblock_data(key, mapblock_data)
|
function api.store_mapblock_data(key, mapblock_data)
|
||||||
if use_marshal then
|
if use_marshal and mapblock_data then
|
||||||
set_block(key, marshal.encode(mapblock_data))
|
local data = marshal.encode(mapblock_data)
|
||||||
|
if data then
|
||||||
|
set_block(key, data)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
set_block(key, minetest.serialize(mapblock_data))
|
set_block(key, minetest.serialize(mapblock_data))
|
||||||
end
|
end
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
Cracking breaks long chains of hydrocarbons into short chains using a catalyst.
|
Cracking breaks long chains of hydrocarbons into short chains using a catalyst.
|
||||||
Gibbsite powder serves as a catalyst (is not consumed).
|
Gibbsite powder serves as a catalyst (is not consumed).
|
||||||
It can be used to convert bitumen into fueloil, fueloil into naphtha and naphtha into gasoline.
|
It can be used to convert bitumen into fueloil, fueloil into naphtha, naphtha into gasoline,
|
||||||
|
and gasoline into gas.
|
||||||
|
|
||||||
In hydrogenation, pairs of hydrogen atoms are added to a molecule to convert short-chain
|
In hydrogenation, pairs of hydrogen atoms are added to a molecule to convert short-chain
|
||||||
hydrocarbons into long ones.
|
hydrocarbons into long ones.
|
||||||
@ -45,6 +46,22 @@ techage.recipes.add("ta4_doser", {
|
|||||||
catalyst = "techage:gibbsite_powder",
|
catalyst = "techage:gibbsite_powder",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
techage.recipes.add("ta4_doser", {
|
||||||
|
output = "techage:isobutane 1",
|
||||||
|
input = {
|
||||||
|
"techage:gasoline 1",
|
||||||
|
},
|
||||||
|
catalyst = "techage:gibbsite_powder",
|
||||||
|
})
|
||||||
|
|
||||||
|
techage.recipes.add("ta4_doser", {
|
||||||
|
output = "techage:gas 1",
|
||||||
|
input = {
|
||||||
|
"techage:isobutane 1",
|
||||||
|
},
|
||||||
|
catalyst = "techage:gibbsite_powder",
|
||||||
|
})
|
||||||
|
|
||||||
-- Hydrogenate
|
-- Hydrogenate
|
||||||
techage.recipes.add("ta4_doser", {
|
techage.recipes.add("ta4_doser", {
|
||||||
output = "techage:isobutane 1",
|
output = "techage:isobutane 1",
|
||||||
|
Loading…
Reference in New Issue
Block a user