From 9f7c4f5224d9f2f6b500dd9e3c478130efc97067 Mon Sep 17 00:00:00 2001 From: Someone Date: Sat, 12 Jan 2019 23:40:52 +0100 Subject: [PATCH] gitify, so I dont delete my stuff again. --- License.txt | 19 +++++++++++++++++++ changelog.txt | 6 ++++++ control.lua | 11 +++++++++++ info.json | 10 ++++++++++ 4 files changed, 46 insertions(+) create mode 100644 License.txt create mode 100644 changelog.txt create mode 100755 control.lua create mode 100755 info.json diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..ae7e15e --- /dev/null +++ b/License.txt @@ -0,0 +1,19 @@ +Copyright (c) 2018-2020 Someone + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 0000000..16dc0e7 --- /dev/null +++ b/changelog.txt @@ -0,0 +1,6 @@ +--------------------------------------------------------------------------------------------------- +Version: 0.16.2 +Date: 2018-07-29 + + Changed: + - Added changelog and License files for future reference. No functional changes. diff --git a/control.lua b/control.lua new file mode 100755 index 0000000..f31774b --- /dev/null +++ b/control.lua @@ -0,0 +1,11 @@ +-- only needed on first startup. Create stuff and be done. + +script.on_event(defines.events.on_player_created, function (event) + game.permissions.get_group("Default").set_allows_action(defines.input_action.craft ,false) + local player = game.players[event.player_index] + player.insert{name="assembling-machine-3", count=1} + player.insert{name="small-electric-pole", count=1} + player.insert{name="boiler", count=1} + player.insert{name="steam-engine", count=1} + player.insert{name="offshore-pump", count=1} +end) diff --git a/info.json b/info.json new file mode 100755 index 0000000..a77ab6a --- /dev/null +++ b/info.json @@ -0,0 +1,10 @@ +{ + "name": "some-lazybastard", + "version": "0.16.2", + "factorio_version": "0.16", + "title": "Some lazy bastard", + "author": "someone1337", + "homepage": "https://git.somenet.org/pub/jan/factorio_some-lazybastard.git", + "description": "For the lazy bastards. Start with: AM3, small-pole, offshort-pump, boiler, steam-engine. Handcrafting disabled by /permissions.", + "dependencies": ["base >= 0.16.0"] +} -- 2.43.0