fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

FR: subsystem scanning that doesn't say "cargo"

Open jlberman opened this issue 2 years ago • 8 comments

Currently, when a subsystem has a specific cargo assigned to it, on scan it's hardcoded to print "cargo: CARGONAME".

Request an option to not print "cargo".

jlberman avatar Jan 05 '24 23:01 jlberman

The text can be modified via strings.tbl, specifically 84, "cargo: %s", but this will change the text across the entire mod. I assume you were looking for something more specific to the ship/subsystem in question?

Baezon avatar Jan 05 '24 23:01 Baezon

Correct, I want it to just print one time.

jlberman avatar Jan 05 '24 23:01 jlberman

screen0090 screen0091

jlberman avatar Jan 05 '24 23:01 jlberman

For what it's worth, by overriding the string, you could still get the same effect, provided you remembered to write cargo: ... as the cargo for other examples which you still want to work the normal way.

Baezon avatar Jan 05 '24 23:01 Baezon

There is an existing option to change what is printed; if the cargo is prefaced with a #, the string will say "passengers: ..." instead of "cargo: ...".

But if you want to remove the "cargo: " altogether, that would require some additional work.

Goober5000 avatar Jan 06 '24 00:01 Goober5000

Yes, I'm looking to remove the "cargo" string entirely.

On Fri, Jan 5, 2024 at 7:06 PM Goober5000 @.***> wrote:

There is an existing option to change what is printed; if the cargo is prefaced with a #, the string will say "passengers: ..." instead of "cargo: ...".

But if you want to remove the "cargo: " altogether, that would require some additional work.

— Reply to this email directly, view it on GitHub https://github.com/scp-fs2open/fs2open.github.com/issues/5922#issuecomment-1879429630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6PL4DGHRWELWPVNLBAVNLYNCIRDAVCNFSM6AAAAABBPC5VNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGQZDSNRTGA . You are receiving this because you authored the thread.Message ID: @.***>

jlberman avatar Jan 06 '24 00:01 jlberman

Did you want to try the strings.tbl method...? I can help you with it.

Baezon avatar Jan 06 '24 00:01 Baezon

Nah, I can go without it for now - the strings.tbl method would break a whole lot of other stuff in my mod, and I don't want to redo everything from scratch.

On Fri, Jan 5, 2024 at 7:23 PM Asteroth @.***> wrote:

Did you want to try the strings.tbl method...? I can help you with it.

— Reply to this email directly, view it on GitHub https://github.com/scp-fs2open/fs2open.github.com/issues/5922#issuecomment-1879452363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6PL4EBMWZB7Y3RL6NPZNLYNCKO7AVCNFSM6AAAAABBPC5VNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGQ2TEMZWGM . You are receiving this because you authored the thread.Message ID: @.***>

jlberman avatar Jan 06 '24 00:01 jlberman