Skip to content

Commit

Permalink
add fucky wucky (#2138)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
ports BeeStation/BeeStation-Hornet#1574
oopsie woopsie we made a fucky wucky

![image](https://github.com/shiptest-ss13/Shiptest/assets/81882910/52112519-0959-423b-a221-031dfe9eb47e)

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
our code monkeys are working VERY hard and need some representation
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
add: fucky wucky admin button
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
thgvr authored Jul 7, 2023
1 parent d8cf38d commit e43ef2d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ GLOBAL_PROTECT(admin_verbs_debug)
/client/proc/map_template_load,
/client/proc/map_template_upload,
/client/proc/jump_to_ruin,
/client/proc/fucky_wucky,
/client/proc/view_runtimes,
/client/proc/pump_random_event,
/client/proc/reload_configuration,
Expand Down
21 changes: 21 additions & 0 deletions code/modules/admin/verbs/debug.dm
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,27 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
to_chat(usr, "<span class='name'>[template.name]</span>", confidential = TRUE)
to_chat(usr, "<span class='italics'>[template.description]</span>", confidential = TRUE)

/client/proc/fucky_wucky()
set category = "Debug"
set name = "Fucky Wucky"
set desc = "Inform the players that the code monkeys at our headquarters are working very hard to fix this."

if(!check_rights(R_DEBUG))
return
remove_verb(/client/proc/fucky_wucky)
message_admins("<span class='adminnotice'>[key_name_admin(src)] did a fucky wucky.</span>")
log_admin("[key_name(src)] did a fucky wucky.")
for(var/m in GLOB.player_list)
var/datum/asset/fuckywucky = get_asset_datum(/datum/asset/simple/fuckywucky)
fuckywucky.send(m)
SEND_SOUND(m, 'sound/misc/fuckywucky.ogg')
to_chat(m, span_purple(examine_block("<img src='[SSassets.transport.get_asset_url("fuckywucky.png")]'>")))

addtimer(CALLBACK(src, PROC_REF(restore_fucky_wucky)), 600)

/client/proc/restore_fucky_wucky()
add_verb(/client/proc/fucky_wucky)

/client/proc/toggle_medal_disable()
set category = "Debug"
set name = "Toggle Medal Disable"
Expand Down
4 changes: 4 additions & 0 deletions code/modules/asset_cache/asset_list_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@
"stamp-solgov" = 'icons/stamp_icons/large_stamp-solgov.png'
)

/datum/asset/simple/fuckywucky
assets = list(
"fuckywucky.png" = 'html/fuckywucky.png'
)

/datum/asset/simple/IRV
assets = list(
Expand Down
Binary file added html/fuckywucky.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sound/misc/fuckywucky.ogg
Binary file not shown.

0 comments on commit e43ef2d

Please sign in to comment.