Pasi Kallinen
d78dcdcb9b
Allow matching any wall map terrain in lua scripts
...
When matching a terrain, allow using a "w" placeholder that matches
any solid wall:
For example:
local s = selection.match([[w.w]]);
would match all floor locations with a wall to the left and right of it.
The walls can be solid stone, horizontal, vertical, etc.
This applies to selection.match(), selection.filter_mapchar(), and
des.replace_terrain()
2020-04-13 20:00:34 +03:00
..
2018-11-11 10:29:52 -05:00
2020-01-13 15:23:42 -05:00
2020-03-16 17:32:12 -07:00
2018-04-25 15:00:13 -04:00
2020-03-19 19:56:16 +00:00
2020-02-20 20:12:51 -05:00
2020-01-21 17:03:54 -08:00
2020-01-06 01:00:29 +01:00
2020-04-03 11:42:17 -07:00
2020-04-05 21:53:45 +03:00
2020-04-13 11:10:59 +03:00
2020-01-11 19:51:54 +01:00
2020-03-07 11:20:45 -08:00
2020-04-12 17:32:29 +03:00
2020-03-18 09:16:26 +02:00
2020-04-01 15:49:28 -07:00
2019-07-14 17:24:58 -04:00
2020-04-06 10:25:17 +03:00
2020-04-05 15:32:00 -07:00
2020-04-12 17:32:29 +03:00
2020-04-05 16:01:39 +03:00
2020-03-24 21:56:24 +02:00
2020-02-26 20:03:00 +02:00
2020-04-03 11:42:17 -07:00
2020-02-08 00:48:03 -05:00
2020-04-06 13:34:07 +03:00
2020-04-07 16:55:07 -07:00
2020-03-02 15:05:06 -08:00
2020-02-21 18:16:14 +02:00
2020-02-22 17:40:55 -08:00
2019-10-17 20:52:10 -04:00
2019-07-14 17:24:58 -04:00
2020-04-06 13:34:07 +03:00
2020-03-11 04:40:51 -07:00
2020-04-06 13:34:07 +03:00
2020-03-16 11:46:08 +02:00
2020-04-08 12:52:20 -07:00
2020-03-01 06:46:37 -08:00
2019-07-13 00:17:23 -04:00
2019-12-14 17:18:48 -05:00
2020-01-05 23:54:11 -08:00
2019-11-09 16:19:05 -05:00
2020-04-12 22:08:06 +03:00
2020-02-08 00:48:03 -05:00
2020-02-02 00:55:26 -08:00
2020-02-13 21:24:24 -05:00
2020-03-28 11:40:42 +02:00
2020-03-15 11:57:34 +02:00
2020-04-05 15:42:38 +03:00
2020-04-03 08:21:08 +03:00
2020-01-05 13:31:24 +02:00
2020-04-07 19:20:39 +03:00
2020-03-27 19:05:52 -07:00
2020-04-06 13:34:07 +03:00
2020-04-12 15:45:13 +03:00
2020-03-17 19:06:32 +02:00
2020-04-07 17:23:23 +03:00
2020-02-18 13:33:00 -08:00
2019-07-14 17:24:58 -04:00
2020-04-10 18:09:58 -07:00
2020-04-11 12:34:32 -07:00
2020-04-06 13:34:07 +03:00
2020-04-06 13:34:07 +03:00
2020-04-12 16:55:00 +03:00
2020-04-13 20:00:34 +03:00
2020-02-20 20:12:51 -05:00
2020-01-12 11:00:38 -08:00
2020-04-04 03:29:40 -07:00
2020-04-11 17:54:24 -04:00
2020-04-06 13:34:07 +03:00
2020-04-08 18:33:55 -07:00
2020-01-20 21:33:20 -05:00
2020-04-05 12:44:25 +03:00
2020-04-05 15:06:43 +03:00
2020-03-22 03:19:28 -07:00
2020-04-10 00:29:51 -04:00
2019-12-14 12:31:29 -05:00
2020-04-06 13:34:07 +03:00
2020-04-06 13:34:07 +03:00
2019-07-14 17:24:58 -04:00
2020-04-02 20:53:08 +03:00
2020-02-20 20:12:51 -05:00
2019-07-14 17:24:58 -04:00
2020-04-06 13:34:07 +03:00
2020-03-01 14:36:28 -08:00
2020-03-06 11:30:39 -05:00
2020-04-03 01:04:27 -07:00
2019-07-14 17:24:58 -04:00
2020-02-12 14:35:37 -08:00
2020-04-08 12:52:20 -07:00
2020-03-16 10:33:31 +01:00
2020-02-18 13:33:00 -08:00
2020-04-13 20:00:34 +03:00
2020-03-15 11:57:34 +02:00
2019-10-08 20:27:39 -04:00
2020-02-19 15:47:55 -08:00
2019-12-18 07:38:59 -05:00
2020-04-08 15:17:02 -07:00
2020-04-08 18:33:55 -07:00
2020-02-12 14:35:37 -08:00
2019-07-14 17:24:58 -04:00
2020-04-13 13:08:39 +03:00
2020-04-03 11:42:17 -07:00
2020-04-03 11:42:17 -07:00
2020-04-03 08:21:08 +03:00
2020-02-13 00:59:04 -05:00
2019-07-14 17:24:58 -04:00
2020-03-16 11:46:08 +02:00
2019-02-19 07:48:19 -05:00
2020-04-07 07:40:33 -07:00
2020-02-20 20:23:33 -05:00
2020-04-06 15:41:26 +03:00
2020-02-21 18:16:14 +02:00
2020-04-03 11:42:17 -07:00
2019-11-09 21:50:18 -05:00
2020-04-11 12:24:02 -07:00