[Mod] Phosphorescent Paint [phosphorescent]
- Irremann
- Member
- Posts: 50
- Joined: Fri Jan 10, 2020 06:03
- GitHub: Irremann
- Location: Russia, Pereslavl-Zalesskiy
[Mod] Phosphorescent Paint [phosphorescent]
Add Phosphorescent Paint (blue and green) which can be applied on stone brick, sandstone brick, desert stonebrick, desert sandstonebrick and silver sandstone brick.
Recipes:
Alloying zinc dust with sulfur dust receives zinc sulphide.
Alloying zinc sulphide with silver dust receives blue phosphorescent paint.
Alloying zinc sulphide with copper dust receives green phosphorescent paint.
Phosphorescent blocks are charged at light 12 and above. And glow under the light below 12.
Depends: technic
Github:
Code: https://github.com/Irremann/phosphorescent
Download Zip: https://github.com/Irremann/phosphoresc ... master.zip
-
- Member
- Posts: 4290
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: [Mod] Phosphorescent Paint [phosphorescent]
Looks intresting. But why aren't you using hardware coloring? With that, you can offer a lot more colors without having to add huge amounts of new nodes. You could easily supply more colors as well.
A list of my mods can be found here.
Re: [Mod] Phosphorescent Paint [phosphorescent]
Probably because they don't know about it. To be accurate, using hardware coloring doesn't reduce the number of nodes, only the number of base textures. To be able to register a single node that can have many colors, I think you have to use palettes.
-
- Member
- Posts: 4290
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: [Mod] Phosphorescent Paint [phosphorescent]
That's what I meant. Hopefully this will help mod creators to locate the right ressources and save node definitions where possible.Astrobe wrote: Probably because they don't know about it. To be accurate, using hardware coloring doesn't reduce the number of nodes, only the number of base textures. To be able to register a single node that can have many colors, I think you have to use palettes.
A list of my mods can be found here.
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] Phosphorescent Paint [phosphorescent]
You can set the hardware coloring via meta data when placing a node or after placing a node. You you don’t need to register any more nodes, just set the color in meta data when clicking with a painbrush or the dye, or something like that.Astrobe wrote:using hardware coloring doesn't reduce the number of nodes, only the number of base textures.
I do this in an on_punch function in my cement mod in a very crude way.
https://gitlab.com/4w/cement/-/blob/3b4 ... lua#L34-51
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 73 guests