Skip to content

Instantly share code, notes, and snippets.

@warmist
Created January 3, 2014 18:12
Show Gist options
  • Save warmist/8243159 to your computer and use it in GitHub Desktop.
Save warmist/8243159 to your computer and use it in GitHub Desktop.
Steam engine and spatter init files
local G=_G
local _ENV={}
name="Spatter"
raws_list={"building_spatter.txt","reaction_spatter.txt"}
patch_entity=[[
[PERMITTED_REACTION:SPATTER_ADD_WEAPON_EXTRACT]
[PERMITTED_REACTION:SPATTER_ADD_AMMO_EXTRACT]
]]
patch_files={
{
filename="material_template_default.txt",
patch=[[
[REACTION_CLASS:CREATURE_EXTRACT]
]],
after="[MATERIAL_TEMPLATE:CREATURE_EXTRACT_TEMPLATE]"
}
}
return _ENV
local G=_G
local _ENV={}
name="Steam Engine"
raws_list={"building_steam_engine.txt","item_trapcomp_steam_engine.txt","reaction_steam_engine.txt"}
patch_entity=[[
[TRAPCOMP:ITEM_TRAPCOMP_STEAM_PISTON]
[PERMITTED_BUILDING:STEAM_ENGINE]
[PERMITTED_BUILDING:MAGMA_STEAM_ENGINE]
[PERMITTED_REACTION:STOKE_BOILER]
]]
return _ENV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment