mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Reduces the amount of guns in PoIs, adds salvage items (#9198)
This commit is contained in:
15
modular_chomp/code/modules/salvage/bags.dm
Normal file
15
modular_chomp/code/modules/salvage/bags.dm
Normal file
@@ -0,0 +1,15 @@
|
||||
/obj/item/storage/bag/salvage
|
||||
name = "treasure satchel"
|
||||
desc = "A satchel for storing scavenged salvage. There be tresure."
|
||||
icon = 'icons/obj/mining.dmi'
|
||||
slot_flags = SLOT_BELT | SLOT_POCKET
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
storage_slots = 15
|
||||
max_w_class = ITEMSIZE_NORMAL
|
||||
can_hold = list(/obj/item/salvage)
|
||||
|
||||
/obj/item/storage/bag/salvage/bluespace
|
||||
name = "bluespace treasure satchel"
|
||||
desc = "A satchel to store even more scavenged salvage! There be lots of treasure."
|
||||
storage_slots = 30
|
||||
icon_state = "satchel_bspace"
|
||||
84
modular_chomp/code/modules/salvage/salvage.dm
Normal file
84
modular_chomp/code/modules/salvage/salvage.dm
Normal file
@@ -0,0 +1,84 @@
|
||||
/obj/item/salvage
|
||||
name = "salvage"
|
||||
desc = "A tonne of salvage from bad mapping practices. Who spawned the base type? Report this on GitHub"
|
||||
icon = 'modular_chomp/icons/obj/salvage/sellable.dmi'
|
||||
force = 5
|
||||
throwforce = 5
|
||||
throw_speed = 1
|
||||
throw_speed = 4
|
||||
hitsound = 'modular_chomp/sound/items/salvage/salvagepickup.ogg'
|
||||
drop_sound = 'modular_chomp/sound/items/salvage/salvagedrop.ogg'
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
var/worth = 100
|
||||
|
||||
/obj/item/salvage/examine(mob/user)
|
||||
. = ..()
|
||||
. += span_notice("This could fetch a good price...")
|
||||
|
||||
/obj/item/salvage/ruin
|
||||
desc = "A tonne of salvage recovered from an abandoned ruin. Who spawned the base type? Report this on GitHub"
|
||||
|
||||
/obj/item/salvage/ruin/pirate
|
||||
name = "rum keg"
|
||||
desc = "A highly valued keg of aged space rum. Limited edition and sure to be a collector's item."
|
||||
icon_state = "barrel"
|
||||
color = "#7e5c00"
|
||||
|
||||
/obj/item/salvage/ruin/russian
|
||||
name = "armaments cache"
|
||||
desc = "A crate of old disused Belastrav ballistic firearms clearly long past their usability. This crate would make good scrap metal for shuttle construction."
|
||||
icon_state = "weapon_crate"
|
||||
|
||||
/obj/item/salvage/ruin/brick
|
||||
name = "mysterious brick"
|
||||
desc = "A peculier brick formed out of what appears to be plastic. This would make a fantastic collector's item."
|
||||
icon_state = "lego_brick"
|
||||
hitsound = 'sound/items/smolesmallbuild.ogg'
|
||||
drop_sound = 'sound/items/drop/smolematerial.ogg'
|
||||
|
||||
/obj/item/salvage/ruin/nanotrasen
|
||||
name = "lost research notes"
|
||||
desc = "A collection of research notes penned by old Nanotrasen scientists from decades past, technology lost in time- until you found them. It is a mystery what technology Central Command will push if they could just get their hands on these notes."
|
||||
icon_state = "research_doc"
|
||||
hitsound = 'sound/items/pickup/paper.ogg'
|
||||
pickup_sound = 'sound/items/pickup/paper.ogg'
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
|
||||
/obj/item/salvage/ruin/nanotrasen/Initialize(mapload)
|
||||
. = ..()
|
||||
become_anomalous()
|
||||
|
||||
/obj/item/salvage/ruin/carp
|
||||
name = "carp scales"
|
||||
desc = "A collection of scales shed from a corrupted space carp. Their culinary potential could mean untold riches for Nanotrasen."
|
||||
icon_state = "dragon_scales"
|
||||
hitsound = 'sound/effects/glass_step.ogg'
|
||||
pickup_sound = 'sound/effects/glass_step.ogg'
|
||||
drop_sound = 'sound/effects/glass_step.ogg'
|
||||
|
||||
/obj/item/salvage/loot
|
||||
desc = "A tonne of salvage looted from a fallen foe. Who spawned the base type? Report this on the github."
|
||||
|
||||
/obj/item/salvage/loot/pirate
|
||||
name = "stolen jewellery"
|
||||
desc = "A collection of stolen jewellery, fashioned from pilfered bluespace crystals and gems. Rumour has it, local pirates have been known to use these accessories to avoid capture."
|
||||
icon_state = "pirate_treasure"
|
||||
hitsound = 'modular_chomp/sound/items/taperecorder_drop.ogg'
|
||||
pickup_sound = 'modular_chomp/sound/items/taperecorder_pickup.ogg'
|
||||
drop_sound = 'modular_chomp/sound/items/taperecorder_drop.ogg'
|
||||
|
||||
/obj/item/salvage/loot/russian
|
||||
name = "siosp manual"
|
||||
desc = "A small manual, written in Neo-Russkyia, detailing the manifesto of Malfoy Ames, father of The Cygni Rebellion. Central Command may wish to share this with their allies in the Trans-Solar Federation."
|
||||
icon_state = "ussp_manual"
|
||||
hitsound = 'sound/items/pickup/paper.ogg'
|
||||
pickup_sound = 'sound/items/pickup/paper.ogg'
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
|
||||
/obj/item/salvage/loot/syndicate
|
||||
name = "syndicate intel"
|
||||
desc = "A folder detailing Syndicate plans to infiltrate and sabotage operations in the Vir system. Central Command may find use of this to aid them in counter-intelligence."
|
||||
icon_state = "syndie_doc"
|
||||
hitsound = 'sound/items/pickup/paper.ogg'
|
||||
pickup_sound = 'sound/items/pickup/paper.ogg'
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
Reference in New Issue
Block a user