QuirkyCat Glass, Sand and Clay (and minerals)


Adds glass, sand and (optional) clay. Minerals are produced as a by-product from pulverising rocks into sand. Option for borosilicate glass (aka Pyrex) if QuirkyCat Boron is installed. Clay is used to make bricks and pipes. Many recipes are modified to use plain glass or borosilicate glass, clay and minerals. Glass, sand, clay and minerals are used in other several other mods.

Content
16 hours ago
2.0
902
Mining Fluids Manufacturing

i Pulverizer reskin

a month ago

Hi, I really enjoy your mod and have a lot of fun playing with it.

However, I find it a bit sad that the pulverizers look exactly the same as the grinder. They’re too white, and their space design doesn’t really match the ground. I’m not a great artist, but I’m good at image editing. Would you be interested if I reworked the pulverizers’ colors to make them more distinguishable?

a month ago

I'm no artist either, that's why I used the Space-Age grinder model. Feel free to have a go.

a month ago

https://imgur.com/a/azlEWpB

Here’s an early draft of what I have in mind. I can still tweak the colors and brightness a bit if you’d like.
I’m not really good at coding, but I can at least share the animation sprites with you if you want to add them to your mod.

a month ago

They look OK, The first one maybe looks a little too rusty.

a month ago

https://imgur.com/a/zwPlGPs

Here is a second more refined version.
My goal is to get closer to the vanilla color code (dark gray/rust) for combustion technologies and yellow-orange for electric technologies, in order to make them clearly identifiable.

There are still a few lighting adjustments to make, but I am currently quite satisfied with the result. The yellow for the electric sprayer is a bit bold, but it’s the best outcome I achieved after different attempts

a month ago

Much nicer. :)

a month ago

https://imgur.com/a/nYCrl2Z

Thanks !
And now here’s the final version with the lighting fixed.

The problem now is... that I suck at coding. The only way I can play around with it is by replacing the texture of the asteroid crusher :)
So I’ll be happy to share the sprites with you if you’d like to include them in a future update

a month ago

You don't need any coding. Just unzip the mod in the mods folder, then move the zip version to a temp location.
Maybe make a copy of the sprite sheet.
Edit the sprite sheet.
Test in-game.

a month ago

Just in case you didn't know, mods are located in AppData\Roaming\Factorio\mods

a month ago
(updated a month ago)

To be honest, I’m really not good at writing code, but I can get by a little by looking at what others have written and kind of gluing different pieces of code together.
From what I saw in your code, you’re reusing all the Crusher’s sprites, so your mod doesn’t actually include any textures to replace.
I did manage to get my own sprites working though, after 5h of work, crash and spaghetti code
If you don’t feel like adding it to your mod, would you agree if I released a mod that just swaps the textures?

a month ago

Yes, sorry, not thinking straight. I'll have a look in the morning.

a month ago

Wow, sorry for not checking but this is way more complicated than I thought.
Because the machine is not square (it's 3x2) there are two sprite sheets, one for horizontal and one for vertical.
They are located here:

steamapps\common\Factorio\data\space-age\graphics\entity\crusher

crusher-horizontal.png
crusher-vertical.png

We'll also need two new matching icons from

steamapps\common\Factorio\data\space-age\graphics\icons

crusher.png

Call them something like crusher-basic.png and crusher-electric.png

I'll need to make some changes to the code but it shouldn't be too hard.

Sorry I was too tired to look properly last night.

a month ago

No problem, real life interferes and we can’t always be available.

For now, I made an independent mod that I use for myself, here’s the link (you’ll find the sprites and the script). To be honest, 80% of the code was written by ChatGPT, so it could probably be simplified, but at least it works.

https://drive.google.com/file/d/1NR44gADScQkJshsloD0uF4Lhlls6RR4r/view?usp=sharing

a month ago

I started from the base game sprites to make my own, so I already have the horizontal and vertical models, and I’ve also already made the icons.
To match your code, the burner pulverizer is called 'basic-pulveriser' and the electric pulverizer is simply called 'pulveriser'

a month ago

I’ve never really looked into Factorio modding and I’m impressed by how clear the game’s code is. The game files look like actual source code, the devs did an incredible job for the community.

a month ago

That's... interesting. At least it works. Well done.
Saves me a job. :)
Publish it if you like.

a month ago

https://mods.factorio.com/mod/pulveriser-reskin
Here it is published.
Feel free to use it if you want, and thanks for your help !

a month ago

Excellent.
Feel free to join the discord.
https://discord.gg/5SubQkzQQv

New response