Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Wallemations authored Aug 26, 2020
2 parents 0a42d05 + cf271e6 commit 97dcf5e
Show file tree
Hide file tree
Showing 38 changed files with 223 additions and 39 deletions.
57 changes: 48 additions & 9 deletions _maps/map_files/Deltastation/DeltaStation2.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -87123,9 +87123,7 @@
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer3{
dir = 1
},
/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer3,
/turf/open/floor/plasteel,
/area/medical/surgery)
"dmf" = (
Expand Down Expand Up @@ -108126,9 +108124,7 @@
/turf/open/floor/plasteel,
/area/engine/gravity_generator)
"eNA" = (
/obj/machinery/atmospherics/components/unary/vent_scrubber/on/layer1{
dir = 1
},
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer1,
/turf/open/floor/plasteel/white,
/area/medical/surgery/room_b)
"eRh" = (
Expand Down Expand Up @@ -111076,6 +111072,12 @@
},
/turf/open/floor/plasteel/white,
/area/medical/medbay/central)
"nJq" = (
/obj/machinery/atmospherics/components/unary/vent_scrubber/on/layer1{
dir = 1
},
/turf/open/floor/plasteel/white,
/area/medical/surgery/room_b)
"nLd" = (
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer3,
Expand Down Expand Up @@ -113035,6 +113037,22 @@
},
/turf/open/floor/plasteel,
/area/vacant_room/commissary)
"tyl" = (
/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
},
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer3{
dir = 1
},
/turf/open/floor/plasteel/dark,
/area/medical/surgery)
"tzj" = (
/obj/machinery/door/airlock/external{
name = "Security External Airlock";
Expand Down Expand Up @@ -113599,6 +113617,23 @@
/obj/machinery/atmospherics/pipe/manifold/scrubbers/hidden/layer1,
/turf/open/floor/plasteel,
/area/security/prison)
"uTf" = (
/obj/structure/chair,
/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
},
/obj/machinery/airalarm{
pixel_y = 22
},
/turf/open/floor/plasteel/dark,
/area/medical/surgery)
"uTQ" = (
/obj/effect/decal/cleanable/dirt,
/turf/open/floor/plasteel,
Expand Down Expand Up @@ -114431,6 +114466,10 @@
dir = 8
},
/obj/effect/turf_decal/tile/blue,
/obj/machinery/airalarm{
dir = 1;
pixel_y = -22
},
/turf/open/floor/plasteel/white,
/area/medical/surgery/room_b)
"xAi" = (
Expand Down Expand Up @@ -162402,7 +162441,7 @@ dCO
uxC
wZq
eNA
dEe
nJq
xzY
vFc
dLo
Expand Down Expand Up @@ -162645,7 +162684,7 @@ dhq
diJ
dkv
dma
dnG
uTf
dnG
dro
dsN
Expand Down Expand Up @@ -163416,7 +163455,7 @@ cPv
diM
dkE
dme
dnD
tyl
dnG
dro
dsQ
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ GLOBAL_LIST_INIT(bitflags, list(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 204
#define ZAP_MOB_DAMAGE (1<<3)
#define ZAP_MOB_STUN (1<<4)

#define ZAP_DEFAULT_FLAGS ALL
#define ZAP_DEFAULT_FLAGS ZAP_MOB_STUN | ZAP_MOB_DAMAGE | ZAP_OBJ_DAMAGE
#define ZAP_FUSION_FLAGS ZAP_OBJ_DAMAGE | ZAP_MOB_DAMAGE | ZAP_MOB_STUN
#define ZAP_SUPERMATTER_FLAGS NONE

Expand Down
40 changes: 31 additions & 9 deletions code/datums/components/crafting/recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,6 @@
category = CAT_WEAPONRY
subcategory = CAT_WEAPON

/datum/crafting_recipe/spooky_camera
name = "Camera Obscura"
result = /obj/item/camera/spooky
time = 15
reqs = list(/obj/item/camera = 1,
/datum/reagent/water/holywater = 10)
parts = list(/obj/item/camera = 1)
category = CAT_MISC

/datum/crafting_recipe/lizardhat
name = "Lizard Cloche Hat"
result = /obj/item/clothing/head/lizard
Expand All @@ -394,6 +385,7 @@
/obj/item/organ/ears/cat = 1)
category = CAT_CLOTHING


/datum/crafting_recipe/radiogloves
name = "Translation Gloves"
result = /obj/item/clothing/gloves/radio
Expand All @@ -404,6 +396,36 @@
tools = list(TOOL_WIRECUTTER)
category = CAT_CLOTHING

/datum/crafting_recipe/mixedbouquet
name = "Mixed bouquet"
result = /obj/item/bouquet
reqs = list(/obj/item/reagent_containers/food/snacks/grown/poppy/lily =2,
/obj/item/grown/sunflower = 2,
/obj/item/reagent_containers/food/snacks/grown/poppy/geranium = 2)
category = CAT_MISC

/datum/crafting_recipe/sunbouquet
name = "Sunflower bouquet"
result = /obj/item/bouquet/sunflower
reqs = list(/obj/item/grown/sunflower = 6)
category = CAT_MISC

/datum/crafting_recipe/poppybouquet
name = "Poppy bouquet"
result = /obj/item/bouquet/poppy
reqs = list (/obj/item/reagent_containers/food/snacks/grown/poppy = 6)
category = CAT_MISC

/datum/crafting_recipe/spooky_camera
name = "Camera Obscura"
result = /obj/item/camera/spooky
time = 15
reqs = list(/obj/item/camera = 1,
/datum/reagent/water/holywater = 10)
parts = list(/obj/item/camera = 1)
category = CAT_MISC


/datum/crafting_recipe/skateboard
name = "Skateboard"
result = /obj/vehicle/ridden/scooter/skateboard
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/items/charter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
// Autoapproves after a certain time
response_timer_id = addtimer(CALLBACK(src, .proc/rename_station, new_name, user.name, user.real_name, key_name(user)), approval_time, TIMER_STOPPABLE)
to_chat(GLOB.admins, "<span class='adminnotice'><b><font color=orange>CUSTOM STATION RENAME:</font></b>[ADMIN_LOOKUPFLW(user)] proposes to rename the [name_type] to [new_name] (will autoapprove in [DisplayTimeText(approval_time)]). [ADMIN_SMITE(user)] (<A HREF='?_src_=holder;[HrefToken(TRUE)];reject_custom_name=[REF(src)]'>REJECT</A>) [ADMIN_CENTCOM_REPLY(user)]</span>")
for(var/client/admin_client in GLOB.admins)
if(admin_client.prefs.toggles & SOUND_ADMINHELP)
window_flash(admin_client, ignorepref = TRUE)
SEND_SOUND(admin_client, sound('sound/effects/gong.ogg'))

/obj/item/station_charter/proc/reject_proposed(user)
if(!user)
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/debug_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

/obj/item/debug/omnitool
name = "omnitool"
desc = "The original hypertool, born before them all. Use it in hand to unleash it's true power."
desc = "The original hypertool, born before them all. Use it in hand to unleash its true power."
icon = 'icons/obj/device.dmi'
icon_state = "hypertool"
inhand_icon_state = "hypertool"
Expand Down
17 changes: 17 additions & 0 deletions code/game/objects/items/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,20 @@
/obj/item/virgin_mary/proc/manual_suicide(mob/living/user)
user.adjustOxyLoss(200)
user.death(0)

// Bouquets
/obj/item/bouquet
name = "mixed bouquet"
desc = "A bouquet of sunflowers, lilies, and geraniums. How delightful."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "mixedbouquet"

/obj/item/bouquet/sunflower
name = "sunflower bouquet"
desc = "A bright bouquet of sunflowers."
icon_state = "sunbouquet"

/obj/item/bouquet/poppy
name = "poppy bouquet"
desc = "A bouquet of poppies. You feel loved just looking at it."
icon_state = "poppybouquet"
7 changes: 7 additions & 0 deletions code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,13 @@
/obj/item/clothing/mask/luchador
))

/obj/item/storage/belt/cummerbund
name = "cummerbund"
desc = "A pleated sash that pairs well with a suit jacket."
icon_state = "cummerbund"
inhand_icon_state = "cummerbund"
worn_icon_state = "cummerbund"

/obj/item/storage/belt/military
name = "chest rig"
desc = "A set of tactical webbing worn by Syndicate boarding parties."
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/tools/crowbar.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

/obj/item/crowbar/power/syndicate
name = "Syndicate jaws of life"
desc = "A rengineered copy of Nanotrasen's standard jaws of life. Can be used to force open airlocks in it's crowbar configuration."
desc = "A re-engineered copy of Nanotrasen's standard jaws of life. Can be used to force open airlocks in its crowbar configuration."
icon_state = "jaws_pry_syndie"
toolspeed = 0.5
force_opens = TRUE
Expand Down
7 changes: 6 additions & 1 deletion code/game/objects/structures/votingbox.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
var/vote_description = ""

var/list/voted //List of ID's that already voted.
COOLDOWN_DECLARE(vote_print_cooldown)

/obj/structure/votebox/attackby(obj/item/I, mob/living/user, params)
if(istype(I,/obj/item/card/id))
Expand Down Expand Up @@ -60,6 +61,8 @@
return

var/mob/user = usr
if(!can_interact(user))
return
if(!is_operator(user))
to_chat(user,"<span class='warning'>Voting box operator authorization required!</span>")
return
Expand Down Expand Up @@ -171,7 +174,9 @@
else
results[text] += 1
sortTim(results, cmp=/proc/cmp_numeric_dsc, associative = TRUE)

if(!COOLDOWN_FINISHED(src, vote_print_cooldown))
return
COOLDOWN_START(src, vote_print_cooldown, 60 SECONDS)
var/obj/item/paper/P = new(drop_location())
var/list/tally = list()
tally += {"
Expand Down
14 changes: 14 additions & 0 deletions code/modules/cargo/packs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1639,6 +1639,20 @@
contains = list(/obj/item/vending_refill/assist)
crate_name = "vendomat supply crate"

/datum/supply_pack/service/wedding
name = "Wedding Crate"
desc = "Everything you need to host a wedding! Now you just need an officiant."
cost = 1500
contains = list(/obj/item/clothing/under/dress/wedding_dress,
/obj/item/clothing/under/suit/tuxedo,
/obj/item/storage/belt/cummerbund,
/obj/item/clothing/head/weddingveil,
/obj/item/bouquet,
/obj/item/bouquet/sunflower,
/obj/item/bouquet/poppy,
/obj/item/reagent_containers/food/drinks/bottle/champagne)
crate_name = "wedding crate"

/datum/supply_pack/service/emptycrate
name = "Empty Crate"
desc = "It's an empty crate, for all your storage needs."
Expand Down
6 changes: 6 additions & 0 deletions code/modules/clothing/head/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -474,3 +474,9 @@
desc = "Hee-ho!"
icon_state = "JackFrostHat"
inhand_icon_state = "JackFrostHat"

/obj/item/clothing/head/weddingveil
name = "wedding veil"
desc = "A gauzy white veil."
icon_state = "weddingveil"
inhand_icon_state = "weddingveil"
2 changes: 1 addition & 1 deletion code/modules/clothing/spacesuits/hardsuit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
/obj/item/clothing/suit/space/hardsuit/examine(mob/user)
. = ..()
if(!helmet && helmettype)
. += "<span class='notice'> The helmet on [src] seems to be malfunctioning. It's light bulb needs to be replaced.</span>"
. += "<span class='notice'>The helmet on [src] seems to be malfunctioning. Its light bulb needs to be replaced.</span>"

/obj/item/clothing/suit/space/hardsuit/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/tank/jetpack/suit))
Expand Down
8 changes: 4 additions & 4 deletions code/modules/clothing/spacesuits/plasmamen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@

/obj/item/clothing/head/helmet/space/plasmaman/chemist
name = "chemistry plasma envirosuit helmet"
desc = "A plasmaman envirosuit designed for chemists, two orange stripes going down it's face."
desc = "A plasmaman envirosuit designed for chemists, two orange stripes going down its face."
icon_state = "chemist_envirohelm"
inhand_icon_state = "chemist_envirohelm"

Expand Down Expand Up @@ -223,7 +223,7 @@

/obj/item/clothing/head/helmet/space/plasmaman/atmospherics
name = "atmospherics plasma envirosuit helmet"
desc = "A space-worthy helmet specially designed for atmos technician plasmamen, the usual purple stripes being replaced by engineering's blue."
desc = "A space-worthy helmet specially designed for atmos technician plasmamen, the usual purple stripes being replaced by atmos' blue."
icon_state = "atmos_envirohelm"
inhand_icon_state = "atmos_envirohelm"
armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 100, RAD = 10, FIRE = 100, ACID = 75)
Expand Down Expand Up @@ -262,7 +262,7 @@

/obj/item/clothing/head/helmet/space/plasmaman/curator
name = "curator's plasma envirosuit helmet"
desc = "A slight modification on a tradiational voidsuit helmet, this helmet was Nano-Trasen's first solution to the *logistical problems* that come with employing plasmamen. Despite their limitations, these helmets still see use by historian and old-styled plasmamen alike."
desc = "A slight modification on a traditional voidsuit helmet, this helmet was Nanotrasen's first solution to the *logistical problems* that come with employing plasmamen. Despite their limitations, these helmets still see use by historians and old-school plasmamen alike."
icon_state = "prototype_envirohelm"
inhand_icon_state = "prototype_envirohelm"
actions_types = list(/datum/action/item_action/toggle_welding_screen/plasmaman)
Expand All @@ -271,7 +271,7 @@

/obj/item/clothing/head/helmet/space/plasmaman/botany
name = "botany plasma envirosuit helmet"
desc = "A green and blue envirohelmet designating it's wearer as a botanist. While not specially designed for it, it would protect against minor planet-related injuries."
desc = "A green and blue envirohelmet designating its wearer as a botanist. While not specifically designed for it, it would protect against minor plant-related injuries."
icon_state = "botany_envirohelm"
inhand_icon_state = "botany_envirohelm"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/obj/item/clothing/under/plasmaman/enviroslacks
name = "enviroslacks"
desc = "The pet project of a particularly posh plasmaman, this custom suit was quickly appropriated by Nano-Trasen for it's detectives, lawyers, and bar-tenders alike."
desc = "The pet project of a particularly posh plasmaman, this custom suit was quickly appropriated by Nanotrasen for its detectives, lawyers, and bartenders alike."
icon_state = "enviroslacks"
inhand_icon_state = "enviroslacks"

Expand All @@ -31,7 +31,7 @@

/obj/item/clothing/under/plasmaman/curator
name = "curator's plasma envirosuit"
desc = "Made out of a modified voidsuit, this suit was Nano-Trasen's first solution to the *logistical problems* that come with employing plasmamen. Due to the modifications, the suit is no longer space-worthy. Despite their limitations, these suits are still in used by historian and old-styled plasmamen alike."
desc = "Made out of a modified voidsuit, this suit was Nanotrasen's first solution to the *logistical problems* that come with employing plasmamen. Due to the modifications, the suit is no longer space-worthy. Despite their limitations, these suits are still in used by historian and old-styled plasmamen alike."
icon_state = "prototype_envirosuit"
inhand_icon_state = "prototype_envirosuit"

Expand Down Expand Up @@ -76,7 +76,7 @@
return
next_extinguish = world.time + extinguish_cooldown
extinguishes_left--
H.visible_message("<span class='warning'>[H]'s suit spews out a tonne of space lube!</span>","<span class='warning'>Your suit spews out a tonne of space lube!</span>")
H.visible_message("<span class='warning'>[H]'s suit spews space lube everywhere!</span>","<span class='warning'>Your suit spews space lube everywhere!</span>")
H.ExtinguishMob()
new /obj/effect/particle_effect/foam(loc) //Truely terrifying.
return 0
Loading

0 comments on commit 97dcf5e

Please sign in to comment.