Skip to content

Commit

Permalink
makes the description for origins do something (#4619)
Browse files Browse the repository at this point in the history
people wrote up all these descriptions and they never ever were
displayed. awesome

:cl:
add: origin descriptions are now displayed when selecting an origin
/:cl:
  • Loading branch information
harryob committed Oct 11, 2023
1 parent 681e3ff commit cac1afe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,9 @@ var/const/MAX_SAVE_SLOTS = 10

if("origin")
var/choice = tgui_input_list(user, "Please choose your character's origin.", "Origin Selection", GLOB.player_origins)
var/datum/origin/picked_choice = GLOB.origins[choice]
if(tgui_alert(user, "You've selected [picked_choice.name]. [picked_choice.desc]", "Selected Origin", list("Confirm", "Cancel")) == "Cancel")
return
if(choice)
origin = choice

Expand Down

0 comments on commit cac1afe

Please sign in to comment.