From e47c5ba23ec6b6440ef83e67b9fc064c19eefd36 Mon Sep 17 00:00:00 2001 From: Brevven Date: Tue, 12 Jul 2022 23:28:40 -0700 Subject: [PATCH] stuff --- Makefile | 37 +++++++++++++++++++++++++++++++++++++ README.md | 18 ++++++++++++++++++ changelog.txt | 11 +++++++++++ info.json | 25 +++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 Makefile create mode 100644 README.md create mode 100644 changelog.txt create mode 100644 info.json diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..11be59f --- /dev/null +++ b/Makefile @@ -0,0 +1,37 @@ +# General makefile for factorio mods. +# +# Presumes the development work is done in a /dev// +# directory where this makefile resides. This directory must be parallel to +# the /mods/ directory where mods are installed. Run `make +# install` from dev/ 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 + diff --git a/README.md b/README.md new file mode 100644 index 0000000..59a9f95 --- /dev/null +++ b/README.md @@ -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 + + diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 0000000..c192b52 --- /dev/null +++ b/changelog.txt @@ -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 diff --git a/info.json b/info.json new file mode 100644 index 0000000..33bdc0d --- /dev/null +++ b/info.json @@ -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." +} +