Commit Graph

206 Commits

Author SHA1 Message Date
Cooldude2606
27b4f8b853 Fixed linting errors 2021-04-29 23:03:14 +01:00
Cooldude2606
bb0bf13728 Fixed opening view and create at same time 2021-04-29 22:48:59 +01:00
Cooldude2606
531d5d807f Fixed task removal 2021-04-29 22:48:22 +01:00
Cooldude2606
e1e20162cf Fixed tasks not updating while offline 2021-04-29 22:47:28 +01:00
bbassie
dfcefb3a1b Merge branch 'feature/task-list-update' of https://github.com/bbassie/scenario into feature/task-list-update 2021-04-28 00:28:51 +02:00
bbassie
a3fe06b1f8 Fix documentation and some names of functions, variables and arguments 2021-04-28 00:25:19 +02:00
Bastiaan
ea8e093c31 Apply suggestions from code review
Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com>
2021-04-27 23:33:05 +02:00
Bastiaan
254d69f646 Fix documentation modules/gui/task-list.lua
Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com>
2021-04-27 23:29:28 +02:00
bbassie
77e0aff451 Variable name fix 2021-04-26 10:57:19 +02:00
bbassie
9e6d4e7454 Move close button to the side of the header 2021-04-26 02:31:23 +02:00
bbassie
ea24477175 Fixed some of the requested changes
* Made add_task and update_task have consistent arguments
* Removed default task title and body
* Task list resized to fit to 10 items
2021-04-25 22:26:22 +02:00
bbassie
b08e93e245 Fix parse_message 2021-04-16 22:45:58 +02:00
bbassie
eeb9f31b57 Basic task with title and body implementation
- Parsing of the message is a bit low effort and will need to be improved.
2021-04-14 00:24:52 +02:00
bbassie
7bbefd67b4 Change button size
- The icons were clipping
2021-04-11 23:03:16 +02:00
bbassie
745f10b10d Added file and logic comments 2021-04-11 20:09:35 +02:00
bbassie
11296b3b36 Small improvements
- Removed extra redraw that doesn't seem to be needed
- Fixed that it would not focus on the create new warp textbox
2021-04-11 19:54:38 +02:00
bbassie
d853d1c991 Delete button and some fixes
- Add delete task button
- Fix update task item
- Fix no tasks found visibility and tooltip
2021-04-10 22:13:21 +02:00
bbassie
3d9c7e3400 Task list redesign
- Redesigned the gui
- Added / changed locales where needed
2021-04-10 21:30:29 +02:00
bbassie
1042fe6379 Make number bold 2021-01-27 22:13:03 +01:00
bbassie
8a65264840 Task list styling fixes:
* Ported over textbox styles to make it strechable.
* Fixed the label to allow multi line and not create weird empty areas below the table.
* Fixed cell padding to be better spaced, may need more fine tuning.
2021-01-27 01:11:33 +01:00
bbassie
3ab6326a5f Tasklist refactor to match the new warp system
* Removed the ability to pass `task_number` to `Task.add_task`
* Unified button styles of the Gui
* Made task-list code simular to the new warp-list
2021-01-24 02:02:24 +01:00
badgamernl
bd59342497 Changed choose_elem from item type to signal 2020-11-07 00:42:34 +01:00
badgamernl
c46244e7ed Fix floating text position 2020-09-11 20:48:35 +02:00
badgamernl
72a3378bfa Fix toggle item button 2020-09-08 20:34:38 +02:00
badgamernl
7449535aa7 Remove alignment flow
- This should also help with longer entity names
2020-09-08 17:13:18 +02:00
badgamernl
afcd16c56e Fixed table center
Fixed locale
2020-09-08 16:20:02 +02:00
badgamernl
a01ba807f5 Change padding
(Was causing the gui width to change when entity expanded)
2020-09-07 05:11:29 +02:00
badgamernl
f76d8b0a3a Fix unneeded string.match
- Tip from cool to use tooltip on flow
2020-09-07 05:03:28 +02:00
badgamernl
cbb925eb65 Fix item and entity name assingment
- Replaced with a more readable version
2020-09-07 00:52:40 +02:00
badgamernl
ca2ff8075e Extra space added to entity table
(There was some extra horizontal space that was empty)
2020-09-05 00:48:28 +02:00
badgamernl
ef823f2f69 Fix empty placeholder using unneeded gui element 2020-09-05 00:44:11 +02:00
badgamernl
00bb67e9a0 Fix scroll panel padding issues 2020-09-05 00:32:21 +02:00
badgamernl
4100ba9876 Fix function calls 2020-09-03 04:27:28 +02:00
badgamernl
b03dbf8674 Fix player.print 2020-09-03 04:22:29 +02:00
badgamernl
e52f06ddf9 Fixed locale issues 2020-09-03 03:46:23 +02:00
badgamernl
e23092aa77 Fixed mixup of docs 2020-09-03 03:37:10 +02:00
badgamernl
620051ddac Fix function chain 2020-09-03 03:34:59 +02:00
badgamernl
f149e446a1 Fixed heavy repitition
- Introduced EmmyLua documentation (can be removed if needed)
- Remamed type to inv
2020-09-03 03:33:39 +02:00
badgamernl
58a23a901a Fix amount textbox validation & event 2020-09-02 16:03:31 +02:00
badgamernl
665ecfca7c Change in look and feel:
- Change the way the header text is displayed;
- Change entity toggle to be checkmark and cross;
- Added burner mining drill to autofill;
- Added comments;
- Changed use of some scroll tables to just normal tables;
- Fixed entity toggle not working when placing down entities;
2020-09-02 00:10:10 +02:00
badgamernl
f1537af711 Major overhaul of inner workings:
- Change config layout to entity based;
- Change the gui layout to entity based;
- Fix entity placed event to work with new system;
- Change gui styles to fit other gui's more;
- Added demo entities with items:
* Car;
* Locomotive;
* Spidertron;
* Gun Turret;
* Stone furnace;
* Steel furnace;
2020-09-01 05:43:05 +02:00
badgamernl
dac4d40682 Changed config/settings loop
- Fixed settings/entity loop should be faster now
- Fixed floating text position overlapping
- Added more comments
2020-08-20 22:29:50 +02:00
badgamernl
9911a0e3d3 Fixed redundand contains function 2020-08-20 21:48:53 +02:00
badgamernl
8efa1c0954 Locale and code quality improvements
- Added tank ammo autofill to config
- Fixed locale to be fancier
- Fixed some repatative code
2020-08-20 21:45:35 +02:00
badgamernl
05153c7a6c Fix desync settings table shared acros all players 2020-08-20 21:03:45 +02:00
badgamernl
453b4f8357 Added Entity build event autofill
- Added autofill on entity placement;
- Added nice flying text;
- Fixed ability to insert more of a item than the stacksize allows;
2020-08-20 00:10:36 +02:00
badgamernl
c2ea0bf590 Added setings left container
- Changed toolbar button to left flow toggle;
- Added Ammo section;
- Added Fuel section;
- Added default config settings;
- Added autofill item toggle button and textboxes;
2020-08-19 01:35:03 +02:00
badgamernl
0900fe13ea Added Autofill toolbar button
- May needs to be changed to have a left flow with option;
2020-08-17 23:04:20 +02:00
Cooldude2606
f98599ca82 Fixed sups not showing when set to visible 2020-08-17 15:20:08 +01:00
Cooldude2606
ad1686ad60 Fixed player list colours 2020-08-16 21:12:29 +01:00