Search found 9 matches
- Sun Aug 13, 2023 4:12 pm
- Forum: Modding help
- Topic: How to get the type of magazine which damaged the entity
- Replies: 1
- Views: 289
How to get the type of magazine which damaged the entity
I'm creating a mod which adds special types of magazines to the game, on of which explodes in a small area upon impact. I want to make it explode when an entity is damaged using the "on_entity_damaged" event, but I can't figure out how to get the type of magazine that damaged the entity.
- Thu Jan 14, 2021 12:51 pm
- Forum: Modding help
- Topic: [Solved] Error in assignID
- Replies: 10
- Views: 1866
Re: Error in assignID
Oh ok.
- Thu Jan 14, 2021 8:02 am
- Forum: Gameplay Help
- Topic: Is there a way keep it all day just by visual but not the actual day/night mechanism?
- Replies: 8
- Views: 2261
Re: Is there a way keep it all day just by visual but not the actual day/night mechanism?
There is a way to do that without commands. There are night vision goggles in factorio vanilla and if you download the afraid of the dark mod you will be able to craft perfect night glasses.
- Thu Jan 14, 2021 7:58 am
- Forum: Modding help
- Topic: [Solved] Error in assignID
- Replies: 10
- Views: 1866
Re: Error in assignID
I'm going to leave this thread open because I have no idea how to close it so if anyone knows plz tell me.
- Wed Jan 13, 2021 4:05 pm
- Forum: Modding help
- Topic: [Solved] Error in assignID
- Replies: 10
- Views: 1866
Re: Error in assignID
It helped a lot.
- Wed Jan 13, 2021 3:56 pm
- Forum: Modding help
- Topic: [Solved] Error in assignID
- Replies: 10
- Views: 1866
- Wed Jan 13, 2021 3:19 pm
- Forum: Modding help
- Topic: [Solved] Error in assignID
- Replies: 10
- Views: 1866
- Wed Jan 13, 2021 8:16 am
- Forum: Modding help
- Topic: [Solved] Error in assignID
- Replies: 10
- Views: 1866
- Tue Jan 12, 2021 5:44 pm
- Forum: Modding help
- Topic: [Solved] Error in assignID
- Replies: 10
- Views: 1866
[Solved] Error in assignID
I have started modding and I got an error (Error in assignID: item with name 'inserter2' does not exits.) My code so far (item.lua): local inserter2 = table.deepcopy(data.raw["inserter"]["inserter"]) inserter2.name = "inserter2" inserter2.icons = { { icon = inserter2.ic...