11 Commits

Author SHA1 Message Date
OgelGames
ef1ea6ad80 improve piston
- cleaned up code a bit (-25 lines)
- added "retract_allsticky" string command
- fix ignored luacheck warning (ignored in #1)
2021-02-10 18:52:50 +11:00
SX
f86f86bcd3
Merge pull request #5 from mt-mods/upstream
Pulling upstream into master

> Note the `git fetch upstream` isn't needed when the `-f` option is used when adding the remote:
> 
> > With -f option, git fetch  is run immediately after the remote information is set up.
> 
> https://git-scm.com/docs/git-remote#_commands

So remove that. This PR is good for merge now so merging.
2021-02-10 08:14:23 +02:00
cheapie
ad062495d8 Make newly-placed pistons remember their owner and obey protection
Existing pistons are currently still exempt from protection.
2021-02-09 18:24:52 -06:00
OgelGames
49e84e4323
Add luacheck (#1)
* add luacheck workflow and config
* replace 'digiline' with 'digilines'
* fix whitespace
* fix most variable warnings
* piston.lua and movestone.lua have inline ignores for some hard to fix code
* increase line length for now
2021-02-09 16:16:56 +01:00
cheapie
68b94cc366 Actually fix it this time 2021-02-05 20:26:21 -06:00
cheapie
b0f714f944 Fix string commands on pistons being silent 2021-02-05 20:23:05 -06:00
cheapie
8e65252826 Make piston sounds configurable 2021-02-05 20:16:32 -06:00
cheapie
7f5eaac5c3 Add channel copier 2020-04-30 00:44:04 -05:00
flux
6062d9b08e crafting recipes 2019-07-06 20:54:30 +01:00
cheapie
0ffc118f4c Allow pistons to conduct digilines signals 2018-11-29 19:09:44 -06:00
cheapie
395d6f0ccf Add digilines piston 2018-11-24 21:00:18 -06:00