Skip to content

Implemented Gunpowder#27

Open
g3ksmithington wants to merge 1 commit into
DefbeatCZ:masterfrom
g3ksmithington:master
Open

Implemented Gunpowder#27
g3ksmithington wants to merge 1 commit into
DefbeatCZ:masterfrom
g3ksmithington:master

Conversation

@g3ksmithington
Copy link
Copy Markdown

I wanted to check out the process for writing mods and I stumbled upon your mod while perusing GitHub repositories!

I saw that you wanted to implement gunpowder so I went ahead and did it!

According to WikiHow (https://www.wikihow.com/Make-Gunpowder) gunpowder is 74.8% saltpeter, 13.3% charcoal and 11.9% elemental Sulphur. I added sulphur as a new item (added it to spawn locations, but lazily: registerAsLoot(iReg, 4, "toolstore", "all");), created a recipe for saltpeter from sourcing coldpacks (since that is a source) using a mortar and pestle, and then a recipe for gunpowder that includes your already implemented woodash! I was also considering using your drying mechanism for getting Saltpeter from Coldpacks, but went with mortal and pestle instead.

I haven't tested it yet, but looking through your code I think I've implemented it correctly. I'll be able to test it in game later on today.

@DefbeatCZ
Copy link
Copy Markdown
Owner

Going to move this into a new issue.

  • Sulphur only to be found does not satisfy the LTS idea :). We need some process to get it, like harvesting rotten eggs (to at least look like it is a real deal)
  • Icons should be updated as well

@faeldray faeldray mentioned this pull request Oct 15, 2023
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants