Commit 8e37a70
committed
fix: update research triggers and queue handling for Factorio 2.0 API
- Research trigger `trig.item` is now a table, not a string. Use `trig.item.name` for localisation and amount lookups.
- Research queue now returns LuaTechnology objects instead of tech names. Pass these directly to `tech_name_string` when announcing the queue.1 parent da77d58 commit 8e37a70
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
| 732 | + | |
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| |||
0 commit comments