v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing Utility:For Each Tile
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
[[Category:Tweak Modules]][[Category:Utilities]] | [[Category:Tweak Modules]][[Category:Utilities]] | ||
Line 256: | Line 255: | ||
The semicolon at the end of the operation is optional. If you were to have more than one operation, as I will show later, then you would need a semicolon between each statement. | The semicolon at the end of the operation is optional. If you were to have more than one operation, as I will show later, then you would need a semicolon between each statement. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
====Advanced Examples==== | ====Advanced Examples==== | ||
− | |||
− | |||
Mine out a vein of minerals all at once. | Mine out a vein of minerals all at once. | ||
Designate the first tile to be mined then just keep running it until nothing else gets designated. | Designate the first tile to be mined then just keep running it until nothing else gets designated. | ||
Line 313: | Line 274: | ||
(is_designated_for_mining(x + 1, y + 1, z)) | (is_designated_for_mining(x + 1, y + 1, z)) | ||
) | ) | ||
+ | |||
Operations: | Operations: | ||
designate_for_mining | designate_for_mining | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |