Page 1 of 1

Raw ores as ammunition

Posted: Wed Jul 22, 2020 10:28 am
by DarkyPupu
Just curious, would it be possible to use raw ores as turret ammunition someway (ex: stone) ?
Not sure how to do this but if anyone has some opinions i'd be happy to hear about it :)

Usage: Extreme worlds, no automated crafts possible unless you're dead waiting for it :p and crafting by hand is not an option since server continues to run while we're not connected.

Thanks

Re: Raw ores as ammunition

Posted: Wed Jul 22, 2020 6:11 pm
by darkfrei
DarkyPupu wrote: Wed Jul 22, 2020 10:28 am Just curious, would it be possible to use raw ores as turret ammunition someway (ex: stone) ?
Not sure how to do this but if anyone has some opinions i'd be happy to hear about it :)

Usage: Extreme worlds, no automated crafts possible unless you're dead waiting for it :p and crafting by hand is not an option since server continues to run while we're not connected.

Thanks
You are need to set up the mod folder, the file info.json and place this code to the file data.lua:

Code: Select all

local stone = data.raw.item.stone
data.raw.item.stone = nil
local ammo_stone = table.deepcopy (data.raw.ammo["firearm-magazine"])


stone.type = ammo_stone.type
stone.ammo_type = ammo_stone.ammo_type
stone.magazine_size = ammo_stone.magazine_size
stone.subgroup = ammo_stone.subgroup
stone.ammo_type.action[1].action_delivery[1].target_effects[2].damage = {amount = 1, type = "physical"}

data:extend({stone})

Re: Raw ores as ammunition

Posted: Wed Jul 22, 2020 8:09 pm
by Pi-C
Next step would be to change the graphics to something like this: Image
:mrgreen:

Re: Raw ores as ammunition

Posted: Wed Jul 22, 2020 8:58 pm
by DarkyPupu
That is brilliant, i turned around the pot and came with unnecessary complex solutions (which didn't work :lol: ).
Thanks a lot, although it won't save the base for the long run, it may help a bit in the start at least !

From the power of it, it would be more like :
images.jpg
images.jpg (5.08 KiB) Viewed 2097 times
:lol:

But that's exactly how it should be.

Re: Raw ores as ammunition

Posted: Thu Jul 23, 2020 8:06 am
by nosports
I would say this would be worthy of a small mod

Include iron & copper ore and possible other ores. :ugeek:

It would be a very hotfix amunition when running out of normal munition..
it also could be used for self-defending and supporting a mine-outpost without the producing of current amuniton

Re: Raw ores as ammunition

Posted: Fri Jul 24, 2020 6:31 pm
by darkfrei
nosports wrote: Thu Jul 23, 2020 8:06 am Include iron & copper ore and possible other ores. :ugeek:
Making the list of all resources:

Re: Raw ores as ammunition

Posted: Fri Jul 24, 2020 7:31 pm
by eradicator
The only enemies not immune to one-physical-damage are small biters/spitters. Even spawners are immune. Impact resistance is less common (at least in vanilla).