This commit is contained in:
Brevven 2022-07-12 23:28:40 -07:00
parent 0fe9199da8
commit e47c5ba23e
4 changed files with 91 additions and 0 deletions

37
Makefile Normal file
View file

@ -0,0 +1,37 @@
# General makefile for factorio mods.
#
# Presumes the development work is done in a <factoriodir>/dev/<modname>/
# directory where this makefile resides. This directory must be parallel to
# the <factoriodir>/mods/ directory where mods are installed. Run `make
# install` from dev/<modname> to install the mod as a zip file. That zip file
# should also be ready to upload to the mod portal
.PHONY: copy lint-changelog install
libdir = "../bzlib"
libfiles = $(shell ls $(libdir)/*.lua | grep -o '[^/]*.lua')
pwd = $(shell pwd)
v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json)
link:
for f in $(libfiles) ; do \
echo "using $(libdir)/$$f" ;\
cp $(libdir)/$$f .; \
done;
copy: link
rm -rf ../$(v)
mkdir -p ../$(v)
cp -rf * ../$(v)
rm -f ../$(v).zip
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*" -x "*.bak" -x "*.blend*"
install: lint-changelog copy
cp -f ../$(v).zip ../../mods/
lint-changelog: copy
python3 ../da-changelog-tools_0.0.14/changelog-checker.py --changelog ../$(v).zip
zorro:
python3 ../da-changelog-tools_0.0.14/changelog-checker.py --zorro --changelog ../$(v).zip

18
README.md Normal file
View file

@ -0,0 +1,18 @@
# Natural Gas
[factorio mod page](https://mods.factorio.com/mod/bzgas)
Adds natural gas to the base game
## Version History
See changelog.txt
## Created by
- [brevven](https://mods.factorio.com/user/brevven) (code, design, graphics)
- [ElAdamo](https://mods.factorio.com/user/ElAdamo) (Gas-fired boiler: code, design, graphics)
## Thanks to
### Localization

11
changelog.txt Normal file
View file

@ -0,0 +1,11 @@
---------------------------------------------------------------------------------------------------
Version: 0.0.1
Date: 2022-07-15
Features:
- Alpha release. Adds natural gas, early game plastic, and other intermediates.
- Integrate's ElAdamo's Gas-fired boiler mod.
If it's ever updated, might remove from this mod and make a dependency.
- Compatible with Krastorio 2
- Compatible with Space Exploration
- Compatible with deadlock stacking/crating
- Compatible with many other mods

25
info.json Normal file
View file

@ -0,0 +1,25 @@
{
"name": "bzgas",
"version": "0.0.1",
"factorio_version": "1.1",
"title": "Natural Gas",
"author": "Brevven",
"contact": "",
"homepage": "",
"dependencies": [
"base >= 1.1.0",
"? bzfoundry >= 0.2.1",
"? bztitanium >= 1.2.0",
"? bzlead >= 1.2.0",
"? bzzirconium >= 0.6.0",
"? bztungsten >= 0.6.0",
"? bzcarbon >= 0.3.0",
"? space-exploration >= 0.5.100",
"? aai-industry",
"? Krastorio2",
"? deadlock-beltboxes-loaders",
"? DeadlockCrating"
],
"description": "(alpha version) Adds a natural gas resource, along with early game plastic.\nIntegrates ElAdamo's gas-fired boiler.\n\nCompatible with Krastorio 2 and Space Exploration. A standalone piece of BZ Mods."
}