Skip to content

Commit c5424d7

Browse files
authored
Merge pull request #1 from Sheriff-Unit-3/modernize
Modernize
2 parents 87e69a0 + 16d1c70 commit c5424d7

8 files changed

Lines changed: 187 additions & 206 deletions

File tree

.github/workflows/luacheck.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: luacheck
2+
on: [push, pull_request]
3+
jobs:
4+
luacheck:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@main
9+
- name: Luacheck
10+
uses: lunarmodules/luacheck@master

.luacheckrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
unused_args = false
2+
3+
read_globals = {
4+
"core", "minetest"
5+
}

Readme.md

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,34 @@
1-
Mysoundblocks
1+
# Mysoundblocks
22

33
This is a block you place and configure with a sound. Sounds are not supplied. Once you place and configure the block becomes hidden.
4-
5-
There is no craft for the block. Must use creative or giveme to get them.
6-
4+
There is no craft for the block. Must use creative or `/giveme` to get them.
75
You need to supply the sound files. They must be .ogg and mono. If they are stereo the whole server will hear the sound.
8-
96
Put the sound files in the sounds folder of the mod.
7+
In game place a block and right click on it.
108

11-
In game place a block and right click on it.
9+
## Usage
1210

13-
14-
Sound -
11+
Sound -
1512

1613
Enter Sound Name field - type the name of the sound file. Do not include .ogg
1714

18-
Lenght field - This is how long the sound file is. It determines how long to wait til the sound can be played agian
15+
Length field - This is how long the sound file is. It determines how long to wait til the sound can be played agian
1916

20-
Radius - This is the distance away from the node that the sound gets triggered.
17+
Radius - This is the distance away from the node that the sound gets triggered.
2118

2219
Click on the Sound button
2320

21+
Chat -
2422

25-
Chat -
26-
27-
Chat works the same way as sound. Just enter the message you want to appear in the chat console and
23+
Chat works the same way as sound. Just enter the message you want to appear in the chat console and
2824
click the Chat button
2925

26+
Privs - You need the mysoundblocks priv to use the chat commands
3027

31-
Privs - You need the mysoundblocks priv to use the chat commands
32-
33-
34-
Chat Commands
35-
36-
/showsb - Shows the hidden soundblock
37-
38-
/hidesb - hides the soundblock
39-
28+
### Chat Commands
4029

41-
Licence - DWYWPL
30+
`/showsb` - Shows the hidden soundblock
4231

43-
Mod by Tenplus1 and Don
32+
`/hidesb` - hides the soundblock
4433

34+
Licensed under DWYWPL

description.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)