on_player_copied/on_player_pasted

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

on_player_copied/on_player_pasted

Post by Choumiko »

Add an event that triggers if a player copies/pastes an entity (Ctrl + left/right click)

on_player_copied should contain player_index and the entity which was copied
on_player_pasted should contain player_index, source_entity, target_entity

Uses: Copy mod settings specific to these entites (e.g. SmartTrains could copy the line a train is assigned to, logistic turrets could copy/paste the desired ammo from one turret to the other)
Rseding91
Factorio Staff
Factorio Staff
Posts: 15996
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: on_player_copied/on_player_pasted

Post by Rseding91 »

Already in for 0.13 (about 1.5 months ago).
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”