[MIRROR] Request Internet Sound Optional Credit User [MDB IGNORE] (#22244)

* Request Internet Sound Optional Credit User  (#76453)

## About The Pull Request

What this PR does is it adds a small additional feature to the Request
Internet Sound verb to give users who request music an option to credit
themselves for the song request. It will use character name of the
person who submits the request, with the option to be anonymous. The
default will make users anonymous.

## Why It's Good For The Game

This differentiates songs that where requested by users and songs that
admins themselves played. And allows users to give themselves credit for
their 'Good' (or bad) music preferences.

<details>
<summary>Screenshot</summary>

![dreamseeker_OQyx1sZ689](https://github.com/tgstation/tgstation/assets/2568378/806347a7-a930-4993-b2d0-b1890021c662)

</details>

## Changelog

🆑
qol: Request Internet Sound now has the option to credit the person who
requested the Sound. Defaults to anonymous.
/🆑

* Request Internet Sound Optional Credit User

---------

Co-authored-by: SomeRandomOwl <2568378+SomeRandomOwl@users.noreply.github.com>
Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-07-05 23:19:47 -07:00
committed by GitHub
co-authored by SomeRandomOwl lessthanthree
parent 4ffe1aff35
commit 217f0c81e2
4 changed files with 17 additions and 5 deletions
+2 -1
View File
@@ -1804,9 +1804,10 @@
if(!check_rights(R_SOUND))
return
var/credit = href_list["credit"]
var/link_url = href_list["play_internet"]
if(!link_url)
return
web_sound(usr, link_url)
web_sound(usr, link_url, credit)