diff --git a/_maps/map_files/Deltastation/DeltaStation2.dmm b/_maps/map_files/Deltastation/DeltaStation2.dmm index 0c1f303c0c8..fc9a8d49a23 100644 --- a/_maps/map_files/Deltastation/DeltaStation2.dmm +++ b/_maps/map_files/Deltastation/DeltaStation2.dmm @@ -22200,25 +22200,6 @@ }, /turf/open/floor/plasteel, /area/quartermaster/storage) -"aUa" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/machinery/computer/bounty{ - dir = 4 - }, -/obj/effect/turf_decal/tile/neutral{ - dir = 1 - }, -/obj/effect/turf_decal/tile/neutral, -/obj/effect/turf_decal/tile/neutral{ - dir = 4 - }, -/obj/effect/turf_decal/tile/neutral{ - dir = 8 - }, -/turf/open/floor/plasteel, -/area/quartermaster/storage) "aUb" = ( /obj/structure/chair/office{ dir = 1 @@ -24584,9 +24565,6 @@ /obj/machinery/light_switch{ pixel_x = 23 }, -/obj/machinery/computer/bounty{ - dir = 8 - }, /obj/effect/turf_decal/tile/brown, /obj/effect/turf_decal/tile/brown{ dir = 4 @@ -26126,9 +26104,6 @@ dir = 8; pixel_x = 28 }, -/obj/machinery/computer/bounty{ - dir = 8 - }, /obj/effect/turf_decal/tile/brown, /obj/effect/turf_decal/tile/brown{ dir = 4 @@ -107797,16 +107772,6 @@ /obj/effect/landmark/xeno_spawn, /turf/open/space, /area/solar/port/aft) -"ehb" = ( -/obj/structure/disposalpipe/segment, -/obj/machinery/computer/bounty{ - dir = 8 - }, -/obj/structure/cable, -/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer4, -/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer2, -/turf/open/floor/plasteel/grimy, -/area/crew_quarters/heads/hop) "ehs" = ( /obj/machinery/power/tracker, /obj/structure/cable, @@ -151441,7 +151406,7 @@ caP aZa caP cge -ehb +caP cjB ckX aai @@ -158085,7 +158050,7 @@ azy aOW axf aSm -aUa +aUc aVI aXs aYY diff --git a/_maps/map_files/IceBoxStation/IceBoxStation.dmm b/_maps/map_files/IceBoxStation/IceBoxStation.dmm index e7812a97cec..2c211f69703 100644 --- a/_maps/map_files/IceBoxStation/IceBoxStation.dmm +++ b/_maps/map_files/IceBoxStation/IceBoxStation.dmm @@ -525,7 +525,6 @@ /obj/effect/turf_decal/tile/brown{ dir = 4 }, -/obj/machinery/computer/bounty, /turf/open/floor/plasteel, /area/quartermaster/qm) "abu" = ( @@ -26398,9 +26397,6 @@ /obj/machinery/vending/wardrobe/cargo_wardrobe, /turf/open/floor/plasteel, /area/quartermaster/storage) -"bjr" = ( -/turf/open/floor/plasteel, -/area/quartermaster/storage) "bjs" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/mining/glass{ @@ -30649,9 +30645,6 @@ /turf/open/floor/plasteel/white, /area/science/research) "btB" = ( -/obj/machinery/computer/bounty{ - dir = 4 - }, /obj/effect/turf_decal/tile/blue{ dir = 1 }, @@ -53104,7 +53097,6 @@ /turf/open/floor/plating, /area/maintenance/starboard/aft) "ofT" = ( -/obj/machinery/computer/bounty, /turf/open/floor/plasteel, /area/quartermaster/storage) "ogj" = ( @@ -75624,11 +75616,11 @@ aSg bgw aZE ajF -bjr -bjr +ofT +ofT bps -bjr -bjr +ofT +ofT buB ash asx @@ -76139,10 +76131,10 @@ aZE aZE bkn bmh -bjr -bjr -bjr -bjr +ofT +ofT +ofT +ofT axE cCo cCo @@ -76399,13 +76391,13 @@ bmh boK bpz boK -bjr +ofT bkt -bjr -bjr -bjr +ofT +ofT +ofT buC -bjr +ofT blW boP awC @@ -76662,7 +76654,7 @@ aqu aqu asX ayf -bjr +ofT blW blW bxy @@ -76907,8 +76899,8 @@ aSg aSX aZE aAr -bjr -bjr +ofT +ofT bmh boK aKM @@ -76919,9 +76911,9 @@ arm arm arm ayg -bjr +ofT avD -bjr +ofT awE azU byE @@ -77164,8 +77156,8 @@ bff bfk aZE bjo -bjr -bjr +ofT +ofT bmh boK aKM @@ -77176,7 +77168,7 @@ arm arm arm ayi -bjr +ofT aZE blW bxy @@ -77421,19 +77413,19 @@ bxu bxu aZE ofT -bjr +ofT ama bmh -bjr +ofT aKM -bjr +ofT aqg arm arm arm arm ayp -bjr +ofT blW boP bxy @@ -77678,19 +77670,19 @@ aea aem afw ahB -bjr -bjr +ofT +ofT bmh aKd aKg -bjr +ofT aqi arQ arQ arQ atl azg -bjr +ofT blW boP bxy @@ -78201,8 +78193,8 @@ brM bts buD bvY -bjr -bjr +ofT +ofT aAY blW boP @@ -78459,7 +78451,7 @@ aZE aZE aZE aZE -bjr +ofT aAY aZE boP diff --git a/_maps/map_files/MetaStation/MetaStation.dmm b/_maps/map_files/MetaStation/MetaStation.dmm index 895e9f6c25d..4c714731638 100644 --- a/_maps/map_files/MetaStation/MetaStation.dmm +++ b/_maps/map_files/MetaStation/MetaStation.dmm @@ -22216,9 +22216,6 @@ /turf/open/floor/plasteel, /area/quartermaster/sorting) "baA" = ( -/obj/machinery/computer/bounty{ - dir = 8 - }, /obj/effect/turf_decal/tile/brown{ dir = 8 }, @@ -26412,12 +26409,6 @@ /obj/structure/disposalpipe/segment, /turf/closed/wall, /area/quartermaster/qm) -"bkk" = ( -/obj/machinery/computer/bounty{ - dir = 1 - }, -/turf/open/floor/wood, -/area/quartermaster/qm) "bkl" = ( /obj/machinery/computer/cargo{ dir = 1 @@ -28096,9 +28087,6 @@ /turf/open/floor/plating, /area/crew_quarters/heads/hop) "bom" = ( -/obj/machinery/computer/bounty{ - dir = 4 - }, /obj/structure/cable, /turf/open/floor/wood, /area/crew_quarters/heads/hop) @@ -66512,6 +66500,12 @@ }, /turf/open/floor/plasteel/white, /area/security/prison) +"ghJ" = ( +/obj/effect/turf_decal/siding/wood/corner{ + dir = 1 + }, +/turf/open/floor/wood, +/area/crew_quarters/bar) "gjo" = ( /obj/structure/table/wood, /obj/item/toy/prize/honk{ @@ -67833,13 +67827,6 @@ }, /turf/open/floor/plating, /area/engine/supermatter) -"hWR" = ( -/obj/effect/decal/cleanable/dirt, -/obj/effect/turf_decal/siding/wood{ - dir = 8 - }, -/turf/open/floor/wood, -/area/crew_quarters/bar) "hYz" = ( /obj/effect/turf_decal/delivery, /obj/effect/turf_decal/tile/yellow{ @@ -69952,6 +69939,13 @@ /obj/machinery/atmospherics/pipe/simple/general/visible, /turf/open/floor/plating, /area/science/xenobiology) +"kLC" = ( +/obj/item/kirbyplants/random, +/obj/effect/turf_decal/siding/wood{ + dir = 8 + }, +/turf/open/floor/wood, +/area/crew_quarters/bar) "kMC" = ( /obj/effect/spawner/lootdrop/maintenance, /turf/open/floor/plating, @@ -70058,12 +70052,6 @@ /obj/machinery/iv_drip, /turf/open/floor/plating, /area/medical/abandoned) -"kVB" = ( -/obj/effect/turf_decal/siding/wood{ - dir = 1 - }, -/turf/open/floor/wood, -/area/crew_quarters/bar) "kWn" = ( /obj/machinery/light/small{ dir = 8 @@ -71774,13 +71762,6 @@ /obj/machinery/atmospherics/components/unary/vent_scrubber/on/layer2, /turf/open/floor/plasteel/white, /area/medical/medbay/central) -"nxw" = ( -/obj/item/kirbyplants/random, -/obj/effect/turf_decal/siding/wood{ - dir = 8 - }, -/turf/open/floor/wood, -/area/crew_quarters/bar) "nzS" = ( /obj/machinery/atmospherics/pipe/simple/orange/visible, /turf/open/floor/plating, @@ -72069,6 +72050,16 @@ /obj/structure/cable, /turf/open/floor/plasteel, /area/hallway/secondary/entry) +"nRY" = ( +/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer4{ + dir = 6 + }, +/obj/machinery/airalarm{ + dir = 4; + pixel_x = -23 + }, +/turf/open/floor/plasteel/dark, +/area/chapel/main) "nSk" = ( /obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tile/yellow, @@ -73896,16 +73887,6 @@ }, /turf/open/floor/plasteel, /area/engine/atmos) -"qns" = ( -/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer4{ - dir = 6 - }, -/obj/machinery/airalarm{ - dir = 4; - pixel_x = -23 - }, -/turf/open/floor/plasteel/dark, -/area/chapel/main) "qoc" = ( /obj/structure/cable, /obj/structure/disposalpipe/segment{ @@ -77302,6 +77283,12 @@ /obj/structure/flora/rock/jungle, /turf/open/floor/grass, /area/medical/virology) +"uWT" = ( +/obj/effect/turf_decal/siding/wood{ + dir = 1 + }, +/turf/open/floor/wood, +/area/crew_quarters/bar) "uYd" = ( /obj/structure/table/reinforced, /obj/effect/turf_decal/tile/blue, @@ -77392,12 +77379,6 @@ }, /turf/open/floor/plating, /area/maintenance/starboard) -"vdV" = ( -/obj/effect/turf_decal/siding/wood/corner{ - dir = 1 - }, -/turf/open/floor/wood, -/area/crew_quarters/bar) "veU" = ( /obj/effect/turf_decal/tile/blue{ dir = 1 @@ -78254,6 +78235,13 @@ }, /turf/open/floor/plating, /area/security/prison) +"wjN" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/turf_decal/siding/wood{ + dir = 8 + }, +/turf/open/floor/wood, +/area/crew_quarters/bar) "wmt" = ( /obj/effect/decal/cleanable/food/flour, /turf/open/floor/plating, @@ -97997,7 +97985,7 @@ bgK bgK bgK dmT -bkk +byI dmH bnZ bqw @@ -100385,7 +100373,7 @@ cLa cMI cQa cOP -qns +nRY cRG cMI aaa @@ -112908,7 +112896,7 @@ xKx aao aap qQP -hWR +wjN qCy byC dbx @@ -113676,8 +113664,8 @@ bhG bjp tFU bBS -nxw -vdV +kLC +ghJ rPb byC iGT @@ -114190,7 +114178,7 @@ bhI bjC tFU kja -kVB +uWT uyw btp buO diff --git a/_maps/map_files/PubbyStation/PubbyStation.dmm b/_maps/map_files/PubbyStation/PubbyStation.dmm index 409312d3f90..b0b557e81fa 100644 --- a/_maps/map_files/PubbyStation/PubbyStation.dmm +++ b/_maps/map_files/PubbyStation/PubbyStation.dmm @@ -284,12 +284,23 @@ /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer2, /turf/open/floor/plasteel/white, /area/science/explab) +"aaJ" = ( +/obj/machinery/computer/security/qm{ + dir = 8 + }, +/turf/open/floor/wood, +/area/quartermaster/qm) "aaK" = ( /obj/structure/cable, /obj/machinery/atmospherics/pipe/simple/supply/hidden/layer4, /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer2, /turf/open/floor/plasteel/white, /area/science/explab) +"aaL" = ( +/turf/open/floor/wood{ + icon_state = "wood-broken7" + }, +/area/quartermaster/qm) "aaM" = ( /obj/structure/cable, /turf/open/floor/plasteel/white, @@ -11438,9 +11449,6 @@ /obj/machinery/holopad, /turf/open/floor/wood, /area/crew_quarters/heads/hop) -"aCS" = ( -/turf/open/floor/wood, -/area/crew_quarters/heads/hop) "aCT" = ( /obj/structure/disposalpipe/segment{ dir = 6 @@ -18186,7 +18194,6 @@ /area/quartermaster/sorting) "aWt" = ( /obj/structure/table/reinforced, -/obj/machinery/computer/bounty, /obj/structure/window/reinforced{ dir = 1; pixel_y = 1 @@ -21441,12 +21448,6 @@ "beI" = ( /turf/closed/wall, /area/science/robotics/mechbay) -"beJ" = ( -/obj/machinery/computer/bounty{ - dir = 8 - }, -/turf/open/floor/wood, -/area/quartermaster/qm) "beK" = ( /obj/machinery/atmospherics/components/unary/vent_pump/on/layer4, /turf/open/floor/plasteel, @@ -54140,9 +54141,6 @@ /turf/open/floor/plasteel, /area/security/checkpoint/medical) "pHo" = ( -/obj/machinery/computer/bounty{ - dir = 1 - }, /turf/open/floor/wood, /area/crew_quarters/heads/hop) "pHN" = ( @@ -55626,14 +55624,6 @@ }, /turf/open/floor/plasteel/white, /area/crew_quarters/heads/cmo) -"rIl" = ( -/obj/machinery/computer/security/qm{ - dir = 8 - }, -/turf/open/floor/wood{ - icon_state = "wood-broken7" - }, -/area/quartermaster/qm) "rJg" = ( /obj/machinery/light/small{ dir = 4 @@ -94583,7 +94573,7 @@ aaa aaa aAH aBE -aCS +pHo aDV aEP aFA @@ -101022,8 +101012,8 @@ bcI wDZ aPb bcS -beJ -rIl +aaJ +aaL aTo aUx aVA diff --git a/_maps/map_files/debug/runtimestation.dmm b/_maps/map_files/debug/runtimestation.dmm index 6a55c78b109..29acc8e515b 100644 --- a/_maps/map_files/debug/runtimestation.dmm +++ b/_maps/map_files/debug/runtimestation.dmm @@ -1648,9 +1648,6 @@ /obj/machinery/camera/autoname{ dir = 4 }, -/obj/machinery/computer/bounty{ - dir = 4 - }, /turf/open/floor/plasteel, /area/quartermaster/storage) "fr" = ( diff --git a/_maps/map_files/generic/CentCom.dmm b/_maps/map_files/generic/CentCom.dmm index f88c1a62f2c..24642cf7324 100644 --- a/_maps/map_files/generic/CentCom.dmm +++ b/_maps/map_files/generic/CentCom.dmm @@ -1159,6 +1159,9 @@ "dm" = ( /turf/open/floor/holofloor/plating, /area/holodeck/rec_center/refuel) +"dn" = ( +/turf/open/floor/holofloor/carpet, +/area/holodeck/rec_center/spacechess) "do" = ( /obj/effect/turf_decal/tile/green, /obj/effect/turf_decal/tile/green{ @@ -19662,9 +19665,6 @@ }, /turf/open/floor/plasteel, /area/centcom/evac) -"ZK" = ( -/turf/open/floor/holofloor/carpet, -/area/holodeck/rec_center/spacechess) "ZN" = ( /obj/structure/table/wood, /obj/item/toy/crayon/spraycan{ @@ -82696,16 +82696,16 @@ aa "} (246,1,1) = {" fx -ZK -ZK -ZK -ZK -ZK -ZK -ZK -ZK -ZK -ZK +dn +dn +dn +dn +dn +dn +dn +dn +dn +dn bj dm dm @@ -82953,7 +82953,7 @@ aa "} (247,1,1) = {" fx -ZK +dn Hk ee ew @@ -82962,7 +82962,7 @@ ew ev eX Ul -ZK +dn bj dm dm @@ -83210,7 +83210,7 @@ aa "} (248,1,1) = {" fx -ZK +dn Ou ed ev @@ -83219,7 +83219,7 @@ ev ew eW Yi -ZK +dn bj dm dm @@ -83467,7 +83467,7 @@ aa "} (249,1,1) = {" fx -ZK +dn Dk ee ew @@ -83476,7 +83476,7 @@ ew ev eX RR -ZK +dn bj dm dG @@ -83724,7 +83724,7 @@ aa "} (250,1,1) = {" fx -ZK +dn VK ed ev @@ -83733,7 +83733,7 @@ ev ew eW TP -ZK +dn bj dm dG @@ -83981,7 +83981,7 @@ aa "} (251,1,1) = {" fx -ZK +dn TM ee ew @@ -83990,7 +83990,7 @@ ew ev eX Wu -ZK +dn bj dm dG @@ -84238,7 +84238,7 @@ aa "} (252,1,1) = {" fx -ZK +dn Oo ed ev @@ -84247,7 +84247,7 @@ ev ew eW vp -ZK +dn bj dm dm @@ -84495,7 +84495,7 @@ aa "} (253,1,1) = {" fx -ZK +dn dK ee ew @@ -84504,7 +84504,7 @@ ew ev eX fm -ZK +dn bj dm dm @@ -84752,7 +84752,7 @@ aa "} (254,1,1) = {" fx -ZK +dn dH ed ev @@ -84761,7 +84761,7 @@ ev ew eW fj -ZK +dn bj dm dm diff --git a/code/__DEFINES/economy.dm b/code/__DEFINES/economy.dm index 470d6199f75..af6466300c0 100644 --- a/code/__DEFINES/economy.dm +++ b/code/__DEFINES/economy.dm @@ -47,6 +47,7 @@ #define CIV_JOB_MINE 10 #define CIV_JOB_MED 11 #define CIV_JOB_GROW 12 +#define CIV_JOB_RANDOM 13 //By how much should the station's inflation value be multiplied by when dividing the civilian bounty's reward? #define BOUNTY_MULTIPLIER 10 diff --git a/code/game/machinery/civilian_bounties.dm b/code/game/machinery/civilian_bounties.dm index 63e73bdb92f..789c0521761 100644 --- a/code/game/machinery/civilian_bounties.dm +++ b/code/game/machinery/civilian_bounties.dm @@ -81,11 +81,6 @@ return FALSE var/datum/bounty/curr_bounty = inserted_scan_id.registered_account.civilian_bounty var/active_stack = 0 - var/datum/bank_account/dept_account = SSeconomy.get_dep_account(inserted_scan_id.registered_account.account_job.paycheck_department) - if(!dept_account?.has_money(curr_bounty.reward)) - playsound(loc, 'sound/machines/synth_no.ogg', 50 , TRUE) - stop_sending("Not enough funds to submit bounty at this time, please try again later.") - return FALSE for(var/atom/movable/AM in get_turf(pad)) if(AM == pad) continue @@ -100,10 +95,12 @@ stop_sending() if(curr_bounty.can_claim()) //Pay for the bounty with the ID's department funds. - inserted_scan_id.registered_account.transfer_money(dept_account, curr_bounty.reward) - status_report += "Bounty Completed! [curr_bounty.reward] credits have been paid out. " + status_report += "Bounty Completed! Please send your completed bounty cube to cargo for your automated payout shortly." inserted_scan_id.registered_account.reset_bounty() SSeconomy.civ_bounty_tracker++ + var/obj/item/bounty_cube/reward = new /obj/item/bounty_cube(drop_location()) + reward.bounty_value = curr_bounty.reward + reward.AddComponent(/datum/component/pricetag, inserted_scan_id.registered_account, 10) pad.visible_message("[pad] activates!") flick(pad.sending_state,pad) pad.icon_state = pad.idle_state @@ -161,14 +158,6 @@ to_chat(usr, "The console smartly rejects your ID card, as it lacks a job assignment!") return FALSE var/datum/bounty/crumbs = random_bounty(pot_acc.account_job.bounty_types) //It's a good scene from War Dogs (2016). - var/crumb_floor = (SSeconomy.inflation_value() * BOUNTY_MULTIPLIER) - crumbs.reward = round(crumbs.reward/(crumb_floor)) - if(istype(crumbs, /datum/bounty/item)) - var/datum/bounty/item/items = crumbs - items.required_count = max(round((items.required_count)/(SSeconomy.inflation_value()*2)), 1) - if(istype(crumbs, /datum/bounty/reagent)) - var/datum/bounty/reagent/chems = crumbs - chems.required_volume = max(round((chems.required_volume)/SSeconomy.inflation_value()*2), 1) pot_acc.bounty_timer = world.time pot_acc.civilian_bounty = crumbs if("eject") @@ -215,6 +204,14 @@ updateUsrDialog() return TRUE +///Upon completion of a civilian bounty, one of these is created. It is sold to cargo to give the cargo budget bounty money, and the person who completed it cash. +/obj/item/bounty_cube + name = "Bounty Cube" + desc = "A bundle of compressed hardlight data, containing a completed bounty. Sell this on the cargo shuttle to claim it!" + icon = 'icons/obj/economy.dmi' + icon_state = "bounty_cube" + ///Value of the bounty that this bounty cube sells for. + var/bounty_value = 0 ///Beacon to launch a new bounty setup when activated. /obj/item/civ_bounty_beacon diff --git a/code/game/objects/items/circuitboards/computer_circuitboards.dm b/code/game/objects/items/circuitboards/computer_circuitboards.dm index fbbca86b635..d3485775a55 100644 --- a/code/game/objects/items/circuitboards/computer_circuitboards.dm +++ b/code/game/objects/items/circuitboards/computer_circuitboards.dm @@ -470,11 +470,6 @@ //Supply -/obj/item/circuitboard/computer/bounty - name = "\improper Nanotrasen Bounty Console (Computer Board)" - icon_state = "supply" - build_path = /obj/machinery/computer/bounty - /obj/item/circuitboard/computer/cargo name = "Supply Console (Computer Board)" icon_state = "supply" diff --git a/code/modules/cargo/bounty.dm b/code/modules/cargo/bounty.dm index a883d68f865..b5c9ffe6982 100644 --- a/code/modules/cargo/bounty.dm +++ b/code/modules/cargo/bounty.dm @@ -83,7 +83,7 @@ GLOBAL_LIST_EMPTY(bounties_list) */ /proc/random_bounty(guided = 0) var/bounty_num - if(guided) + if(guided && (guided != CIV_JOB_RANDOM)) bounty_num = guided else bounty_num = rand(1,12) diff --git a/code/modules/cargo/bounty_console.dm b/code/modules/cargo/bounty_console.dm deleted file mode 100644 index eb08e217a10..00000000000 --- a/code/modules/cargo/bounty_console.dm +++ /dev/null @@ -1,66 +0,0 @@ -#define PRINTER_TIMEOUT 10 - -/obj/machinery/computer/bounty - name = "\improper Nanotrasen bounty console" - desc = "Used to check and claim bounties offered by Nanotrasen" - icon_screen = "bounty" - circuit = /obj/item/circuitboard/computer/bounty - light_color = COLOR_BRIGHT_ORANGE - var/printer_ready = 0 //cooldown var - var/static/datum/bank_account/cargocash - -/obj/machinery/computer/bounty/Initialize() - . = ..() - printer_ready = world.time + PRINTER_TIMEOUT - cargocash = SSeconomy.get_dep_account(ACCOUNT_CAR) - -/obj/machinery/computer/bounty/proc/print_paper() - new /obj/item/paper/bounty_printout(loc) - -/obj/item/paper/bounty_printout - name = "paper - Bounties" - -/obj/item/paper/bounty_printout/Initialize() - . = ..() - info = "
'+(n?e:ee(e,!0))+"\n":""+(n?e:ee(e,!0))+"\n"}return e}(),t.blockquote=function(){function e(e){return"\n"+e+"\n"}return e}(),t.html=function(){function e(e){return e}return e}(),t.heading=function(){function e(e,t,n,r){return this.options.headerIds?"
"+e+"
\n"}return e}(),t.table=function(){function e(e,t){return t&&(t=""+t+""),""+e+""}return e}(),t.br=function(){function e(){return this.options.xhtml?""+se(c.message+"",!0)+"";throw c}}return pe.options=pe.setOptions=function(e){return ue(pe.defaults,e),fe(pe.defaults),pe},pe.getDefaults=le,pe.defaults=de,pe.use=function(e){var t=ue({},e);if(e.renderer&&function(){var n=pe.defaults.renderer||new te,r=function(){function t(t){var r=n[t];n[t]=function(){for(var o=arguments.length,i=new Array(o),a=0;a
'+(n?e:ee(e,!0))+"\n":""+(n?e:ee(e,!0))+"\n"}return e}(),t.blockquote=function(){function e(e){return"\n"+e+"\n"}return e}(),t.html=function(){function e(e){return e}return e}(),t.heading=function(){function e(e,t,n,r){return this.options.headerIds?"
"+e+"
\n"}return e}(),t.table=function(){function e(e,t){return t&&(t=""+t+""),""+e+""}return e}(),t.br=function(){function e(){return this.options.xhtml?""+se(c.message+"",!0)+"";throw c}}return pe.options=pe.setOptions=function(e){return ue(pe.defaults,e),fe(pe.defaults),pe},pe.getDefaults=le,pe.defaults=de,pe.use=function(e){var t=ue({},e);if(e.renderer&&function(){var n=pe.defaults.renderer||new te,r=function(){function t(t){var r=n[t];n[t]=function(){for(var o=arguments.length,i=new Array(o),a=0;a