Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/essay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2473,8 +2473,8 @@ SMODS.Joker{ --Coupon Sheet
loc_txt = {
['name'] = 'Coupon Sheet',
['text'] = {
[1] = "Create a {C:attention}Coupon Tag",
[2] = "and a {C:attention}Voucher Tag",
[1] = "Create a {C:attention}Voucher Tag",
[2] = "and a {C:attention}Coupon Tag",
[3] = "after {C:attention}Boss Blind{} is defeated"
}
},
Expand All @@ -2498,20 +2498,20 @@ SMODS.Joker{ --Coupon Sheet

calculate = function(self, card, context)
if context.end_of_round and not context.repetition and not context.individual and G.GAME.blind.boss and not context.blueprint then
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = "+1 Coupon Tag!", colour = G.C.FILTER})
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = "+1 Voucher Tag!", colour = G.C.FILTER})
G.E_MANAGER:add_event(Event({
func = (function()
add_tag(Tag('tag_coupon'))
add_tag(Tag('tag_voucher'))
play_sound('generic1', 0.9 + math.random()*0.1, 0.8)
play_sound('holo1', 1.2 + math.random()*0.1, 0.4)
return true
end)
}))
delay(0.3)
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = "+1 Voucher Tag!", colour = G.C.FILTER})
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = "+1 Coupon Tag!", colour = G.C.FILTER})
G.E_MANAGER:add_event(Event({
func = (function()
add_tag(Tag('tag_voucher'))
add_tag(Tag('tag_coupon'))
play_sound('generic1', 0.9 + math.random()*0.1, 0.8)
play_sound('holo1', 1.2 + math.random()*0.1, 0.4)
return true
Expand Down Expand Up @@ -3082,4 +3082,4 @@ mod.reset_game_globals = function(run_start)
reset_tuxedo_card()
reset_farmer_card()
reset_fish_rank()
end
end