Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type in how many clones to make of a vehicle #2902

Closed
DorpsGek opened this issue May 14, 2009 · 6 comments
Closed

Type in how many clones to make of a vehicle #2902

DorpsGek opened this issue May 14, 2009 · 6 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

cykro opened the ticket and wrote:

Ok, my first contrib ever to one of these things, so dont go off flaming if I messed up, just point me in the right direction and I'll fix it ;)

Started playing this clone a few days ago, and absolutely love it.
However, I found it rather tedious to clone a vehicle numerous times in current version (I sure love those trucks), so I added a popup window that asks how many clones that should be produced.
It only pops up if Alt key is pressed. (added a global _alt_pressed that is similar to _shift_pressed)
If Ctrl is pressed, it will create shared orders for all clones and the "clonee". (u know, the vehicle that was cloned...)

Added a language string STR_DEPOT_CLONE_VEHICLE_CAPTION, but have only added translations for swedish and both english. Not sure how u work with the languages...

I personally can't live without this one, but not sure if you'll appreciate it as much :)

Let me know how I did

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/2902
@DorpsGek
Copy link
Member Author

cykro wrote:

Update:
Reported Version should be 0.7.0!


This comment was imported from FlySpray: https://bugs.openttd.org/task/2902#comment6069

@DorpsGek
Copy link
Member Author

SmatZ wrote:

Thanks for your patch.
In my opinion, clicking mouse button 10 times is faster than typing in a number...
A problem is not all targets have the "Alt" key. (you are patching only win32)


This comment was imported from FlySpray: https://bugs.openttd.org/task/2902#comment6071

@DorpsGek
Copy link
Member Author

cykro wrote:

well, you gotta click "clone and then the vehicle" 10 times afaik. was too tedious for me anyway ;)

and perhaps another key should be more suitable then...


This comment was imported from FlySpray: https://bugs.openttd.org/task/2902#comment6072

@DorpsGek
Copy link
Member Author

W_neun wrote:

No, you don't have to - there is a 'clone this vehicle' button in the vehile window, which replaces the 'go to depot' button when the vehicle is in a depot. If you want to clone a vehicle that is not in a depot, just clone it once with the 'clone vehicle' button in the depot window, the newly built vehicle's window pops up, and you can build additional copies of it in no time by clicking on that aforementioned button.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2902#comment6095

@DorpsGek
Copy link
Member Author

cykro wrote:

ahh ok. then it's not crucial.
so only 20 clicks if you want 20 copies. an improvement, but as for me, I'm still more lazy than that ;)


This comment was imported from FlySpray: https://bugs.openttd.org/task/2902#comment6112

@DorpsGek
Copy link
Member Author

DorpsGek commented Sep 9, 2009

Rubidium closed the ticket.

Reason for closing: Duplicate

Of #2402


This comment was imported from FlySpray: https://bugs.openttd.org/task/2902

@DorpsGek DorpsGek closed this as completed Sep 9, 2009
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) duplicate patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant