TeamPorcupine / ProjectPorcupine

Project Porcupine: A Base-Building Game...in Space!
GNU General Public License v3.0
484 stars 279 forks source link

[Ongoing] Ore/Asteroid Mining #1241

Open TheRiven opened 8 years ago

TheRiven commented 8 years ago

Goal

To make asteroids into more then just platforms of resources. They should be giant space rocks with resources inside them! To this end world gen is being altered to create rock that you will mine though to get to ore deposits that will then provide you with your resources.

Other changes will be made where necessary to allow this system to function as it should.

Progress

Stage 1 - Minable Furniture - Done & Implemented - PR #1059

astromines5 astromines6

Tranberry commented 8 years ago
  • [x] Create new Spritesheet for walls

How is that going, I'm holding on to my seat in suspense.

edit: It's checked mates, :fireworks:

TheRiven commented 8 years ago

@Tranberry its currently in the er... conceptual stage :neutral_face:

Tranberry commented 8 years ago

concept like in doodle or like "I'm thinking about it"? :japanese_goblin:

kd7uiy commented 8 years ago

Ice should also be included, and in fact should likely be one of the major resources. I think in the future we will be using that to make rocket fuel, as well as water and oxygen and growing food, so I think it will be helpful to have a lot of it, plus it's realistic.

TheRiven commented 8 years ago

@kd7uiy I agree ice should be an important resource in the future, currently it does nothing but fill up space but its easy enough to add it in.

And is indeed on my list of things to do now that I have checked it.

TomMalbran commented 8 years ago

Another cool feature is to add some fog of war over the rocks like RimWorld, so that you don't know what you are mining. It makes it more interesting.

We also need an indication as to what is marked for mining.

Tritaris commented 8 years ago

hey @TheRiven I started work on setting up a new noise source for map generation getting decent results from it but its still a [WIP] you can check it out here: #1244

kd7uiy commented 8 years ago

@TomMalbran Marking what is listed for mining sounds like a great idea! My thought is that there should be a variety of rock types, so you might know that a rock will have more water, or iron, etc, but won't know for sure until you dock. If you use some kind of a sensor, you might know before then, details not yet worked out.

TheRiven commented 8 years ago

@TomMalbran Fog of war would be a nice thing to get in there later, will add it to the list. :+1: The marking idea is something I have been thinking about as well and I think I will add it to the current stage as its a real pain to test things when you can't be sure what you have actually selected

TomMalbran commented 8 years ago

@kd7uiy if We implement the Fog of War, you would know what type of rock is at the edge, sy selecting it and not what is inside. A sensor could be implemented so that we can find what is in the Fog of War before mining it.

We probably should also have different types of floors, if we make it so that there are floors under the rocks. We could also just not even have floors and you see the top of the rock from underneath floor or the empty space at the bottom floor. Since we are already floating in space it makes sense to have no floors.

dusho commented 8 years ago
vogonistic commented 8 years ago

Loving this thread. This is awesome!

kd7uiy commented 8 years ago

I actually like the idea of not knowing exactly what the rock is that you are currently mining, although finding the surface might be pretty easy. A color could be seen by default, but no specific information unless you have a sensor of some kind.

TheRiven commented 8 years ago

Added some pictures showing the current state of the changes in #1226

Tranberry commented 8 years ago

Would a font with 'dingbats' custom made for ProjectPorcupine be useful for having symbols indicating jobs (mine here) and other things like power?

TheRiven commented 7 years ago

Have updated the pictures to the latest version and have moved the ore sprites to the future tasks list (will probably be part of a make things pretty PR later)

With that moved out all current tasks are now done, I am marking the current stage for review so people can see what they think and we can finally get some rock on these astros. 👍

Tranberry commented 7 years ago

are there three (3) tiles designated for mining in the screenshot?

TheRiven commented 7 years ago

yup

dusho commented 7 years ago

is there a reason why there is floor tile created after resources or dirt are mined? can it stay empty? then user can see layers underneath..

TheRiven commented 7 years ago

@dusho the tiles are not created after mining, they are there so that the walls can exist. I suppose it could also remove the floor on mining though.

TheRiven commented 7 years ago

Updated Stage 2 to "Done & Implemented"