Page 1 of 1

on_player_copied/on_player_pasted

Posted: Fri Apr 29, 2016 6:25 pm
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)

Re: on_player_copied/on_player_pasted

Posted: Fri Apr 29, 2016 6:33 pm
by Rseding91
Already in for 0.13 (about 1.5 months ago).