Merge branch 'upstream-master' into upstream-development

This commit is contained in:
Werner
2018-11-04 13:49:40 +01:00
25 changed files with 137 additions and 27 deletions
+6
View File
@@ -0,0 +1,6 @@
--
-- Adds alt_title logging to the ss13_characters_log
--
ALTER TABLE `ss13_characters_log`
ADD COLUMN `alt_title` VARCHAR(32) NULL DEFAULT NULL AFTER `job_name`;
+4 -4
View File
@@ -129,11 +129,11 @@
#define BASE_MAX_HYDRATION 800
#define THIRST_FACTOR 0.02 // Factor of how fast mob hydration decreases over time.
#define CREW_MINIMUM_HYDRATION BASE_MAX_HYDRATION * CREW_HYDRATION_SLIGHTLYTHIRSTY // The minimum amount of nutrition a crewmember will spawn with.
#define CREW_MAXIMUM_HYDRATION BASE_MAX_HYDRATION * CREW_HYDRATION_HYDRATED // Same as above, but maximum.
#define CREW_MINIMUM_HYDRATION CREW_HYDRATION_SLIGHTLYTHIRSTY // The minimum amount of nutrition a crewmember will spawn with, represented as a percentage
#define CREW_MAXIMUM_HYDRATION CREW_HYDRATION_HYDRATED // Same as above, but maximum.
#define CREW_MINIMUM_NUTRITION BASE_MAX_NUTRITION * CREW_NUTRITION_SLIGHTLYHUNGRY // The minimum amount of nutrition a crewmember will spawn with.
#define CREW_MAXIMUM_NUTRITION BASE_MAX_NUTRITION * CREW_NUTRITION_FULL // Same as above, but maximum.
#define CREW_MINIMUM_NUTRITION CREW_NUTRITION_FULL // The minimum amount of nutrition a crewmember will spawn with, represented as a percentage.
#define CREW_MAXIMUM_NUTRITION CREW_NUTRITION_OVEREATEN // Same as above, but maximum.
//Note that all of this is relative to nutrition/max nutrition
#define CREW_NUTRITION_OVEREATEN 0.8
+2 -2
View File
@@ -335,10 +335,10 @@
// Randomize nutrition and hydration. Defines are in __defines/mobs.dm
if(H.max_nutrition > 0)
H.nutrition = (rand(CREW_MINIMUM_NUTRITION, CREW_MAXIMUM_NUTRITION) * 0.01) * H.max_nutrition
H.nutrition = rand(CREW_MINIMUM_NUTRITION*100, CREW_MAXIMUM_NUTRITION*100) * H.max_nutrition * 0.01
if(H.max_hydration > 0)
H.hydration = (rand(CREW_MINIMUM_HYDRATION, CREW_MAXIMUM_HYDRATION) * 0.01) * H.max_hydration
H.hydration = rand(CREW_MINIMUM_HYDRATION*100, CREW_MAXIMUM_HYDRATION*100) * H.max_hydration * 0.01
if (!megavend)
spawn_in_storage += EquipCustomDeferred(H, H.client.prefs, custom_equip_leftovers, custom_equip_slots)
+2 -2
View File
@@ -63,8 +63,8 @@
//mobs in range check
var/users_in_range = 0
for(var/mob/living/L in orange(1,src))
if(L.ckey && L.client)
if((world.time - L.client.inactivity) < (world.time - 300) || L.stat != CONSCIOUS || L.restrained())
if(L.ckey)
if(L.stat != CONSCIOUS || L.restrained())
to_chat(M, "<span class='warning'>\The [L] does not seem to be paying attention to the [src].</span>")
else
users_in_range++
+5 -2
View File
@@ -458,8 +458,11 @@ datum/preferences
if (!config.sql_saves || !config.sql_stats || !establish_db_connection(dbcon) || !H)
return
var/DBQuery/query = dbcon.NewQuery("INSERT INTO ss13_characters_log (char_id, game_id, datetime, job_name, special_role) VALUES (:char_id:, :game_id:, NOW(), :job:, :special_role:)")
query.Execute(list("char_id" = current_character, "game_id" = game_id, "job" = H.mind.assigned_role, "special_role" = H.mind.special_role))
if(!H.mind.assigned_role)
log_debug("Char-Log: Char [current_character] - [H.name] has joined with mind.assigned_role set to NULL")
var/DBQuery/query = dbcon.NewQuery("INSERT INTO ss13_characters_log (char_id, game_id, datetime, job_name, special_role, alt_title) VALUES (:char_id:, :game_id:, NOW(), :job:, :special_role:, :alt_title:)")
query.Execute(list("char_id" = current_character, "game_id" = game_id, "job" = H.mind.assigned_role, "special_role" = H.mind.special_role, "alt_title" = H.mind.role_alt_title))
// Turned into a proc so we could reuse it for SQL shenanigans.
/datum/preferences/proc/new_setup(var/re_initialize = 0)
@@ -122,10 +122,22 @@
/obj/item/clothing/suit/space/rig/light/ninja
species_restricted = list("exclude","Diona","Xenomorph", "Golem")
sprite_sheets = list(
"Tajara" = 'icons/mob/species/tajaran/suit.dmi',
"Skrell" = 'icons/mob/species/skrell/suit.dmi',
"Unathi" = 'icons/mob/species/unathi/suit.dmi',
"Vaurca" = "icons/mob/species/vaurca/suit.dmi"
)
breach_threshold = 38 //comparable to regular hardsuits
/obj/item/clothing/head/helmet/space/rig/light/ninja
species_restricted = list("exclude","Diona","Xenomorph", "Golem")
sprite_sheets = list(
"Tajara" = 'icons/mob/species/tajaran/helmet.dmi',
"Skrell" = 'icons/mob/species/skrell/helmet.dmi',
"Unathi" = 'icons/mob/species/unathi/helmet.dmi',
"Vaurca" = "icons/mob/species/vaurca/helmet.dmi"
)
/obj/item/weapon/rig/light/stealth
name = "stealth suit control module"
+1
View File
@@ -18,6 +18,7 @@
item_state = "bl_suit"
worn_state = "tactifool"
siemens_coefficient = 1
has_sensor = 1
armor = null
/obj/item/clothing/under/syndicate/tracksuit
+2 -2
View File
@@ -256,5 +256,5 @@
origin_tech = list(TECH_MATERIAL = 4,TECH_ENGINEERING = 5,TECH_MAGNET = 4,TECH_POWER = 4)
type_to_take = "uranium"
charge_per_sheet = 50
type_to_take = "mhydrogen"
charge_per_sheet = 90
+2 -2
View File
@@ -1127,8 +1127,8 @@
/datum/seed/diona
name = "diona"
seed_name = "diona"
seed_noun = "nodes"
display_name = "replicant pods"
seed_noun = "node"
display_name = "diona pod"
can_self_harvest = 1
has_mob_product = /mob/living/carbon/alien/diona
+1
View File
@@ -609,6 +609,7 @@ var/list/worths = list(
/obj/item/device/chameleon = 4000,
/obj/item/device/paicard = 120,
/obj/item/device/powersink = 1800,
/obj/item/weapon/hand_tele = 1800,
/obj/item/device/mass_spectrometer/adv = 400,
/obj/item/device/mass_spectrometer = 300,
/obj/item/device/reagent_scanner/adv = 600,
+2 -2
View File
@@ -1351,8 +1351,8 @@ var/list/total_extraction_beacons = list()
if(iscarbon(LI))
var/mob/living/carbon/L = A
L.Weaken(3)
if(ishuman(L))
shake_camera(L, 20, 1)
shake_camera(L, 20, 1)
if(!isipc(L))
addtimer(CALLBACK(L, /mob/living/carbon/.proc/vomit), 20)
spawn(2)
@@ -1,11 +1,9 @@
/mob/living/carbon/alien/diona/confirm_evolution()
//Whitelist requirement for evolution experimentally removed
/*
if(!is_alien_whitelisted(src, "Diona") && config.usealienwhitelist)
src << alert("You are currently not whitelisted to play as a full diona.")
return null
*/
var/response = alert(src, "A worker gestalt is a large, slow, and durable humanoid form. You will lose the ability to ventcrawl and devour animals, but you will gain hand-like tendrils and the ability to wear things.You have enough biomass, are you certain you're ready to form a new gestalt?","Confirm Gestalt","Growth!","Patience...")
if(response != "Growth!") return //Hit the wrong key...again.
@@ -15,8 +15,8 @@
desc = "An advanced power cell, often used in most laptops. It is too large to be fitted into smaller devices. It's rating is 1100."
icon_state = "battery_advanced"
origin_tech = list(TECH_POWER = 2, TECH_ENGINEERING = 2)
hardware_size = 3
battery_rating = 1100
hardware_size = 2
/obj/item/weapon/computer_hardware/battery_module/super
name = "super battery"
+15 -1
View File
@@ -33,7 +33,7 @@
/obj/machinery/chem_master/Initialize()
. = ..()
create_reagents(120)
create_reagents(300)
/obj/machinery/chem_master/ex_act(severity)
switch(severity)
@@ -809,3 +809,17 @@
target.say("*scream")
spawn(10)
user.visible_message("<span class='warning'>[user] stops the [src] and leaves [target] resting as they are.</span>", "<span class='warning'>You turn the [src] off and let go of [target].</span>")
/obj/machinery/reagentgrinder/verb/Eject()
set src in oview(1)
set category = "Object"
set name = "Eject contents"
if(use_check(usr))
return
usr.visible_message(
"<span class='notice'>[usr] opens [src] and has removed [english_list(holdingitems)].</span>"
)
eject()
detach()
@@ -251,6 +251,17 @@
if(dose == removed)
S.visible_message("<span class='warning'>[S]'s flesh sizzles where the water touches it!</span>", "<span class='danger'>Your flesh burns in the water!</span>")
/datum/reagent/water/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
if(istype(M, /mob/living/carbon/slime))
var/mob/living/carbon/slime/S = M
S.adjustToxLoss(12 * removed) // A slime having water forced down its throat would cause much more damage then being splashed on it
if (!S.client && S.Target)
S.Target = null
++S.Discipline
/datum/reagent/fuel
name = "Welding fuel"
id = "fuel"
@@ -1660,7 +1660,7 @@
id = "gin"
description = "It's gin. In space. I say, good sir."
color = "#664300"
strength = 20
strength = 30
taste_description = "an alcoholic christmas tree"
glass_icon_state = "ginvodkaglass"
+39
View File
@@ -56,6 +56,45 @@
-->
<div class="commit sansserif">
<h2 class="date">26 October 2018</h2>
<h3 class="author">Kaedwuff updated:</h3>
<ul class="changes bgimages16">
<li class="tweak">Dionas now properly come from diona pods, instead of the legacy tag of 'replicant pods'.</li>
</ul>
<h2 class="date">23 October 2018</h2>
<h3 class="author">PoZe updated:</h3>
<ul class="changes bgimages16">
<li class="tweak">Whitelist check is again enabled for nympth when they evolve into Gestalts. For some reason it was diabled experimentally bizzillion seconds ago.</li>
</ul>
<h2 class="date">21 October 2018</h2>
<h3 class="author">Drago updated:</h3>
<ul class="changes bgimages16">
<li class="rscadd">Fixed Hand Teleporter Price being 5 credits, it is now 1800.</li>
<li class="rscdel">Made the grinder be able to eject its contents and beaker without power.</li>
<li class="rscdel">Slimes that drink water now get major toxin damage, far more then a shower.</li>
<li class="rscdel">IPCs No longer vomit with seismic charges</li>
<li class="rscdel">Fixed Briefcase missing hand sprites</li>
<li class="rscdel">Hydrogen KA now loads properly</li>
<li class="rscdel">NTOS cannot be pirated anymore</li>
<li class="rscdel">Advanced batteries fit into laptops now</li>
</ul>
<h2 class="date">20 October 2018</h2>
<h3 class="author">BurgerBB updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Fixed a bug that made everyone spawn chubby and with full nutrition. Thanks BYOND.</li>
</ul>
<h3 class="author">LordFowl updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Removes the toolbelt in robotics that could fit anything.</li>
</ul>
<h3 class="author">PoZe updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Ninja suit now uses Vaurca sprite</li>
</ul>
<h2 class="date">10 October 2018</h2>
<h3 class="author">Arrow768 updated:</h3>
<ul class="changes bgimages16">
+26
View File
@@ -6278,3 +6278,29 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
- tweak: Increased the metabolism rate of Neurotoxin so it doesn't stun for 30 seconds
when injected. Adjusted the injection strength of Doctor's Delight when injected.
- tweak: Adjusted ramen and ice nutrition and hydration stats.
2018-10-20:
BurgerBB:
- bugfix: Fixed a bug that made everyone spawn chubby and with full nutrition. Thanks
BYOND.
LordFowl:
- bugfix: Removes the toolbelt in robotics that could fit anything.
PoZe:
- bugfix: Ninja suit now uses Vaurca sprite
2018-10-21:
Drago:
- rscadd: Fixed Hand Teleporter Price being 5 credits, it is now 1800.
- rscdel: Made the grinder be able to eject its contents and beaker without power.
- rscdel: Slimes that drink water now get major toxin damage, far more then a shower.
- rscdel: IPCs No longer vomit with seismic charges
- rscdel: Fixed Briefcase missing hand sprites
- rscdel: Hydrogen KA now loads properly
- rscdel: NTOS cannot be pirated anymore
- rscdel: Advanced batteries fit into laptops now
2018-10-23:
PoZe:
- tweak: Whitelist check is again enabled for nympth when they evolve into Gestalts.
For some reason it was diabled experimentally bizzillion seconds ago.
2018-10-26:
Kaedwuff:
- tweak: Dionas now properly come from diona pods, instead of the legacy tag of
'replicant pods'.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

+1 -2
View File
@@ -34300,7 +34300,6 @@
/obj/machinery/light{
dir = 1
},
/obj/item/weapon/storage/belt,
/obj/item/weapon/storage/toolbox/electrical,
/obj/effect/floor_decal/industrial/outline/yellow,
/obj/item/device/multitool,
@@ -34309,6 +34308,7 @@
/obj/item/clothing/glasses/welding,
/obj/item/clothing/head/welding,
/obj/item/clothing/head/welding,
/obj/item/weapon/storage/belt/utility,
/turf/simulated/floor/tiled,
/area/assembly/robotics)
"bhL" = (
@@ -40404,7 +40404,6 @@
icon_state = "rwindow";
dir = 8
},
/obj/structure/table/standard,
/obj/machinery/door/window{
base_state = "left";
dir = 1;
+1 -1
View File
@@ -129,4 +129,4 @@
{{/if}}
<br><br>
<div style="position: fixed; bottom: 5px;"><hr><i>NTOS v2.0.6 Copyright NanoTrasen 2450 - 2458</i></div>
<div style="position: fixed; bottom: 5px;"><hr><i>NTOS v2.0.6 Copyright NanoTrasen 2450 - 2460</i></div>
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long