Quiet game.print

Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Quiet game.print

Post by darkfrei »

Can you please add flag for quiet print command? Something like

Code: Select all

game.print(string, {no_sound=true})
Or new function:

Code: Select all

game.quiet_print (string, color)

boernsen2
Inserter
Inserter
Posts: 21
Joined: Thu Dec 02, 2021 5:36 pm
Contact:

Re: Quiet game.print

Post by boernsen2 »

I'm also in need of this. Did you find any solution or workaround? (i.e. mute -> print -> unmute)

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2244
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Quiet game.print

Post by boskid »

Implemented for 1.1.93: print's second parameter will accept a PrintSettings where { sound = defines.print_sound.never } can be given.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Quiet game.print

Post by darkfrei »

boskid wrote:
Mon Oct 09, 2023 11:28 am
Implemented for 1.1.93: print's second parameter will accept a PrintSettings where { sound = defines.print_sound.never } can be given.
Thanks! Also custom sound?
LuaGameScript.html#print
concepts.html#PrintSettings

curiosity
Filter Inserter
Filter Inserter
Posts: 324
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Quiet game.print

Post by curiosity »

darkfrei wrote:
Fri Oct 27, 2023 10:17 am
Also custom sound?
viewtopic.php?f=28&t=109100

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2244
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Quiet game.print

Post by boskid »

darkfrei wrote:
Fri Oct 27, 2023 10:17 am
Thanks! Also custom sound?
Implemented in 1.1.95 (PrintSettings::sound_path)

Post Reply

Return to “Implemented mod requests”