[Mod] Light level sensor [lls]

Post Reply
User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

[Mod] Light level sensor [lls]

by Nifty-Neutron » Post

Hello,
I present to you my newest mod:
Light level sensor!!
Just left click a node to get the light level value INSIDE it or right click it to get the light level above it.
License for code and textures:CC0
Github repo:
https://github.com/Nifty-Neutron/Minete ... vel-Sensor
ContetntDB:https://content.minetest.net/packages/N ... utron/lls/
Special thanks to:
  • MineTest dev wiki.
  • Rubenwardy's modding book.
  • The modding community I wouldn't have learnt about the concatenation operator without reading other mods' source code.
Last edited by Nifty-Neutron on Sun Jul 12, 2020 13:23, edited 9 times in total.
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

ThorfinnS
Member
Posts: 241
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod]light level sensor

by ThorfinnS » Post

Nice!

Some of the scripters have been looking for something like this, and I've been too busy to even look into it.

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod]light level sensor

by Nifty-Neutron » Post

Does it work?
Did you encounter any issues?
And also thanks for reading!
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod]light level sensor

by Nifty-Neutron » Post

There is an issue with the mod causing a crash...Working on a fix.
Last edited by Nifty-Neutron on Sat Jun 27, 2020 18:36, edited 1 time in total.
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod]light level sensor

by Nifty-Neutron » Post

Update:Fixed a crash
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

ThorfinnS
Member
Posts: 241
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] Light level sensor

by ThorfinnS » Post

We aren't starting up until next week, so I haven't even downloaded it yet. But starting next week...

Oh, and I'd definitely like a recipe. Although if it involves diamond or mese or something it takes a half hour to find, I'm guessing we'll change it. Its mostly useful early game by people who don't understand how lighting works.

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod] Light level sensor

by Nifty-Neutron » Post

ThorfinnS wrote:
Tue Jun 30, 2020 15:53
We aren't starting up until next week, so I haven't even downloaded it yet. But starting next week...

Oh, and I'd definitely like a recipe. Although if it involves diamond or mese or something it takes a half hour to find, I'm guessing we'll change it. Its mostly useful early game by people who don't understand how lighting works.
Thank you for the feedback,
Can you please suggest a crafting recipe?
Also,If you don't mind me asking,what are you starting?
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

ThorfinnS
Member
Posts: 241
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] Light level sensor

by ThorfinnS » Post

I'm a mostly retired professional engineer, running an after-school coding program for mostly middle and high school students. Sort of. We started the program a couple years ago, and last year, the teacher's union realized I don't have an education degree, so they pressured admin to cancel it and hire a "real" teacher. The public library and a local church decided to sponsor us, so we are back in business.

Don't really know what to recommend for vanilla. We will probably find something interesting and under-utilized from Hume2's [underch] or maybe FaceDeer's [Dwarf Fortress]. Maybe a variety of glowing plants or something like that?
Last edited by ThorfinnS on Tue Jun 30, 2020 17:36, edited 1 time in total.

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod] Light level sensor

by Nifty-Neutron » Post

thanks!!!
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod] Light level sensor

by Nifty-Neutron » Post

I've shrunk the pull's duration since I feel it's pointless I will add the crafting recipe
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod] Light level sensor

by Nifty-Neutron » Post

New version:1.2:
Changed Texture + Added a crafting recipe.
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

User avatar
Nifty-Neutron
Member
Posts: 34
Joined: Mon May 25, 2020 13:55
GitHub: Nifty-Neutron
In-game: Nifty-Neutron
Contact:

Re: [Mod] Light level sensor

by Nifty-Neutron » Post

Also I tweaked the wield scale of the tool
CTHqDVvsBNmGQOHbuhztVFsnDkYPtq8f

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests