Character Shooting Cooldown

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
blueblue
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Tue Apr 11, 2017 7:39 pm
Contact:

Character Shooting Cooldown

Post by blueblue »

I'd like a way to access the current shooting cooldown of a character, i.e. the current time until the character can shoot again, during control stage. Read and write.

I've made a mod that allows the player to jump, which works by replacing the character entity (for collision, belt immunity, rendering, movement speed reasons). Currently the player gets a cooldown reset every time the player jumps. Same problem with the jetpack mod and a few other mods.

Edit: an alternative solution for my particular problem would be that the copy_settings function copies the cooldown.
unique_2 on discord and mod portal

Post Reply

Return to “Modding interface requests”