Skip to content

Commit

Permalink
Decrease the cost of gunpowder for trails
Browse files Browse the repository at this point in the history
The cost of TNT remains the same
  • Loading branch information
Desour authored and rubenwardy committed Jan 1, 2017
1 parent 3c9d089 commit f07c4dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mods/tnt/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ minetest.register_node("tnt:gunpowder_burning", {
})

minetest.register_craft({
output = "tnt:gunpowder",
output = "tnt:gunpowder 5",
type = "shapeless",
recipe = {"default:coal_lump", "default:gravel"}
})
Expand All @@ -507,9 +507,9 @@ if enable_tnt then
minetest.register_craft({
output = "tnt:tnt",
recipe = {
{"", "group:wood", ""},
{"group:wood", "tnt:gunpowder", "group:wood"},
{"", "group:wood", ""}
{"group:wood", "tnt:gunpowder", "group:wood"},
{"tnt:gunpowder", "tnt:gunpowder", "tnt:gunpowder"},
{"group:wood", "tnt:gunpowder", "group:wood"}
}
})

Expand Down

3 comments on commit f07c4dc

@Fixer-007
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cost of TNT remains the same

It does not. You changed it in this commit.

@rubenwardy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not. You changed it in this commit.

The cost of gunpowder decreases by 5x, however the cost of gunpowder in TNT goes up by 5x. So overall the same amount of coal and gravel is in TNT. However, having gunpowder in you inventory pollutes this - any gunpowder in your inventory decreases in value by 5x

@Fixer-007
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah.

Please sign in to comment.