133 Commits

Author SHA1 Message Date
cheapie
7dc4d13f59 Require floor heights to be at least 1m
Floor heights of 0 lead to ambiguous car positions and strange behavior
2024-08-06 12:49:27 -05:00
cheapie
fe4c23ecd0 Fix possible crashes when removing a dispatcher connection that isn't idle 2024-08-06 12:44:29 -05:00
cheapie
afc8b657a9 Fix crash if a machine is attempted to be paired to a dispatcher 2024-07-19 17:30:25 -05:00
cheapie
7e8bdac31e Fix crash if a dispatcher receives a status message for an unknown car 2024-07-19 17:30:03 -05:00
cheapie
bf31b4384e Add destination-based dispatching
Still uses a crude ETA algorithm for now and is missing some features, but it is working and usable at a basic level
2024-05-31 23:26:37 -05:00
cheapie
deee7a747c Fix cars recalling to the wrong floor when recall is triggered by the dispatcher and the previous recall was to a different floor 2024-05-21 19:48:12 -05:00
cheapie
58ac782a8a Fix car calls entered via dispatcher by laptop interface being at wrong floors if above a skipped floor 2024-05-21 19:43:27 -05:00
cheapie
80fcd72450 Fix possible crash in dispatcher 2024-05-15 19:23:21 -05:00
cheapie
77fda7e5b9 Fix cars trying to answer hall calls in both directions at the same time 2024-05-14 21:29:53 -05:00
cheapie
c3b125132d Fix hall calls sent via I/O modules to unloaded dispatchers not being reliably serviced 2024-05-14 21:18:24 -05:00
cheapie
105e65e6ba Add multi-car digilines I/O module
Supports all commands the normal digilines I/O module does, but with the addition of a 'carid' parameter that specifies the controller or dispatcher to execute the command on.
Requires 'server' or 'protection_bypass' privs to place or configure as it can be used to change security settings on another player's elevator.
2024-05-14 21:10:10 -05:00
cheapie
1500708213 Manual updates, corrections, and clarifications 2024-05-14 18:29:34 -05:00
cheapie
b254f30d72 Allow car call security control from digilines too 2024-05-14 18:06:22 -05:00
cheapie
dfcf5f322d Add car call security options to mesecons input modules 2024-05-14 18:01:15 -05:00
cheapie
90e7f15112 Allow changing inspection speed
Can be set to 0.1-0.7m/s, cannot be higher than contract speed
2024-05-14 17:42:12 -05:00
cheapie
e8242dd09b Fix a few errors in the manual 2024-05-11 23:13:42 -05:00
cheapie
d961c7eb83 Update manual 2024-05-11 22:59:17 -05:00
cheapie
18b8f47dce Add flashing fire hat and recall to next available floor for machine room smoke detectors 2024-05-11 16:27:42 -05:00
cheapie
a659a519eb Add alternate floor recall
Currently only accessible via mesecons input modules
2024-05-11 16:04:54 -05:00
cheapie
7be5fe7cc2 Add dispatcher support to laptop interface 2024-05-11 15:36:36 -05:00
cheapie
404d228d8a Add dispatcher support to digilines I/O 2024-05-11 13:51:20 -05:00
cheapie
9aa2b736c1 Add dispatcher support to mesecons I/O 2024-05-11 13:15:18 -05:00
cheapie
1435944ad6 Ring bell early for hall calls if the direction is known 2024-05-11 12:05:00 -05:00
cheapie
645b294431 Add craft recipes
Uses items from default (MTG or DB should work, along with most other MTG-based games), mesecons, digilines (digilines I/O module only), and basic_materials. The mod is still usable in creative mode without any of these.
2024-05-11 11:22:41 -05:00
cheapie
6c908698d7 Add nudging
Timer can be edited from the parameters menu, entering 0 disables nudging
2024-05-10 21:00:30 -05:00
cheapie
5ac4571337 Fix some minor bugs
This improves fire recall when the car is currently moving past the recall floor, and fixes a delay in hall call dispatching when a car is currently leaving the floor the call is on.
2024-05-10 19:18:46 -05:00
cheapie
79aae96641 Add decorative tapehead
Spawns on top of the car in the corner opposite the PI if tape is present there, reads magnets on tape to control its LEDs but does not otherwise actually affect operation.
2024-05-08 18:38:18 -05:00
cheapie
9fc3105444 Add a star to the button for the main egress floor 2024-05-07 18:18:19 -05:00
cheapie
b4a526b4c0 Add car call security 2024-05-07 18:16:19 -05:00
cheapie
785edbd5fd Add more decorations
Adds (decorative) tape, including variants with magnets or brackets, and new textures for the outside of the car.
2024-05-04 22:27:36 -05:00
cheapie
e26a90f00a Start adding origins of files
A few sounds are still missing from the list, those are being worked on
2024-05-01 04:23:27 -05:00
cheapie
73a295d4e0 Replace contactor sounds with self-recorded ones 2024-04-30 20:19:03 -05:00
cheapie
3b666a9749 Add Digilines interface 2024-04-28 14:43:16 -05:00
cheapie
8072e72b9f Add vertical lanterns 2024-04-28 00:58:43 -05:00
cheapie
5d7ff23a00 Add Mesecons input 2024-04-28 00:14:28 -05:00
cheapie
0b5f729aa8 Add guide rails 2024-04-27 23:46:45 -05:00
cheapie
7077022b3e Fix crash if a PI is paired to an uninitialized controller 2024-04-27 20:32:02 -05:00
cheapie
1e2c5e046c Turn around at the next available floor in phase 1 recall, not the original destination 2024-04-27 20:28:08 -05:00
cheapie
59faed0a54 Fix hall calls being ignored if a car is already there but out of service 2024-04-27 20:07:46 -05:00
cheapie
6c00ce6f56 Allow car to reverse when serving a car call if there is no demand in the original direction 2024-04-27 19:59:22 -05:00
cheapie
21574f2a67 Add collector state options to the Mesecons output 2024-04-27 14:43:23 -05:00
cheapie
6f8ba2d5db Add Mesecons output 2024-04-27 14:36:37 -05:00
cheapie
215af4ca8c Prevent pairing a machine to a car that already has one 2024-04-27 12:56:41 -05:00
cheapie
d376cbf90e Add decorative buffers in two styles 2024-04-27 00:47:59 -05:00
cheapie
97e3dfb5eb Improve door sill textures 2024-04-26 20:02:13 -05:00
cheapie
c1440c9533 Add scrolling to remote interface and fix double-escaping 2024-04-26 19:58:01 -05:00
cheapie
9583fadc26 Hopefully fix car door drifting past closed sometimes 2024-04-26 19:34:06 -05:00
cheapie
b8551c435a Don't log door timeout faults in stop/inspection modes 2024-04-26 19:28:49 -05:00
cheapie
b2eccc0bd9 Update PI text immediately upon connection 2024-04-26 19:23:25 -05:00
cheapie
97dfb694a2 Fix crash if someone tries connecting a PI/lantern to a dispatcher 2024-04-26 19:19:47 -05:00