Mod for belt immunity

Looking for a mod? Have a review on a mod you'd like to share?
Post Reply
Hannu
Filter Inserter
Filter Inserter
Posts: 850
Joined: Thu Apr 28, 2016 6:27 am
Contact:

Mod for belt immunity

Post by Hannu »

Is there mod for belt immunity. I found some which work with power armor, but I play with mods and will not have power armor in long time. I would like to just make player permanently immune to belt movements without any bells and whistles. Command would be fine too, I do not care achievements.

hyspeed
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Sun Jun 05, 2016 10:18 pm
Contact:

Re: Mod for belt immunity

Post by hyspeed »

Hi,

I feel the same way.

I took a look at the mod that fits into power armor and I think it would possible to change it to be based on a different item. It is currently based on the Night Vision item.

Perhaps the pistol?
I will put a comment in the mod discussion.


jon

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Mod for belt immunity

Post by eradicator »

Belt-immunuity-equipment isn't "based off" of any other equipment. That mod only copies the recipe. There's no way i know of to make the player immune to belts without equipment. I guess you could add a 1x1 equipment grid to all normal armors that don't have one.

Code: Select all

--UNTESTED
data:extend
  {{
    type = "equipment-grid",
    name = "1x1-equipment-grid",
    width = 1,
    height = 1,
    equipment_categories = {"armor"}
  }}
  
for _,armor in pairs(data.raw.armor) do
  if not armor.equipment_grid then
    armor.equipment_grid = "1x1-equipment-grid"
    end
  end

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Mod for belt immunity

Post by BlueTemplar »

You also need a

Code: Select all

	armor.stack_size = 1
, but it seems to work !
(I'll have to do the migrations too I guess ?)

Here you go, can't believe that nobody ever bothered to do that before ?!?

(Will test with magu5026's BeltImmunity ASAP...)
Attachments
Grid_ALL_the_Armors_16.0.0.zip
(2.13 KiB) Downloaded 70 times
BobDiggity (mod-scenario-pack)

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Mod for belt immunity

Post by BlueTemplar »

As I expected, BeltImmunity doesn't work without power...
So I changed the minimum grid from 1x1 to 3x2, so that you can power it with daydev's burner Equipment+: Portable Engine !

Here it is in action with the Fire Armor from Gangsir's Modding Tutorial :


Grid_ALL_the_Armors_16.0.1.zip
(2.64 KiB) Downloaded 82 times
(I will need to make adjustments to BeltImmunity and EquipmentPlusPortableEngine so that they are easier to research and to make...)

P.S.: The video doesn't show up for me?
Attachments
BeltImmunity_with_FireArmor.mp4
(12.15 MiB) Downloaded 110 times
BobDiggity (mod-scenario-pack)

Post Reply

Return to “Questions, reviews and ratings”