Skip to content

Commit

Permalink
tweaked cannon shell and explosive cannon shell
Browse files Browse the repository at this point in the history
  • Loading branch information
kingarthur91 committed Nov 2, 2023
1 parent e922473 commit 02d4aae
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 2.1.7
Date: ???
Date: 2023-11-2
Changes:
- Replaced explosives with gunpowder in cannon shell recipe
- Changed explosive cannon shell recipe to be 1 cannon shell plus 5 explosives
---------------------------------------------------------------------------------------------------
Version: 2.1.6
Date: 2023-10-31
Expand Down
3 changes: 3 additions & 0 deletions notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ make oil finite same as py petroleum handling
-- no bull shit mechanics just limited oil

got 4 good choices for making oil from things you produce and oleochemicals can make an unlimited supply


add gunpowder to artillery shell
16 changes: 16 additions & 0 deletions prototypes/updates/base-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,22 @@ data.raw.item["nuclear-fuel"].burnt_result = nil

data.raw["gun"]["artillery-wagon-cannon"].attack_parameters.range = 2 * 32

--update cannon and artillery shells to have gunpowder
RECIPE("cannon-shell"):remove_ingredient("explosives"):add_ingredient({type = "item", name = "gunpowder", amount = 10})

RECIPE {
type = "recipe",
name = "explosive-cannon-shell",
category = "crafting",
enabled = false,
energy_required = 8,
ingredients = {
{type = "item", name = "cannon-shell", amount = 1},
{type = "item", name = "explosives", amount = 5},
},
results = {{type = "item", name = "explosive-cannon-shell", amount = 1}}
}

ITEM("productivity-module"):set_fields{
effect =
{
Expand Down

0 comments on commit 02d4aae

Please sign in to comment.