Prototype/CopyPasteTool: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Prototype type: '''copy-paste-tool''' Extends Prototype/SelectionTool. == Mandatory properties == This prototype inherits all the properties from Prototyp...")
 
(Updated styling of prototype doc migration note)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Basics ==
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/CopyPasteToolPrototype.html https://lua-api.factorio.com/latest/prototypes/CopyPasteToolPrototype.html]
Prototype type: '''copy-paste-tool'''


Extends [[Prototype/SelectionTool]].
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>


== Mandatory properties ==
 
This prototype inherits all the properties from [[Prototype/SelectionTool]].
 
{{Prototype parent|Prototype/SelectionTool}}
 
A copy-paste or cut-paste tool.
 
{{Prototype TOC|copy-paste-tool}}


== Optional properties ==
== Optional properties ==
This prototype inherits all the properties from [[Prototype/SelectionTool]].


=== cuts ===
{{Prototype property|cuts|[[Types/bool|bool]]|false|optional=true}}
'''Type''': [[Types/bool]]


'''Default''': false
== Mandatory values ==
Copy paste tools must have a stack size of 1.


== Mandatory values ==
== Ignored properties ==
Blueprints must have a stack size of 1.
'''Prototype/CopyPasteTool''' ignores the following properties that it inherits from [[Prototype/SelectionTool]]:
* always_include_tiles (forced to be false)
* entity_filters
* entity_type_filters
* tile_filters
* entity_filter_mode
* tile_filter_mode
* alt_entity_filters
* alt_entity_type_filters
* alt_tile_filters
* alt_entity_filter_mode
* alt_tile_filter_mode

Latest revision as of 10:42, 21 September 2023

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/CopyPasteToolPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


Prototype definitions » PrototypeBase » Prototype/Item » Prototype/ItemWithLabel » Prototype/SelectionTool » Prototype/CopyPasteTool


A copy-paste or cut-paste tool.


Prototype/CopyPasteTool — copy-paste-tool
cuts::bool (optional)
Inherited from Prototype/SelectionTool
alt_selection_color::Color
alt_selection_cursor_box_type::CursorBoxType
alt_selection_mode::table of string
selection_color::Color
selection_cursor_box_type::CursorBoxType
selection_mode::table of string
alt_entity_filter_mode::string (optional)
alt_entity_filters::table of string (optional)
alt_entity_type_filters::table of string (optional)
alt_reverse_entity_filter_mode::string (optional)
alt_reverse_entity_filters::table of string (optional)
alt_reverse_entity_type_filters::table of string (optional)
alt_reverse_selection_color::Color (optional)
alt_reverse_selection_count_button_color::Color (optional)
alt_reverse_selection_cursor_box_type::CursorBoxType (optional)
alt_reverse_selection_mode::table of string (optional)
alt_reverse_tile_filter_mode::string (optional)
alt_reverse_tile_filters::table of string (optional)
alt_selection_count_button_color::Color (optional)
alt_tile_filter_mode::string (optional)
alt_tile_filters::table of string (optional)
always_include_tiles::bool (optional)
chart_alt_reverse_selection_color::Color (optional)
chart_alt_selection_color::Color (optional)
chart_reverse_selection_color::Color (optional)
chart_selection_color::Color (optional)
entity_filter_mode::string (optional)
entity_filters::table of string (optional)
entity_type_filters::table of string (optional)
mouse_cursor::string (optional)
reverse_entity_filter_mode::string (optional)
reverse_entity_filters::table of string (optional)
reverse_entity_type_filters::table of string (optional)
reverse_selection_color::Color (optional)
reverse_selection_count_button_color::Color (optional)
reverse_selection_cursor_box_type::CursorBoxType (optional)
reverse_selection_mode::table of string (optional)
reverse_tile_filter_mode::string (optional)
reverse_tile_filters::table of string (optional)
selection_count_button_color::Color (optional)
tile_filter_mode::string (optional)
tile_filters::table of string (optional)
Inherited from Prototype/ItemWithLabel
default_label_color::Color (optional)
draw_label_for_cursor_render::bool (optional)
Inherited from Prototype/Item
icons, icon, icon_size (IconSpecification)::IconSpecification
stack_size::ItemCountType
burnt_result::string (optional)
close_sound::Sound (optional)
dark_background_icons, dark_background_icon, icon_size (IconSpecification)::IconSpecification (optional)
default_request_amount::ItemCountType (optional)
flags::ItemPrototypeFlags (optional)
fuel_acceleration_multiplier::double (optional)
fuel_category::string (optional)
fuel_emissions_multiplier::double (optional)
fuel_glow_color::Color (optional)
fuel_top_speed_multiplier::double (optional)
fuel_value::Energy (optional)
open_sound::Sound (optional)
pictures::SpriteVariations (optional)
place_as_tile::PlaceAsTile (optional)
place_result::string (optional)
placed_as_equipment_result::string (optional)
rocket_launch_product::ItemProductPrototype (optional)
rocket_launch_products::table (array) of ItemProductPrototype (optional)
subgroup::string (optional)
wire_count::ItemCountType (optional)
Inherited from PrototypeBase
name::string
type::string
localised_description::LocalisedString (optional)
localised_name::LocalisedString (optional)
order::Order (optional)

Optional properties

This prototype inherits all the properties from Prototype/SelectionTool.

cuts

Type: bool
Default: false

Mandatory values

Copy paste tools must have a stack size of 1.

Ignored properties

Prototype/CopyPasteTool ignores the following properties that it inherits from Prototype/SelectionTool:

  • always_include_tiles (forced to be false)
  • entity_filters
  • entity_type_filters
  • tile_filters
  • entity_filter_mode
  • tile_filter_mode
  • alt_entity_filters
  • alt_entity_type_filters
  • alt_tile_filters
  • alt_entity_filter_mode
  • alt_tile_filter_mode