Closed rmroc451 closed 3 months ago
Current implementation being tested with Hawke in a multiplayer game:
Setting created to disable cost on button usage (buttons work as of 0.1.5, no charge, by default)
Cabeese now have a new load type of Crew Hours
. Each caboose, regardlesss of model, has an 8 hour load slot that actions will be deducted from, when the buttons are clicked (if the settings are enabled).
team track
, repair track
, ~passenger stop
~.
The cabeese do not utilize way bills, they auto load like passenger cars when spotted on the appropriate track spans.
Cost of buttons is as follows:
AI Engineer
Financial Ledger entry (an AI has to eat, right?) and subtracted from the nearest Caboose's crew hours, if there is one that has sufficient hours to cover the task.example, a 17 car train, takes 17 minutes of time from the caboose's
Crew Hours
and also adds to theAI Engineer
running daily total usage, 17 minutes of time taken. Without a caboose nearby or one having sufficient resources, it gets the 1.5x multipler, making it 26 minutes of time taken (Math.Ceil, ledger works in whole dollars :D) An hour of AI Engineer Brakeman time is code to be $5 inStateManager.PayAutoEngineerWages
.
If setting enabled, each button click iterates the consist, checking if the following and short circuiting on the first one it finds. if multiple are found nearby, it attempts takes the closest one to the car that initiated the button click from it's inspector.
WIP styling on resource amount | v1 styling | v2 styling |
---|---|---|
UpdateCarsNearbyPlayer
but for car.