Skip to content

Commit

Permalink
Adds lotto vendors to each map's bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
west3436 committed Feb 22, 2022
1 parent b725253 commit 729b84d
Show file tree
Hide file tree
Showing 13 changed files with 170,842 additions and 18,471,784 deletions.
2 changes: 1 addition & 1 deletion code/game/machinery/vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3749,7 +3749,7 @@ var/global/num_vending_terminals = 1
pack = /obj/structure/vendomatpack/lotto


/proc/obj/machinery/vending/lotto/AnnounceWinner(var/obj/machinery/vending/lotto/lottovend,var/mob/living/carbon/human/character, var/winnings)
/proc/obj/machinery/vending/lotto/AnnounceWinner(var/obj/machinery/vending/lotto/lottovend, var/mob/living/carbon/human/character, var/winnings)
var/rank = character.mind.role_alt_title
var/datum/speech/speech = announcement_intercom.create_speech("[character.real_name],[rank ? " [rank]," : " visitor," ] has won [winnings] credits in the lottery!", transmitter=announcement_intercom)
speech.speaker = lottovend
Expand Down
Loading

0 comments on commit 729b84d

Please sign in to comment.