diff --git a/code/__defines/items_clothing.dm b/code/__defines/items_clothing.dm index 4295ceaed1..eb572aa0e2 100644 --- a/code/__defines/items_clothing.dm +++ b/code/__defines/items_clothing.dm @@ -1,6 +1,6 @@ #define HUMAN_STRIP_DELAY 40 // Takes 40ds = 4s to strip someone. -#define SHOES_SLOWDOWN -1.0 // How much shoes slow you down by default. Negative values speed you up. +#define SHOES_SLOWDOWN 0 // How much shoes slow you down by default. Negative values speed you up. #define CANDLE_LUM 3 // For how bright candles are. diff --git a/code/datums/supplypacks/materials.dm b/code/datums/supplypacks/materials.dm index cf73f052d5..d09e3c8ee5 100644 --- a/code/datums/supplypacks/materials.dm +++ b/code/datums/supplypacks/materials.dm @@ -9,34 +9,34 @@ /datum/supply_packs/materials/metal50 name = "50 metal sheets" - contains = list(/obj/item/stack/material/steel/fifty) + contains = list(/obj/fiftyspawner/steel) cost = 10 containertype = /obj/structure/closet/crate containername = "Metal sheets crate" /datum/supply_packs/materials/glass50 name = "50 glass sheets" - contains = list(/obj/item/stack/material/glass/fifty) + contains = list(/obj/fiftyspawner/glass) cost = 10 containertype = /obj/structure/closet/crate containername = "Glass sheets crate" /datum/supply_packs/materials/wood50 name = "50 wooden planks" - contains = list(/obj/item/stack/material/wood/fifty) + contains = list(/obj/fiftyspawner/wood) cost = 10 containertype = /obj/structure/closet/crate containername = "Wooden planks crate" /datum/supply_packs/materials/plastic50 name = "50 plastic sheets" - contains = list(/obj/item/stack/material/plastic/fifty) + contains = list(/obj/fiftyspawner/plastic) cost = 10 containertype = /obj/structure/closet/crate containername = "Plastic sheets crate" /datum/supply_packs/materials/cardboard_sheets - contains = list(/obj/item/stack/material/cardboard/fifty) + contains = list(/obj/fiftyspawner/cardboard) name = "50 cardboard sheets" cost = 10 containertype = /obj/structure/closet/crate @@ -48,8 +48,8 @@ containername = "Imported carpet crate" cost = 15 contains = list( - /obj/item/stack/tile/carpet/fifty, - /obj/item/stack/tile/carpet/blue/fifty + /obj/fiftyspawner/carpet, + /obj/fiftyspawner/bluecarpet ) @@ -58,4 +58,4 @@ containertype = /obj/structure/closet/crate containername = "Linoleum crate" cost = 15 - contains = list(/obj/item/stack/tile/linoleum/fifty) \ No newline at end of file + contains = list(/obj/fiftyspawner/linoleum) \ No newline at end of file diff --git a/code/datums/supplypacks/medical.dm b/code/datums/supplypacks/medical.dm index 3972114440..18f18db672 100644 --- a/code/datums/supplypacks/medical.dm +++ b/code/datums/supplypacks/medical.dm @@ -306,4 +306,11 @@ cost = 25 containertype = "/obj/structure/closet/crate/secure" containername = "Virus sample crate" - access = access_cmo \ No newline at end of file + access = access_cmo + +/datum/supply_packs/med/defib + name = "Defibrilator crate" + contains = list(/obj/item/device/defib_kit = 4) + cost = 30 + containertype = /obj/structure/closet/crate/medical + containername = "Defibrilator crate" \ No newline at end of file diff --git a/code/datums/supplypacks/supply.dm b/code/datums/supplypacks/supply.dm index a73ebc91ed..dd553c4f1e 100644 --- a/code/datums/supplypacks/supply.dm +++ b/code/datums/supplypacks/supply.dm @@ -53,7 +53,7 @@ /datum/supply_packs/supply/shipping name = "Shipping supplies" contains = list( - /obj/item/stack/material/cardboard/fifty, + /obj/fiftyspawner/cardboard, /obj/item/weapon/packageWrap = 4, /obj/item/weapon/wrapping_paper = 2, /obj/item/device/destTagger, diff --git a/code/datums/vending/stored_item.dm b/code/datums/vending/stored_item.dm index 4fed107d77..7c27776aa9 100644 --- a/code/datums/vending/stored_item.dm +++ b/code/datums/vending/stored_item.dm @@ -3,11 +3,11 @@ */ /datum/stored_item var/item_name = "name" //Name of the item(s) displayed - var/item_path = null + var/item_path = null var/amount = 0 var/list/instances //What items are actually stored var/stored //The thing holding it is - + /datum/stored_item/New(var/stored, var/path, var/name = null, var/amount = 0) src.item_path = path @@ -16,10 +16,10 @@ src.item_name = initial(tmp.name) else src.item_name = name - + src.amount = amount src.stored = stored - + ..() /datum/stored_item/Destroy() @@ -29,10 +29,10 @@ qdel(product) instances.Cut() . = ..() - + /datum/stored_item/proc/get_amount() return instances ? instances.len : amount - + /datum/stored_item/proc/get_product(var/product_location) if(!get_amount() || !product_location) return @@ -41,14 +41,15 @@ var/atom/movable/product = instances[instances.len] // Remove the last added product instances -= product product.forceMove(product_location) - + return product + /datum/stored_item/proc/add_product(var/atom/movable/product) if(product.type != item_path) return 0 init_products() product.forceMove(stored) instances += product - + /datum/stored_item/proc/init_products() if(instances) return diff --git a/code/game/area/Space Station 13 areas.dm b/code/game/area/Space Station 13 areas.dm index 088eac4f7b..e80b010cab 100755 --- a/code/game/area/Space Station 13 areas.dm +++ b/code/game/area/Space Station 13 areas.dm @@ -1110,6 +1110,10 @@ area/space/atmosalert() name = "\improper Docking Hallway" icon_state = "docking_hallway" +/area/hallway/secondary/docking_hallway2 + name = "\improper Secondary Docking Hallway" + icon_state = "docking_hallway" + /area/hallway/secondary/engineering_hallway name = "\improper Engineering Primary Hallway" icon_state = "engineering_primary_hallway" @@ -1377,6 +1381,10 @@ area/space/atmosalert() name = "\improper Fitness Room" icon_state = "fitness" +/area/crew_quarters/longue_area + name = "\improper Longue" + icon_state = "recreation_area" + /area/crew_quarters/recreation_area name = "\improper Recreation Area" icon_state = "recreation_area" @@ -1411,7 +1419,7 @@ area/space/atmosalert() sound_env = LARGE_SOFTFLOOR /area/crew_quarters/barrestroom - name = "\improper Bar Restroom" + name = "\improper Cafeteria Restroom" icon_state = "bar" /area/crew_quarters/theatre @@ -1470,6 +1478,9 @@ area/space/atmosalert() name = "\improper Vacant Site" icon_state = "vacant_site" +/area/vacant/vacant_site2 + name = "\improper Abandoned Locker Room" + icon_state = "vacant_site" /area/holodeck name = "\improper Holodeck" @@ -2436,6 +2447,10 @@ area/space/atmosalert() name = "Emergency Storage" icon_state = "storage" +/area/ai_monitored/storage/emergency/eva + name = "Emergency EVA" + icon_state = "storage" + /area/ai_upload name = "\improper AI Upload Chamber" icon_state = "ai_upload" diff --git a/code/game/objects/items/stacks/fifty_spawner.dm b/code/game/objects/items/stacks/fifty_spawner.dm new file mode 100644 index 0000000000..adac95eaf4 --- /dev/null +++ b/code/game/objects/items/stacks/fifty_spawner.dm @@ -0,0 +1,19 @@ +//50-stacks as their own type was too buggy, we're doing it a different way +/obj/fiftyspawner //this doesn't need to do anything but make the stack and die so it's light + name = "50-stack spawner" + desc = "This item spawns stack of 50 of a given material." + icon = 'icons/misc/mark.dmi' + icon_state = "x4" + var/material = "" + +/obj/fiftyspawner/New() + //spawns the 50-stack and qdels self + ..() + var/obj_path = text2path("/obj/item/stack/[material]") + var/obj/item/stack/M = new obj_path(src.loc) + M.amount = M.max_amount //some stuff spawns with 60, we're still calling it fifty + qdel(src) + +/obj/fiftyspawner/rods + name = "stack of rods" //this needs to be defined for cargo + material = "rods" \ No newline at end of file diff --git a/code/game/objects/items/stacks/rods.dm b/code/game/objects/items/stacks/rods.dm index 543a432606..da6e436b27 100644 --- a/code/game/objects/items/stacks/rods.dm +++ b/code/game/objects/items/stacks/rods.dm @@ -13,9 +13,6 @@ max_amount = 60 attack_verb = list("hit", "bludgeoned", "whacked") -/obj/item/stack/rods/fifty //Calling this path still fifty because sixty is confusing - amount = 60 - /obj/item/stack/rods/cyborg name = "metal rod synthesizer" desc = "A device that makes metal rods." diff --git a/code/game/objects/items/stacks/tiles/fifty_spawner_tiles.dm b/code/game/objects/items/stacks/tiles/fifty_spawner_tiles.dm new file mode 100644 index 0000000000..09df497d8d --- /dev/null +++ b/code/game/objects/items/stacks/tiles/fifty_spawner_tiles.dm @@ -0,0 +1,49 @@ +//see /code/modules/materials/fifty_stacks.dm for how this stuff works + +/obj/fiftyspawner/grass + name = "stack of grass" + material = "tile/grass" + +/obj/fiftyspawner/wood + name = "stack of wood" + material = "tile/wood" + +/obj/fiftyspawner/carpet + name = "stack of carpet" + material = "tile/carpet" + +/obj/fiftyspawner/bluecarpet + name = "stack of blue carpet" + material = "tile/carpet/blue" + +/obj/fiftyspawner/floor + name = "stack of floor tiles" + material = "tile/floor" + +/obj/fiftyspawner/floor_red + name = "stack of red floor tiles" + material = "tile/floor_red" + +/obj/fiftyspawner/floor_steel + name = "stack of steel floor tiles" + material = "tile/floor_steel" + +/obj/fiftyspawner/floor_white + name = "stack of white floor tiles" + material = "tile/floor_white" + +/obj/fiftyspawner/floor_yellow + name = "stack of yellow floor tiles" + material = "tile/floor_yellow" + +/obj/fiftyspawner/floor_dark + name = "stack of dark floor tiles" + material = "tile/floor_dark" + +/obj/fiftyspawner/floor_freezer + name = "stack of freezer tiles" + material = "tile/floor_freezer" + +/obj/fiftyspawner/linoleum + name = "stack of linoleum tiles" + material = "tile/linoleum" \ No newline at end of file diff --git a/code/game/objects/items/stacks/tiles/tile_types.dm b/code/game/objects/items/stacks/tiles/tile_types.dm index f8981bc471..d337d064e0 100644 --- a/code/game/objects/items/stacks/tiles/tile_types.dm +++ b/code/game/objects/items/stacks/tiles/tile_types.dm @@ -6,6 +6,8 @@ * Carpet * Blue Carpet * Linoleum + * + * Put your stuff in fifty_stacks_tiles.dm as well. */ /obj/item/stack/tile @@ -76,18 +78,12 @@ throw_range = 20 flags = 0 -/obj/item/stack/tile/carpet/fifty - amount = 50 - /obj/item/stack/tile/carpet/blue name = "blue carpet" singular_name = "blue carpet" desc = "A piece of blue carpet. It is the same size as a normal floor tile!" icon_state = "tile-bluecarpet" -/obj/item/stack/tile/carpet/blue/fifty - amount = 50 - /obj/item/stack/tile/floor name = "floor tile" singular_name = "floor tile" @@ -100,63 +96,42 @@ throw_range = 20 flags = CONDUCT -/obj/item/stack/tile/floor/fifty - amount = 50 - /obj/item/stack/tile/floor_red name = "red floor tile" singular_name = "red floor tile" color = COLOR_RED_GRAY icon_state = "tile_white" -/obj/item/stack/tile/floor_red/fifty - amount = 50 - /obj/item/stack/tile/floor_steel name = "steel floor tile" singular_name = "steel floor tile" icon_state = "tile_steel" matter = list("plasteel" = SHEET_MATERIAL_AMOUNT / 4) -/obj/item/stack/tile/floor_steel/fifty - amount = 50 - /obj/item/stack/tile/floor_white name = "white floor tile" singular_name = "white floor tile" icon_state = "tile_white" matter = list("plastic" = SHEET_MATERIAL_AMOUNT / 4) -/obj/item/stack/tile/floor_white/fifty - amount = 50 - /obj/item/stack/tile/floor_yellow name = "yellow floor tile" singular_name = "yellow floor tile" color = COLOR_BROWN icon_state = "tile_white" -/obj/item/stack/tile/floor_yellow/fifty - amount = 50 - /obj/item/stack/tile/floor_dark name = "dark floor tile" singular_name = "dark floor tile" icon_state = "fr_tile" matter = list("plasteel" = SHEET_MATERIAL_AMOUNT / 4) -/obj/item/stack/tile/floor_dark/fifty - amount = 50 - /obj/item/stack/tile/floor_freezer name = "freezer floor tile" singular_name = "freezer floor tile" icon_state = "tile_freezer" matter = list("plastic" = SHEET_MATERIAL_AMOUNT / 4) -/obj/item/stack/tile/foor_freezer/fifty - amount = 50 - /obj/item/stack/tile/floor/cyborg name = "floor tile synthesizer" desc = "A device that makes floor tiles." @@ -176,7 +151,4 @@ throwforce = 1.0 throw_speed = 5 throw_range = 20 - flags = 0 - -/obj/item/stack/tile/linoleum/fifty - amount = 50 \ No newline at end of file + flags = 0 \ No newline at end of file diff --git a/code/modules/client/preference_setup/loadout/loadout_uniform.dm b/code/modules/client/preference_setup/loadout/loadout_uniform.dm index e40883dc79..f951450134 100644 --- a/code/modules/client/preference_setup/loadout/loadout_uniform.dm +++ b/code/modules/client/preference_setup/loadout/loadout_uniform.dm @@ -411,11 +411,11 @@ display_name = "sweater, grey" path = /obj/item/clothing/under/rank/psych/turtleneck/sweater -/datum/gear/uniform/jumpsuit/aether +/datum/gear/uniform/brandsuit/aether display_name = "jumpsuit, aether" path = /obj/item/clothing/under/aether -/datum/gear/uniform/jumpsuit/focal +/datum/gear/uniform/brandsuit/focal display_name = "jumpsuit, focal" path = /obj/item/clothing/under/focal @@ -430,11 +430,11 @@ cost = 2 allowed_roles = list("Security Officer","Head of Security","Warden") -/datum/gear/uniform/jumpsuit/grayson +/datum/gear/uniform/brandsuit/grayson display_name = "outfit, grayson" path = /obj/item/clothing/under/grayson -/datum/gear/uniform/jumpsuit/wardt +/datum/gear/uniform/brandsuit/wardt display_name = "jumpsuit, ward-takahashi" path = /obj/item/clothing/under/wardt @@ -442,6 +442,6 @@ display_name = "outfit, frontier" path = /obj/item/clothing/under/frontier -/datum/gear/uniform/jumpsuit/hephaestus +/datum/gear/uniform/brandsuit/hephaestus display_name = "jumpsuit, hephaestus" path = /obj/item/clothing/under/hephaestus \ No newline at end of file diff --git a/code/modules/client/preference_setup/loadout/loadout_utility.dm b/code/modules/client/preference_setup/loadout/loadout_utility.dm index 2bb167e5cf..4c2a378e7d 100644 --- a/code/modules/client/preference_setup/loadout/loadout_utility.dm +++ b/code/modules/client/preference_setup/loadout/loadout_utility.dm @@ -51,6 +51,10 @@ path = /obj/item/device/flashlight/maglight cost = 2 +/datum/gear/utility/battery + display_name = "cell, device" + path = /obj/item/weapon/cell/device + /datum/gear/utility/implant //This does nothing if you don't actually know EAL. display_name = "implant, language, EAL" path = /obj/item/weapon/implant/language/eal diff --git a/code/modules/materials/fifty_spawner_mats.dm b/code/modules/materials/fifty_spawner_mats.dm new file mode 100644 index 0000000000..53b65f7ab2 --- /dev/null +++ b/code/modules/materials/fifty_spawner_mats.dm @@ -0,0 +1,97 @@ +//see /code/game/objects/items/stacks/fifty_spawner.dm for details on this + +/obj/fiftyspawner/iron + name = "stack of iron" + material = "material/iron" + +/obj/fiftyspawner/sandstone + name = "stack of sandstone" + material = "material/sandstone" + +/obj/fiftyspawner/marble + name = "stack of marble" + material = "material/marble" + +/obj/fiftyspawner/diamond + name = "stack of diamond" + material = "material/diamond" + +/obj/fiftyspawner/uranium + name = "stack of uranium" + material = "material/uranium" + +/obj/fiftyspawner/phoron + name = "stack of phoron" + material = "material/phoron" + +/obj/fiftyspawner/plastic + name = "stack of plastic" + material = "material/plastic" + +/obj/fiftyspawner/gold + name = "stack of gold" + material = "material/gold" + +/obj/fiftyspawner/silver + name = "stack of silver" + material = "material/silver" + +/obj/fiftyspawner/platinum + name = "stack of platinum" + material = "material/platinum" + +/obj/fiftyspawner/mhydrogen + name = "stack of mhydrogen" + material = "material/mhydrogen" + +/obj/fiftyspawner/tritium + name = "stack of tritium" + material = "material/tritium" + +/obj/fiftyspawner/osmium + name = "stack of osmium" + material = "material/osmium" + +/obj/fiftyspawner/steel + name = "stack of steel" + material = "material/steel" + +/obj/fiftyspawner/plasteel + name = "stack of plasteel" + material = "material/plasteel" + +/obj/fiftyspawner/durasteel + name = "stack of durasteel" + material = "material/durasteel" + +/obj/fiftyspawner/wood + name = "stack of wood" + material = "material/wood" + +/obj/fiftyspawner/cloth + name = "stack of cloth" + material = "material/cloth" + +/obj/fiftyspawner/cardboard + name = "stack of cardboard" + material = "material/cardboard" + +/obj/fiftyspawner/leather + name = "stack of leather" + material = "material/leather" + +/obj/fiftyspawner/glass + name = "stack of glass" + material = "material/glass" + +/obj/fiftyspawner/rglass + name = "stack of reinforced glass" + material = "material/glass/reinforced" + +/obj/fiftyspawner/phoronglass + name = "stack of borosilicate glass" + material = "material/glass/phoronglass" + +/obj/fiftyspawner/phoronrglass + name = "stack of reinforced borosilicate glass" + material = "material/glass/phoronrglass" \ No newline at end of file diff --git a/code/modules/materials/material_sheets.dm b/code/modules/materials/material_sheets.dm index 57365f4367..b6e8170e15 100644 --- a/code/modules/materials/material_sheets.dm +++ b/code/modules/materials/material_sheets.dm @@ -1,4 +1,5 @@ // Stacked resources. They use a material datum for a lot of inherited values. +// If you're adding something here, make sure to add it to fifty_spawner_mats.dm as well /obj/item/stack/material force = 5.0 throwforce = 5 @@ -92,91 +93,58 @@ default_type = "iron" apply_colour = 1 -/obj/item/stack/material/iron/fifty - amount = 50 - /obj/item/stack/material/sandstone name = "sandstone brick" icon_state = "sheet-sandstone" default_type = "sandstone" -/obj/item/stack/material/sandstone/fifty - amount = 50 - /obj/item/stack/material/marble name = "marble brick" icon_state = "sheet-marble" default_type = "marble" -/obj/item/stack/material/marble/fifty - amount = 50 - /obj/item/stack/material/diamond name = "diamond" icon_state = "sheet-diamond" default_type = "diamond" -/obj/item/stack/material/diamond/fifty - amount = 50 - /obj/item/stack/material/uranium name = "uranium" icon_state = "sheet-uranium" default_type = "uranium" -/obj/item/stack/material/uranium/fifty - amount = 50 - /obj/item/stack/material/phoron name = "solid phoron" icon_state = "sheet-phoron" default_type = "phoron" -/obj/item/stack/material/phoron/fifty - amount = 50 - /obj/item/stack/material/plastic name = "plastic" icon_state = "sheet-plastic" default_type = "plastic" -/obj/item/stack/material/plastic/fifty - amount = 50 - /obj/item/stack/material/gold name = "gold" icon_state = "sheet-gold" default_type = "gold" -/obj/item/stack/material/gold/fifty - amount = 50 - /obj/item/stack/material/silver name = "silver" icon_state = "sheet-silver" default_type = "silver" -/obj/item/stack/material/silver/fifty - amount = 50 - //Valuable resource, cargo can sell it. /obj/item/stack/material/platinum name = "platinum" icon_state = "sheet-adamantine" default_type = "platinum" -/obj/item/stack/material/platinum/fifty - amount = 50 - //Extremely valuable to Research. /obj/item/stack/material/mhydrogen name = "metallic hydrogen" icon_state = "sheet-mythril" default_type = "mhydrogen" -/obj/item/stack/material/mhydrogen/fifty - amount = 50 - //Fuel for MRSPACMAN generator. /obj/item/stack/material/tritium name = "tritium" @@ -184,92 +152,59 @@ default_type = "tritium" apply_colour = 1 -/obj/item/stack/material/tritium/fifty - amount = 50 - /obj/item/stack/material/osmium name = "osmium" icon_state = "sheet-silver" default_type = "osmium" apply_colour = 1 -/obj/item/stack/material/osmium/fifty - amount = 50 - /obj/item/stack/material/steel name = DEFAULT_WALL_MATERIAL icon_state = "sheet-metal" default_type = DEFAULT_WALL_MATERIAL -/obj/item/stack/material/steel/fifty - amount = 50 - /obj/item/stack/material/plasteel name = "plasteel" icon_state = "sheet-plasteel" default_type = "plasteel" -/obj/item/stack/material/plasteel/fifty - amount = 50 - /obj/item/stack/material/durasteel name = "durasteel" icon_state = "sheet-durasteel" item_state = "sheet-metal" default_type = "durasteel" -/obj/item/stack/material/durasteel/fifty - amount = 50 - /obj/item/stack/material/wood name = "wooden plank" icon_state = "sheet-wood" default_type = "wood" -/obj/item/stack/material/wood/fifty - amount = 50 - /obj/item/stack/material/cloth name = "cloth" icon_state = "sheet-cloth" default_type = "cloth" -/obj/item/stack/material/cloth/fifty - amount = 50 - /obj/item/stack/material/cardboard name = "cardboard" icon_state = "sheet-card" default_type = "cardboard" -/obj/item/stack/material/cardboard/fifty - amount = 50 - /obj/item/stack/material/leather name = "leather" desc = "The by-product of mob grinding." icon_state = "sheet-leather" default_type = "leather" -/obj/item/stack/material/leather/fifty - amount = 50 - /obj/item/stack/material/glass name = "glass" icon_state = "sheet-glass" default_type = "glass" -/obj/item/stack/material/glass/fifty - amount = 50 - /obj/item/stack/material/glass/reinforced name = "reinforced glass" icon_state = "sheet-rglass" default_type = "rglass" -/obj/item/stack/material/glass/reinforced/fifty - amount = 50 - /obj/item/stack/material/glass/phoronglass name = "borosilicate glass" desc = "This sheet is special platinum-glass alloy designed to withstand large temperatures" @@ -277,15 +212,9 @@ icon_state = "sheet-phoronglass" default_type = "borosilicate glass" -/obj/item/stack/material/glass/phoronglass/fifty - amount = 50 - /obj/item/stack/material/glass/phoronrglass name = "reinforced borosilicate glass" desc = "This sheet is special platinum-glass alloy designed to withstand large temperatures. It is reinforced with few rods." singular_name = "reinforced borosilicate glass sheet" icon_state = "sheet-phoronrglass" default_type = "reinforced borosilicate glass" - -/obj/item/stack/material/glass/phoronrglass/fifty - amount = 50 diff --git a/code/modules/mob/living/carbon/human/species/station/seromi.dm b/code/modules/mob/living/carbon/human/species/station/seromi.dm index 5fa81a04d9..9316eaecad 100644 --- a/code/modules/mob/living/carbon/human/species/station/seromi.dm +++ b/code/modules/mob/living/carbon/human/species/station/seromi.dm @@ -6,7 +6,7 @@ hunting skills that emphasized taking out their prey without themselves getting hit. They \ are only recently becoming known on human stations after reaching space with Skrell assistance." - num_alternate_languages = 2 + num_alternate_languages = 3 secondary_langs = list("Schechi", "Skrellian") name_language = "Schechi" min_age = 12 diff --git a/code/modules/mob/living/silicon/robot/drone/drone_items.dm b/code/modules/mob/living/silicon/robot/drone/drone_items.dm index 84547eba18..c7fb1d6728 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_items.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_items.dm @@ -134,7 +134,8 @@ can_hold = list( /obj/item/mecha_parts/part, - /obj/item/mecha_parts/mecha_equipment + /obj/item/mecha_parts/mecha_equipment, + /obj/item/mecha_parts/mecha_tracking ) /obj/item/weapon/gripper/no_use //Used when you want to hold and put items in other things, but not able to 'use' the item @@ -182,7 +183,8 @@ force_holder = wrapped.force wrapped.force = 0.0 wrapped.attack(M,user) - if(deleted(wrapped)) + M.attackby(wrapped, user) //attackby reportedly gets procced by being clicked on, at least according to Anewbe. + if(deleted(wrapped) || wrapped.loc != src.loc) wrapped = null return 1 return 0 diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index 53ec10e31e..476a8b6810 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -270,9 +270,9 @@ if("run") if(mob.drowsyness > 0) move_delay += 6 - move_delay += 1+config.run_speed + move_delay += config.run_speed if("walk") - move_delay += 7+config.walk_speed + move_delay += config.walk_speed move_delay += mob.movement_delay() var/tickcomp = 0 //moved this out here so we can use it for vehicles @@ -351,7 +351,7 @@ M.animate_movement = 2 return - else + else if(mob.confused) switch(mob.m_intent) if("run") diff --git a/code/modules/random_map/drop/drop_types.dm b/code/modules/random_map/drop/drop_types.dm index 87d9c699d0..d125fcebbf 100644 --- a/code/modules/random_map/drop/drop_types.dm +++ b/code/modules/random_map/drop/drop_types.dm @@ -266,15 +266,15 @@ datum/supply_drop_loot/riot /datum/supply_drop_loot/materials/New() ..() contents = list( - /obj/item/stack/material/steel/fifty, - /obj/item/stack/material/steel/fifty, - /obj/item/stack/material/steel/fifty, - /obj/item/stack/material/glass/fifty, - /obj/item/stack/material/glass/fifty, - /obj/item/stack/material/wood/fifty, - /obj/item/stack/material/plastic/fifty, - /obj/item/stack/material/glass/reinforced/fifty, - /obj/item/stack/material/plasteel/fifty) + /obj/fiftyspawner/steel, + /obj/fiftyspawner/steel, + /obj/fiftyspawner/steel, + /obj/fiftyspawner/glass, + /obj/fiftyspawner/glass, + /obj/fiftyspawner/wood, + /obj/fiftyspawner/plastic, + /obj/fiftyspawner/rglass, + /obj/fiftyspawner/plasteel) /datum/supply_drop_loot/materials_advanced name = "Advanced Materials" @@ -282,20 +282,20 @@ datum/supply_drop_loot/riot /datum/supply_drop_loot/materials_advanced/New() ..() contents = list( - /obj/item/stack/material/steel/fifty, - /obj/item/stack/material/glass/fifty, - /obj/item/stack/material/wood/fifty, - /obj/item/stack/material/plastic/fifty, - /obj/item/stack/material/glass/reinforced/fifty, - /obj/item/stack/material/plasteel/fifty, - /obj/item/stack/material/diamond/fifty, - /obj/item/stack/material/phoron/fifty, - /obj/item/stack/material/gold/fifty, - /obj/item/stack/material/silver/fifty, - /obj/item/stack/material/platinum/fifty, - /obj/item/stack/material/mhydrogen/fifty, - /obj/item/stack/material/tritium/fifty, - /obj/item/stack/material/osmium/fifty,) + /obj/fiftyspawner/steel, + /obj/fiftyspawner/glass, + /obj/fiftyspawner/wood, + /obj/fiftyspawner/plastic, + /obj/fiftyspawner/rglass, + /obj/fiftyspawner/plasteel, + /obj/fiftyspawner/diamond, + /obj/fiftyspawner/phoron, + /obj/fiftyspawner/gold, + /obj/fiftyspawner/silver, + /obj/fiftyspawner/platinum, + /obj/fiftyspawner/mhydrogen, + /obj/fiftyspawner/tritium, + /obj/fiftyspawner/osmium,) /datum/supply_drop_loot/supermatter name = "Supermatter" diff --git a/code/modules/reagents/reagent_containers/glass.dm b/code/modules/reagents/reagent_containers/glass.dm index b041aa13e7..4016a76a44 100644 --- a/code/modules/reagents/reagent_containers/glass.dm +++ b/code/modules/reagents/reagent_containers/glass.dm @@ -6,6 +6,7 @@ name = " " var/base_name = " " desc = " " + var/base_desc = " " icon = 'icons/obj/chemical.dmi' icon_state = "null" item_state = "null" @@ -48,6 +49,7 @@ /obj/item/weapon/reagent_containers/glass/New() ..() base_name = name + base_desc = desc /obj/item/weapon/reagent_containers/glass/examine(var/mob/user) if(!..(user, 2)) @@ -99,8 +101,12 @@ /obj/item/weapon/reagent_containers/glass/attackby(obj/item/weapon/W as obj, mob/user as mob) if(istype(W, /obj/item/weapon/pen) || istype(W, /obj/item/device/flashlight/pen)) var/tmp_label = sanitizeSafe(input(user, "Enter a label for [name]", "Label", label_text), MAX_NAME_LEN) - if(length(tmp_label) > 10) - user << "The label can be at most 10 characters long." + if(length(tmp_label) > 50) + user << "The label can be at most 50 characters long." + else if(length(tmp_label) > 10) + user << "You set the label." + label_text = tmp_label + update_name_label() else user << "You set the label to \"[tmp_label]\"." label_text = tmp_label @@ -109,8 +115,12 @@ /obj/item/weapon/reagent_containers/glass/proc/update_name_label() if(label_text == "") name = base_name + else if(length(label_text) > 10) + var/short_label_text = copytext(label_text, 1, 11) + name = "[base_name] ([short_label_text]...)" else name = "[base_name] ([label_text])" + desc = "[base_desc] It is labeled \"[label_text]\"." /obj/item/weapon/reagent_containers/glass/beaker name = "beaker" diff --git a/code/modules/research/rdmachines.dm b/code/modules/research/rdmachines.dm index cacdefae23..2bcf7ef66e 100644 --- a/code/modules/research/rdmachines.dm +++ b/code/modules/research/rdmachines.dm @@ -36,20 +36,19 @@ /obj/machinery/r_n_d/proc/getMaterialName(var/type) switch(type) - //50-stacks weren't working despite being a subtype of the others, let's just force it in - if(/obj/item/stack/material/steel, /obj/item/stack/material/steel/fifty) + if(/obj/item/stack/material/steel) return DEFAULT_WALL_MATERIAL - if(/obj/item/stack/material/glass, /obj/item/stack/material/glass/fifty) + if(/obj/item/stack/material/glass) return "glass" - if(/obj/item/stack/material/gold, /obj/item/stack/material/gold/fifty) + if(/obj/item/stack/material/gold) return "gold" - if(/obj/item/stack/material/silver, /obj/item/stack/material/silver/fifty) + if(/obj/item/stack/material/silver) return "silver" - if(/obj/item/stack/material/phoron, /obj/item/stack/material/phoron/fifty) + if(/obj/item/stack/material/phoron) return "phoron" - if(/obj/item/stack/material/uranium, /obj/item/stack/material/uranium/fifty) + if(/obj/item/stack/material/uranium) return "uranium" - if(/obj/item/stack/material/diamond, /obj/item/stack/material/diamond/fifty) + if(/obj/item/stack/material/diamond) return "diamond" /obj/machinery/r_n_d/proc/eject(var/material, var/amount) diff --git a/html/changelog.html b/html/changelog.html index 1165018c4a..758ffbd6f1 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -53,6 +53,29 @@ -->
+

17 December 2016

+

Anewbe updated:

+ +

ForFoxSake updated:

+ +

MagmaRam updated:

+ +

N3X15 updated:

+ +

01 December 2016

Anewbe updated: