Adds tooltips to /tg/c keywords. Adds support for chat embedded tgui components (#12094)

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-03-18 04:08:14 +01:00
committed by GitHub
parent d39bb8dce7
commit 6524e00580
15 changed files with 460 additions and 221 deletions
+5 -5
View File
@@ -636,7 +636,7 @@ GLOBAL_PROTECT(admin_verbs_hideable)
if(!SStrading_card_game.loaded)
message_admins("The card subsystem is not currently loaded")
return
reloadAllCardFiles(SStrading_card_game.card_files, SStrading_card_game.card_directory)
SStrading_card_game.reloadAllCardFiles()
/client/proc/validate_cards()
set name = "Validate Cards"
@@ -646,8 +646,8 @@ GLOBAL_PROTECT(admin_verbs_hideable)
if(!SStrading_card_game.loaded)
message_admins("The card subsystem is not currently loaded")
return
var/message = checkCardpacks(SStrading_card_game.card_packs)
message += checkCardDatums()
var/message = SStrading_card_game.checkCardpacks(SStrading_card_game.card_packs)
message += SStrading_card_game.checkCardDatums()
if(message)
message_admins(message)
@@ -663,12 +663,12 @@ GLOBAL_PROTECT(admin_verbs_hideable)
var/batchCount = input("How many times should we open it?", "Don't worry, I understand") as null|num
var/batchSize = input("How many cards per batch?", "I hope you remember to check the validation") as null|num
var/guar = input("Should we use the pack's guaranteed rarity? If so, how many?", "We've all been there. Man you should have seen the old system") as null|num
checkCardDistribution(pack, batchSize, batchCount, guar)
SStrading_card_game.checkCardDistribution(pack, batchSize, batchCount, guar)
/client/proc/print_cards()
set name = "Print Cards"
set category = "Debug"
printAllCards()
SStrading_card_game.printAllCards()
/client/proc/give_spell(mob/spell_recipient in GLOB.mob_list)
set category = "Admin.Fun"