Merge pull request #15860 from shellspeed1/public-bounties
Port of public bounties and the sales tagger from tg.
This commit is contained in:
@@ -311,3 +311,9 @@
|
||||
random_icon_states = list("xfloor1", "xfloor2", "xfloor3", "xfloor4", "xfloor5", "xfloor6", "xfloor7")
|
||||
mergeable_decal = TRUE
|
||||
persistent = TRUE
|
||||
|
||||
/obj/effect/decal/cleanable/wrapping
|
||||
name = "wrapping shreds"
|
||||
desc = "Torn pieces of cardboard and paper, left over from a package."
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "paper_shreds"
|
||||
|
||||
@@ -372,6 +372,11 @@
|
||||
. += "The [D.account_holder] reports a balance of [D.account_balance] cr."
|
||||
. += "<span class='info'>Alt-Click the ID to pull money from the linked account in the form of holochips.</span>"
|
||||
. += "<span class='info'>You can insert credits into the linked account by pressing holochips, cash, or coins against the ID.</span>"
|
||||
if(registered_account.civilian_bounty)
|
||||
. += "<span class='info'><b>There is an active civilian bounty.</b>"
|
||||
. += "<span class='info'><i>[registered_account.bounty_text()]</i></span>"
|
||||
. += "<span class='info'>Quantity: [registered_account.bounty_num()]</span>"
|
||||
. += "<span class='info'>Reward: [registered_account.bounty_value()]</span>"
|
||||
if(registered_account.account_holder == user.real_name)
|
||||
. += "<span class='boldnotice'>If you lose this ID card, you can reclaim your account by Alt-Clicking a blank ID card while holding it and entering your account ID number.</span>"
|
||||
else
|
||||
|
||||
@@ -348,9 +348,9 @@
|
||||
name = "Snow Taxi (Computer Board)"
|
||||
build_path = /obj/machinery/computer/shuttle/snow_taxi
|
||||
|
||||
// /obj/item/circuitboard/computer/bountypad
|
||||
// name = "Bounty Pad (Computer Board)"
|
||||
// build_path = /obj/machinery/computer/piratepad_control/civilian
|
||||
/obj/item/circuitboard/computer/bountypad
|
||||
name = "Bounty Pad (Computer Board)"
|
||||
build_path = /obj/machinery/computer/piratepad_control/civilian
|
||||
|
||||
/obj/item/circuitboard/computer/security/shuttle
|
||||
name = "Shuttlelinking Security Cameras (Computer Board)"
|
||||
@@ -581,10 +581,6 @@
|
||||
name = "Supply Request Console (Computer Board)"
|
||||
build_path = /obj/machinery/computer/cargo/request
|
||||
|
||||
/obj/item/circuitboard/computer/bounty
|
||||
name = "Nanotrasen Bounty Console (Computer Board)"
|
||||
build_path = /obj/machinery/computer/bounty
|
||||
|
||||
/obj/item/circuitboard/computer/ferry
|
||||
name = "Transport Ferry (Computer Board)"
|
||||
icon_state = "supply"
|
||||
|
||||
@@ -685,15 +685,15 @@
|
||||
/obj/item/stack/sheet/glass = 1,
|
||||
/obj/item/vending_refill/donksoft = 1)
|
||||
|
||||
// /obj/item/circuitboard/machine/bountypad
|
||||
// name = "Civilian Bounty Pad (Machine Board)"
|
||||
// icon_state = "generic"
|
||||
// build_path = /obj/machinery/piratepad/civilian
|
||||
// req_components = list(
|
||||
// /obj/item/stock_parts/card_reader = 1,
|
||||
// /obj/item/stock_parts/scanning_module = 1,
|
||||
// /obj/item/stock_parts/micro_laser = 1
|
||||
// )
|
||||
|
||||
/obj/item/circuitboard/machine/bountypad
|
||||
name = "Civilian Bounty Pad (Machine Board)"
|
||||
icon_state = "generic"
|
||||
build_path = /obj/machinery/piratepad/civilian
|
||||
req_components = list(
|
||||
/obj/item/stock_parts/scanning_module = 1,
|
||||
/obj/item/stock_parts/micro_laser = 1
|
||||
)
|
||||
|
||||
// /obj/item/circuitboard/machine/accounting
|
||||
// name = "Account Registration Device (Machine Board)"
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
if(QDELETED(src) && !transfer)
|
||||
new /obj/item/c_tube(T)
|
||||
|
||||
/obj/item/stack/wrapping_paper/small
|
||||
desc = "Wrap packages with this festive paper to make gifts. This roll looks a bit skimpy."
|
||||
amount = 10
|
||||
|
||||
/*
|
||||
* Package Wrap
|
||||
@@ -121,6 +124,11 @@
|
||||
if(QDELETED(src) && !transfer)
|
||||
new /obj/item/c_tube(T)
|
||||
|
||||
/obj/item/stack/packageWrap/small
|
||||
desc = "You can use this to wrap items in. This roll looks a bit skimpy."
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
amount = 5
|
||||
|
||||
/obj/item/c_tube
|
||||
name = "cardboard tube"
|
||||
desc = "A tube... of cardboard."
|
||||
|
||||
@@ -1456,3 +1456,18 @@
|
||||
/obj/item/storage/box/strange_seeds_5pack/PopulateContents()
|
||||
for(var/i in 1 to 5)
|
||||
new /obj/item/seeds/random(src)
|
||||
|
||||
/obj/item/storage/box/shipping
|
||||
name = "box of shipping supplies"
|
||||
desc = "Contains several scanners and labelers for shipping things. Wrapping Paper not included."
|
||||
illustration = "shipping"
|
||||
|
||||
/obj/item/storage/box/shipping/PopulateContents()
|
||||
var/static/items_inside = list(
|
||||
/obj/item/destTagger=1,\
|
||||
/obj/item/sales_tagger=1,\
|
||||
/obj/item/export_scanner=1,\
|
||||
/obj/item/stack/packageWrap/small=2,\
|
||||
/obj/item/stack/wrapping_paper/small=1
|
||||
)
|
||||
generate_items_inside(items_inside,src)
|
||||
|
||||
Reference in New Issue
Block a user