59 Commits

Author SHA1 Message Date
Wuzzy
2fc80c66ae Make palm leaves laser-compatible 2024-08-12 16:07:59 +02:00
Wuzzy
e3adb2536b Don't change colorcode of travelling lasers 2024-08-10 16:41:40 +02:00
Wuzzy
485c199844 Fix crystal returning the laser 2024-08-10 16:34:24 +02:00
Wuzzy
4cbac9d86f Add colorcode in laser propagation algorithm 2024-08-10 16:23:19 +02:00
Wuzzy
e86a2684c7 Document laser physics code 2024-08-10 15:54:13 +02:00
Wuzzy
af96c3a12f Mix laser color in crystal correctly 2024-08-10 15:22:02 +02:00
Wuzzy
c2737a15b6 Partial support for laser colors in transm. mirror 2024-08-10 12:32:39 +02:00
Wuzzy
7e29a5c4d6 Make open chest compatible with laser color 2024-08-10 08:38:03 +02:00
Wuzzy
9efd2ddf7f Refactor panes and make compatible w/ laser color 2024-08-09 20:07:59 +02:00
Wuzzy
7f98d4dcc9 Add color laser support for mirrors and more 2024-08-09 00:54:09 +02:00
Wuzzy
e6ab2d3194 Fix colored detector not detecting level win 2024-08-08 23:26:27 +02:00
Wuzzy
4dff074126 Add colored detectors 2024-08-08 23:05:41 +02:00
Wuzzy
87466b59ed Document code of full_laser_update more 2024-08-08 21:21:27 +02:00
Wuzzy
300b6932d4 Play detecor sounds after the map write 2024-08-08 21:15:48 +02:00
Wuzzy
05e5c5d701 Add cyan, magenta, white, yellow emitters 2024-08-08 21:00:25 +02:00
Wuzzy
728cb866d5 Implement laser color crossings 2024-08-08 18:34:39 +02:00
Wuzzy
e8e4811e2d Add functions to deal with new laser colors 2024-08-08 18:11:39 +02:00
Wuzzy
b09953f3ad Change ID of red emitters 2024-08-08 15:09:25 +02:00
Wuzzy
3ea3459b7f Make panes compatible with laser 2024-08-08 12:03:12 +02:00
Wuzzy
259ef9f6aa Merge branch 'laser_slab' 2024-08-08 10:53:15 +02:00
Wuzzy
7cac62c1cb Only allow one slab rotation 2024-08-08 10:39:05 +02:00
Wuzzy
d77cf97956 Add detector sounds 2024-08-07 09:53:01 +02:00
Wuzzy
37d17acbc1 Fix some slab laser bugs 2024-08-06 21:22:08 +02:00
Wuzzy
957e93ce72 Add partial support for slabs to be lasered 2024-08-06 21:16:07 +02:00
Wuzzy
9acc8d7217 Don't call get_node in laser traversal
Because during laser traversal, we work on voxelmanip
data instead; mixing voxelmanip and minetest.get_node
is a bad idea.
2024-08-02 15:48:31 +02:00
Wuzzy
7d8dfd5ff6 Add hollow barrel 2024-08-02 15:34:11 +02:00
Wuzzy
ee346ed0ef Laser can now shine into open chest 2024-08-02 12:43:21 +02:00
Wuzzy
e222d6d732 Implement new transmissive mirror physics (WIP) 2022-03-14 02:16:24 +01:00
Wuzzy
9d47b343ae Only burn barricades in-game 2022-03-13 05:39:39 +01:00
Wuzzy
16fb221c1d Add new first level, fix treasure counter 2022-03-06 22:52:36 +01:00
Wuzzy
7cbd327ad4 Add skulls (change walkability if shot by laser) 2022-03-05 02:34:29 +01:00
Wuzzy
48a652b6bc Display number of found treasures in GUI 2022-03-04 22:23:07 +01:00
Wuzzy
985d3dfa54 Play simple effect when laser destroys nodes 2022-03-04 21:13:08 +01:00
Wuzzy
6c026275b9 Change victory condition: Collect all gold 2022-03-04 01:11:40 +01:00
Wuzzy
9f46b215f1 Fix on_construct typo 2022-02-20 03:15:42 +01:00
Wuzzy
c33d4bfbbf Barricade burning propagates to neighbors 2022-02-15 06:18:17 +01:00
Wuzzy
8bfa7e7e21 Make barricade burn on laser contact 2022-02-15 05:42:50 +01:00
Wuzzy
00b2ba7626 Add simple decorative plants 2022-02-14 05:54:24 +01:00
Wuzzy
a93da1f623 Fix false win if detector stack in inventory 2022-02-10 19:29:30 +01:00
Wuzzy
2929b97cb7 Use proper vector init functions 2022-01-31 02:11:30 +01:00
Wuzzy
9046210545 Add takable detectors 2022-01-09 00:56:44 +01:00
Wuzzy
43b4c6d65a Move level victory check to end of level update 2022-01-08 22:22:35 +01:00
Wuzzy
28ec2a24be Print benchmark time for laser update 2022-01-08 22:13:02 +01:00
Wuzzy
f974af7d76 Also use vmanip for level clearing 2022-01-08 21:28:40 +01:00
Wuzzy
5f65950bf4 Use VManip for laser update 2022-01-08 20:49:50 +01:00
Wuzzy
037d1f9d6f Add crystal (spread laser in all dirs) 2021-12-29 15:24:19 +01:00
Wuzzy
6a4f6926f9 Add playfield check 2021-12-28 04:31:46 +01:00
Wuzzy
ee05696fd7 Fix broken takable update 2021-12-28 04:20:19 +01:00
Wuzzy
29a8222d46 Reduce number of laser nodes from 63 to 7 2021-12-27 16:59:59 +01:00
Wuzzy
d4c02b4353 Add transmissive laser 2021-12-27 16:36:31 +01:00