Merge branch 'master' of https://github.com/ParadiseSS13/Paradise into lavaland_megafauna
# Conflicts: # code/game/machinery/turrets.dm
@@ -418,7 +418,7 @@
|
||||
/proc/SecondsToTicks(var/seconds)
|
||||
return seconds * 10
|
||||
|
||||
proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0, var/poll_time = 300, var/ignore_respawnability = 0)
|
||||
proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0, var/poll_time = 300, var/ignore_respawnability = 0, var/min_hours = 0)
|
||||
var/roletext = be_special_type ? get_roletext(be_special_type) : null
|
||||
var/list/mob/dead/observer/candidates = list()
|
||||
var/time_passed = world.time
|
||||
@@ -437,12 +437,15 @@ proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0,
|
||||
if(roletext)
|
||||
if(jobban_isbanned(G, roletext) || jobban_isbanned(G, "Syndicate"))
|
||||
continue
|
||||
if(min_hours)
|
||||
if(G.client.get_exp_living_num() < min_hours * 60)
|
||||
continue
|
||||
if(G.has_enabled_antagHUD)
|
||||
continue
|
||||
spawn(0)
|
||||
G << 'sound/misc/notice2.ogg'//Alerting them to their consideration
|
||||
|
||||
switch(alert(G,Question,"Please answer in [poll_time/10] seconds!","Yes","No"))
|
||||
switch(alert(G,Question,"Please answer in [poll_time/10] seconds!","Yes","No","Not This Round"))
|
||||
if("Yes")
|
||||
to_chat(G, "<span class='notice'>Choice registered: Yes.</span>")
|
||||
if((world.time-time_passed)>poll_time)//If more than 30 game seconds passed.
|
||||
@@ -453,6 +456,11 @@ proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0,
|
||||
if("No")
|
||||
to_chat(G, "<span class='danger'>Choice registered: No.</span>")
|
||||
return
|
||||
if("Not This Round")
|
||||
to_chat(G, "<span class='danger'>Choice registered: No.</span>")
|
||||
to_chat(G, "<span class='notice'>You will no longer receive notifications for the role '[roletext]' for the rest of the round.</span>")
|
||||
G.client.prefs.be_special -= be_special_type
|
||||
return
|
||||
else
|
||||
return
|
||||
sleep(poll_time)
|
||||
|
||||
@@ -249,8 +249,8 @@ Proc for attack log creation, because really why not
|
||||
6 is whether the attack should be logged to the log file and shown to admins
|
||||
*/
|
||||
|
||||
proc/add_logs(mob/user, mob/target, what_done, var/object=null, var/addition=null, var/admin=1)
|
||||
var/list/ignore=list("shaked","CPRed","grabbed","punched")
|
||||
proc/add_logs(mob/user, mob/target, what_done, var/object=null, var/addition=null, var/admin=1, var/print_attack_log = 1)//print_attack_log notifies admins with attack logs on
|
||||
var/list/ignore=list("shaked", "CPRed", "grabbed", "punched", "disarmed")
|
||||
if(!user)
|
||||
return
|
||||
if(ismob(user))
|
||||
@@ -259,10 +259,13 @@ proc/add_logs(mob/user, mob/target, what_done, var/object=null, var/addition=nul
|
||||
target.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been [what_done] by [key_name(user)][object ? " with [object]" : " "][addition]</font>")
|
||||
if(admin)
|
||||
log_attack("<font color='red'>[key_name(user)] [what_done] [key_name(target)][object ? " with [object]" : " "][addition]</font>")
|
||||
if(istype(target) && (target.client || target.player_logged))
|
||||
if(what_done in ignore) return
|
||||
if(target == user)return
|
||||
if(!admin) return
|
||||
if(istype(target) && (target.key))
|
||||
if(what_done in ignore)
|
||||
return
|
||||
if(target == user)
|
||||
return
|
||||
if(!print_attack_log)
|
||||
return
|
||||
msg_admin_attack("[key_name_admin(user)] [what_done] [key_name_admin(target)][object ? " with [object]" : " "][addition]")
|
||||
|
||||
/proc/do_mob(var/mob/user, var/mob/target, var/time = 30, var/uninterruptible = 0, progress = 1)
|
||||
|
||||
@@ -1014,7 +1014,7 @@ proc/get_mob_with_client_list()
|
||||
else if(zone == "l_foot") return "left foot"
|
||||
else if(zone == "r_foot") return "right foot"
|
||||
else return zone
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Gets the turf this atom's *ICON* appears to inhabit
|
||||
@@ -1227,7 +1227,7 @@ var/global/list/common_tools = list(
|
||||
|
||||
//check if mob is lying down on something we can operate him on.
|
||||
/proc/can_operate(mob/living/carbon/M)
|
||||
return (locate(/obj/machinery/optable, M.loc) && M.resting) || \
|
||||
return (locate(/obj/machinery/optable, M.loc) && (M.lying || M.resting)) || \
|
||||
(locate(/obj/structure/stool/bed/roller, M.loc) && \
|
||||
(M.buckled || M.lying || M.weakened || M.stunned || M.paralysis || M.sleeping || M.stat)) && prob(75) || \
|
||||
(locate(/obj/structure/table/, M.loc) && \
|
||||
@@ -1887,4 +1887,4 @@ var/global/list/g_fancy_list_of_types = null
|
||||
var/num = pick(num_sample)
|
||||
num_sample -= num
|
||||
result += (1 << num)
|
||||
return result
|
||||
return result
|
||||
|
||||
@@ -65,8 +65,7 @@
|
||||
/////////////////////////
|
||||
user.lastattacked = M
|
||||
M.lastattacker = user
|
||||
|
||||
add_logs(user, M, "attacked", name, "(INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(damtype)])")
|
||||
add_logs(user, M, "attacked", name, "(INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(damtype)])", print_attack_log = (force > 0))//print it if stuff deals damage
|
||||
|
||||
if(!iscarbon(user))
|
||||
M.LAssailant = null
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
//set src in world
|
||||
|
||||
|
||||
if(!usr.client || !usr.client.holder)
|
||||
if(!is_admin(usr))
|
||||
to_chat(usr, "<span class='warning'>You need to be an administrator to access this.</span>")
|
||||
return
|
||||
|
||||
@@ -622,8 +622,9 @@ body
|
||||
return
|
||||
to_chat(M, "Control of your mob has been offered to dead players.")
|
||||
log_admin("[key_name(usr)] has offered control of ([key_name(M)]) to ghosts.")
|
||||
message_admins("[key_name_admin(usr)] has offered control of ([key_name_admin(M)]) to ghosts")
|
||||
var/list/mob/dead/observer/candidates = pollCandidates("Do you want to play as [M.real_name]?", poll_time = 100)
|
||||
var/minhours = input(usr, "Minimum hours required to play [M]?", "Set Min Hrs", 10) as num
|
||||
message_admins("[key_name_admin(usr)] has offered control of ([key_name_admin(M)]) to ghosts with [minhours] hrs playtime")
|
||||
var/list/mob/dead/observer/candidates = pollCandidates("Do you want to play as [M.real_name]?", poll_time = 100, min_hours = minhours)
|
||||
var/mob/dead/observer/theghost = null
|
||||
|
||||
if(candidates.len)
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
// This bit is called when clicked in the stat panel
|
||||
/obj/effect/statclick/debug/Click()
|
||||
if(!usr.client.holder)
|
||||
if(!is_admin(usr))
|
||||
return
|
||||
|
||||
usr.client.debug_variables(target)
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
return .
|
||||
|
||||
/proc/key_name_admin(var/whom, var/include_name = 1)
|
||||
var/message = "[key_name(whom, 1, include_name)](<A HREF='?_src_=holder;adminmoreinfo=\ref[whom]'>?</A>)[isAntag(whom) ? "(A)" : ""][isLivingSSD(whom) ? "<span class='danger'>(SSD!)</span>" : ""] ([admin_jump_link(whom)])"
|
||||
var/message = "[key_name(whom, 1, include_name)](<A HREF='?_src_=holder;adminmoreinfo=\ref[whom]'>?</A>)[isAntag(whom) ? "<font color='red'>(A)</font>" : ""][isLivingSSD(whom) ? "<span class='danger'>(SSD!)</span>" : ""] ([admin_jump_link(whom)])"
|
||||
return message
|
||||
|
||||
/proc/log_and_message_admins(var/message as text)
|
||||
|
||||
@@ -358,19 +358,19 @@ var/global/datum/controller/occupations/job_master
|
||||
|
||||
Debug("DO, Running AC2")
|
||||
|
||||
// For those who wanted to be civilians if their preferences were filled, here you go.
|
||||
// Antags, who have to get in, come first
|
||||
for(var/mob/new_player/player in unassigned)
|
||||
if(player.mind.special_role)
|
||||
GiveRandomJob(player)
|
||||
if(player in unassigned)
|
||||
AssignRole(player, "Civilian")
|
||||
|
||||
// Then we assign what we can to everyone else.
|
||||
for(var/mob/new_player/player in unassigned)
|
||||
if(player.client.prefs.alternate_option == BE_ASSISTANT)
|
||||
Debug("AC2 Assistant located, Player: [player]")
|
||||
AssignRole(player, "Civilian")
|
||||
|
||||
for(var/mob/new_player/player in unassigned)
|
||||
if(player.mind.special_role)
|
||||
GiveRandomJob(player)
|
||||
|
||||
//For ones returning to lobby
|
||||
for(var/mob/new_player/player in unassigned)
|
||||
if(player.client.prefs.alternate_option == RETURN_TO_LOBBY)
|
||||
else if(player.client.prefs.alternate_option == RETURN_TO_LOBBY)
|
||||
player.ready = 0
|
||||
unassigned -= player
|
||||
return 1
|
||||
|
||||
@@ -106,9 +106,12 @@
|
||||
|
||||
|
||||
/client/proc/get_exp_living()
|
||||
return get_exp_format(get_exp_living_num())
|
||||
|
||||
/client/proc/get_exp_living_num()
|
||||
var/list/play_records = params2list(prefs.exp)
|
||||
var/exp_living = text2num(play_records[EXP_TYPE_LIVING])
|
||||
return get_exp_format(exp_living)
|
||||
return exp_living
|
||||
|
||||
/proc/get_exp_format(var/expnum)
|
||||
if(expnum > 60)
|
||||
|
||||
@@ -103,13 +103,12 @@
|
||||
if(drownee.losebreath > 20) //You've probably got bigger problems than drowning at this point, so we won't add to it until you get that under control.
|
||||
return
|
||||
|
||||
add_logs(src, drownee, "drowned", null, null, 0) //log it to their VV, but don't spam the admins' chats with the logs
|
||||
if(drownee.stat) //Mob is in critical.
|
||||
drownee.AdjustLoseBreath(3, bound_lower = 0, bound_upper = 20)
|
||||
add_logs(src, drownee, "drowned", null, null, 0) //log it to their VV, but don't spam the admins' chats with the logs
|
||||
drownee.visible_message("<span class='danger'>\The [drownee] appears to be drowning!</span>","<span class='userdanger'>You're quickly drowning!</span>") //inform them that they are fucked.
|
||||
else
|
||||
drownee.AdjustLoseBreath(2, bound_lower = 0, bound_upper = 20) //For every time you drown, you miss 2 breath attempts. Hope you catch on quick!
|
||||
add_logs(src, drownee, "drowned", null, null, 0) //log it to their VV, but don't spam the admins' chats with the logs
|
||||
if(prob(35)) //35% chance to tell them what is going on. They should probably figure it out before then.
|
||||
drownee.visible_message("<span class='danger'>\The [drownee] flails, almost like they are drowning!</span>","<span class='userdanger'>You're lacking air!</span>") //*gasp* *gasp* *gasp* *gasp* *gasp*
|
||||
|
||||
|
||||
@@ -25,6 +25,18 @@
|
||||
/turf/simulated/wall/rust,
|
||||
/turf/simulated/wall/r_wall/rust)
|
||||
smooth = SMOOTH_TRUE
|
||||
|
||||
/obj/structure/falsewall/New(loc)
|
||||
..()
|
||||
air_update_turf(1)
|
||||
|
||||
/obj/structure/falsewall/Destroy()
|
||||
density = 0
|
||||
air_update_turf(1)
|
||||
return ..()
|
||||
|
||||
/obj/structure/falsewall/CanAtmosPass(turf/T)
|
||||
return !density
|
||||
|
||||
/obj/structure/falsewall/attack_hand(mob/user)
|
||||
if(opening)
|
||||
@@ -47,6 +59,7 @@
|
||||
sleep(4)
|
||||
set_opacity(1)
|
||||
update_icon()
|
||||
air_update_turf(1)
|
||||
opening = 0
|
||||
|
||||
/obj/structure/falsewall/proc/do_the_flick()
|
||||
|
||||
@@ -18,11 +18,24 @@
|
||||
density = 1
|
||||
dir = EAST
|
||||
var/obj/structure/m_tray/connected = null
|
||||
var/list/status_descriptors = list(
|
||||
"The tray is currently extended.",
|
||||
"The tray is currently empty.",
|
||||
"The tray contains an unviable body.",
|
||||
"The tray contains a body that is responsive to revival techniques.",
|
||||
"The tray contains something that is not a body.",
|
||||
"The tray contains a body that might be responsive."
|
||||
)
|
||||
anchored = 1.0
|
||||
|
||||
/obj/structure/morgue/initialize()
|
||||
. = ..()
|
||||
update()
|
||||
|
||||
/obj/structure/morgue/proc/update()
|
||||
if(connected)
|
||||
icon_state = "morgue0"
|
||||
desc = initial(desc) + "\n[status_descriptors[1]]"
|
||||
else
|
||||
if(contents.len)
|
||||
|
||||
@@ -36,13 +49,21 @@
|
||||
|
||||
if(M.client)
|
||||
icon_state = "morgue3"
|
||||
desc = initial(desc) + "\n[status_descriptors[4]]"
|
||||
else if(G && G.client) //There is a ghost and it is connected to the server
|
||||
icon_state = "morgue5"
|
||||
desc = initial(desc) + "\n[status_descriptors[6]]"
|
||||
else
|
||||
icon_state = "morgue2"
|
||||
desc = initial(desc) + "\n[status_descriptors[3]]"
|
||||
|
||||
else icon_state = "morgue4"
|
||||
else icon_state = "morgue1"
|
||||
|
||||
else
|
||||
icon_state = "morgue4"
|
||||
desc = initial(desc) + "\n[status_descriptors[5]]"
|
||||
else
|
||||
icon_state = "morgue1"
|
||||
desc = initial(desc) + "\n[status_descriptors[2]]"
|
||||
return
|
||||
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ In all, this is a lot like the monkey code. /N
|
||||
visible_message("<span class='danger'>[M.name] bites [src]!</span>", \
|
||||
"<span class='userdanger'>[M.name] bites [src]!</span>")
|
||||
adjustBruteLoss(damage)
|
||||
add_logs(M, src, "attacked", admin=0)
|
||||
add_logs(M, src, "attacked", admin=0, print_attack_log = 0)
|
||||
updatehealth()
|
||||
else
|
||||
to_chat(M, "<span class='warning'>[name] is too injured for that.</span>")
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
"<span class='userdanger'>[M] [M.attacktext] [src]!</span>")
|
||||
var/damage = rand(M.melee_damage_lower, M.melee_damage_upper)
|
||||
adjustBruteLoss(damage)
|
||||
add_logs(M, src, "attacked", admin=0)
|
||||
add_logs(M, src, "attacked", admin=0, print_attack_log = 0)
|
||||
updatehealth()
|
||||
|
||||
|
||||
|
||||
@@ -805,10 +805,12 @@
|
||||
unEquip(pocket_item)
|
||||
if(thief_mode)
|
||||
usr.put_in_hands(pocket_item)
|
||||
add_logs(usr, src, "stripped", addition="of [pocket_item]", print_attack_log = isLivingSSD(src))
|
||||
else
|
||||
if(place_item)
|
||||
usr.unEquip(place_item)
|
||||
equip_to_slot_if_possible(place_item, pocket_id, 0, 1)
|
||||
add_logs(usr, src, "equipped", addition="with [pocket_item]", print_attack_log = isLivingSSD(src))
|
||||
|
||||
// Update strip window
|
||||
if(usr.machine == src && in_range(src, usr))
|
||||
@@ -817,6 +819,7 @@
|
||||
// Display a warning if the user mocks up if they don't have pickpocket gloves.
|
||||
if(!thief_mode)
|
||||
to_chat(src, "<span class='warning'>You feel your [pocket_side] pocket being fumbled with!</span>")
|
||||
add_logs(usr, src, "attempted to strip", addition="of [pocket_item]", print_attack_log = isLivingSSD(src))
|
||||
|
||||
if(href_list["set_sensor"])
|
||||
if(istype(w_uniform, /obj/item/clothing/under))
|
||||
|
||||
@@ -353,8 +353,7 @@ emp_act
|
||||
if(M)
|
||||
src.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been hit with a [I], thrown by [key_name(M)]</font>")
|
||||
M.attack_log += text("\[[time_stamp()]\] <font color='red'>Hit [key_name(src)] with a thrown [I]</font>")
|
||||
if(!istype(src,/mob/living/simple_animal/mouse))
|
||||
msg_admin_attack("[key_name_admin(src)] was hit by a [I], thrown by [key_name_admin(M)]")
|
||||
msg_admin_attack("[key_name_admin(src)] was hit by a [I], thrown by [key_name_admin(M)]", print_attack_log = I.throwforce)
|
||||
|
||||
//thrown weapon embedded object code.
|
||||
if(dtype == BRUTE && istype(I))
|
||||
|
||||
@@ -12,6 +12,4 @@
|
||||
KnockOut()
|
||||
else
|
||||
if(stat == UNCONSCIOUS)
|
||||
// updating=FALSE because `WakeUp` will handle canmove up for us
|
||||
StopResting(updating=FALSE)
|
||||
WakeUp()
|
||||
|
||||
@@ -650,7 +650,7 @@
|
||||
who.unEquip(what)
|
||||
if(silent)
|
||||
put_in_hands(what)
|
||||
add_logs(src, who, "stripped", addition="of [what]")
|
||||
add_logs(src, who, "stripped", addition="of [what]", print_attack_log = isLivingSSD(who))
|
||||
|
||||
// The src mob is trying to place an item on someone
|
||||
// Override if a certain mob should be behave differently when placing items (can't, for example)
|
||||
@@ -669,7 +669,7 @@
|
||||
if(what && Adjacent(who))
|
||||
unEquip(what)
|
||||
who.equip_to_slot_if_possible(what, where, 0, 1)
|
||||
add_logs(src, who, "equipped", what)
|
||||
add_logs(src, who, "equipped", what, print_attack_log = isLivingSSD(who))
|
||||
|
||||
|
||||
/mob/living/singularity_act()
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
else
|
||||
|
||||
step_away(src,M)
|
||||
add_logs(M.occupant, src, "pushed", object=M, admin=0)
|
||||
add_logs(M.occupant, src, "pushed", object=M, admin=0, print_attack_log = 0)
|
||||
M.occupant_message("<span class='warning'>You push [src] out of the way.</span>")
|
||||
visible_message("<span class='warning'>[M] pushes [src] out of the way.</span>")
|
||||
return
|
||||
|
||||
@@ -603,7 +603,7 @@ var/list/ai_verbs_default = list(
|
||||
if(M.attack_sound)
|
||||
playsound(loc, M.attack_sound, 50, 1, 1)
|
||||
visible_message("<span class='danger'><B>[M]</B> [M.attacktext] [src]!")
|
||||
add_logs(M, src, "attacked", admin=0)
|
||||
add_logs(M, src, "attacked", admin=0, print_attack_log = 0)
|
||||
var/damage = rand(M.melee_damage_lower, M.melee_damage_upper)
|
||||
adjustBruteLoss(damage)
|
||||
updatehealth()
|
||||
|
||||
@@ -920,7 +920,7 @@ var/list/robot_verbs_default = list(
|
||||
if(M.attack_sound)
|
||||
playsound(loc, M.attack_sound, 50, 1, 1)
|
||||
visible_message("<span class='danger'><B>[M]</B> [M.attacktext] [src]!</span>")
|
||||
add_logs(M, src, "attacked", admin=0)
|
||||
add_logs(M, src, "attacked", admin=0, print_attack_log = 0)
|
||||
var/damage = rand(M.melee_damage_lower, M.melee_damage_upper)
|
||||
switch(M.melee_damage_type)
|
||||
if(BRUTE)
|
||||
@@ -1467,4 +1467,4 @@ var/list/robot_verbs_default = list(
|
||||
borked_part.installed = 1
|
||||
borked_part.wrapped = new borked_part.external_type
|
||||
borked_part.heal_damage(brute,burn)
|
||||
borked_part.install()
|
||||
borked_part.install()
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
return
|
||||
apply_damage(M.melee_damage_upper, BRUTE)
|
||||
visible_message("<span class='userdanger'>[M] has [M.attacktext] [src]!</span>")
|
||||
add_logs(M, src, "attacked", admin=0)
|
||||
add_logs(M, src, "attacked", admin=0, print_attack_log = 0)
|
||||
if(prob(10))
|
||||
new /obj/effect/decal/cleanable/blood/oil(loc)
|
||||
|
||||
@@ -1010,4 +1010,4 @@ Pass a positive integer as an argument to override a bot's default speed.
|
||||
throw_alert("temp", /obj/screen/alert/cold/robot, 2)
|
||||
|
||||
/mob/living/simple_animal/bot/is_mechanical()
|
||||
return 1
|
||||
return 1
|
||||
|
||||
@@ -297,7 +297,7 @@
|
||||
playsound(loc, M.attack_sound, 50, 1, 1)
|
||||
visible_message("<span class='danger'>\The [M] [M.attacktext] [src]!</span>", \
|
||||
"<span class='userdanger'>\The [M] [M.attacktext] [src]!</span>")
|
||||
add_logs(M, src, "attacked", admin=0)
|
||||
add_logs(M, src, "attacked", admin=0, print_attack_log = 0)
|
||||
var/damage = rand(M.melee_damage_lower, M.melee_damage_upper)
|
||||
attack_threshold_check(damage,M.melee_damage_type)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
return 0
|
||||
else if(stat == UNCONSCIOUS)
|
||||
return 0
|
||||
add_logs(src, null, "fallen unconscious at [atom_loc_line(get_turf(src))]", admin=0)
|
||||
add_logs(src, null, "fallen unconscious at [atom_loc_line(get_turf(src))]", admin=0, print_attack_log = 0)
|
||||
stat = UNCONSCIOUS
|
||||
if(updating)
|
||||
// update_blind_effects()
|
||||
@@ -19,7 +19,7 @@
|
||||
return 0
|
||||
else if(stat == CONSCIOUS)
|
||||
return 0
|
||||
add_logs(src, null, "woken up at [atom_loc_line(get_turf(src))]", admin=0)
|
||||
add_logs(src, null, "woken up at [atom_loc_line(get_turf(src))]", admin=0, print_attack_log = 0)
|
||||
stat = CONSCIOUS
|
||||
if(updating)
|
||||
// update_blind_effects()
|
||||
@@ -40,7 +40,7 @@
|
||||
return
|
||||
if(!can_be_revived())
|
||||
return
|
||||
add_logs(src, null, "came back to life at [atom_loc_line(get_turf(src))]", admin=0)
|
||||
add_logs(src, null, "came back to life at [atom_loc_line(get_turf(src))]", admin=0, print_attack_log = 0)
|
||||
stat = CONSCIOUS
|
||||
dead_mob_list -= src
|
||||
living_mob_list += src
|
||||
|
||||
@@ -946,8 +946,7 @@ var/list/slot_equipment_priority = list( \
|
||||
add_spell_to_statpanel(S)
|
||||
|
||||
|
||||
if(client && client.holder)
|
||||
|
||||
if(is_admin(src))
|
||||
if(statpanel("DI")) //not looking at that panel
|
||||
stat("Loc", "([x], [y], [z]) [loc]")
|
||||
stat("CPU", "[world.cpu]")
|
||||
|
||||
@@ -2028,7 +2028,7 @@
|
||||
models_allowed = list("Xion Manufacturing Group alt.")
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo // Tattoos applied post-round startup with tattoo guns in item_defines.dm
|
||||
species_allowed = list("Human", "Unathi", "Grey", "Vulpkanin", "Tajaran", "Skrell")
|
||||
species_allowed = list("Human", "Unathi", "Vulpkanin", "Tajaran", "Skrell")
|
||||
icon_state = "accessory_none"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/elliot
|
||||
@@ -2053,6 +2053,25 @@
|
||||
name = "Nightling Tattoo"
|
||||
icon_state = "markings_tattoo_nightling"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/grey
|
||||
species_allowed = list("Grey")
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/grey/heart_grey
|
||||
name = "Grey Heart Tattoo"
|
||||
icon_state = "markings_tattoo_heart_grey"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/grey/hive_grey
|
||||
name = "Grey Hive Tattoo"
|
||||
icon_state = "markings_tattoo_hive_grey"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/grey/nightling_grey
|
||||
name = "Grey Nightling Tattoo"
|
||||
icon_state = "markings_tattoo_nightling_grey"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/grey/tiger_body_grey
|
||||
name = "Grey Tiger-stripe Tattoo"
|
||||
icon_state = "markings_tattoo_tiger_grey"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/vox
|
||||
species_allowed = list("Vox")
|
||||
|
||||
@@ -2068,6 +2087,10 @@
|
||||
name = "Vox Nightling Tattoo"
|
||||
icon_state = "markings_tattoo_nightling_vox"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tattoo/vox/tiger_body_vox
|
||||
name = "Vox Tiger-stripe Tattoo"
|
||||
icon_state = "markings_tattoo_tiger_vox"
|
||||
|
||||
/datum/sprite_accessory/body_markings/tail
|
||||
species_allowed = list()
|
||||
icon_state = "accessory_none"
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
var/forcedodge = 0 //to pass through everything
|
||||
var/dismemberment = 0 //The higher the number, the greater the bonus to dismembering. 0 will not dismember at all.
|
||||
|
||||
var/log = 1 //whether print to admin attack logs or just keep it in the diary
|
||||
|
||||
/obj/item/projectile/New()
|
||||
permutated = list()
|
||||
return ..()
|
||||
@@ -88,7 +90,7 @@
|
||||
for(var/datum/reagent/R in reagents.reagent_list)
|
||||
reagent_note += R.id + " ("
|
||||
reagent_note += num2text(R.volume) + ") "
|
||||
add_logs(firer, L, "shot", src, reagent_note)
|
||||
add_logs(firer, L, "shot", src, reagent_note, print_attack_log = log)
|
||||
return L.apply_effects(stun, weaken, paralyze, irradiate, slur, stutter, eyeblur, drowsy, blocked, stamina, jitter)
|
||||
|
||||
/obj/item/projectile/proc/vol_by_damage()
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
name = "practice laser"
|
||||
damage = 0
|
||||
nodamage = 1
|
||||
log = 0
|
||||
|
||||
/obj/item/projectile/beam/scatter
|
||||
name = "laser pellet"
|
||||
@@ -74,6 +75,7 @@
|
||||
damage_type = STAMINA
|
||||
flag = "laser"
|
||||
var/suit_types = list(/obj/item/clothing/suit/redtag, /obj/item/clothing/suit/bluetag)
|
||||
log = 0
|
||||
|
||||
/obj/item/projectile/beam/lasertag/on_hit(atom/target, blocked = 0)
|
||||
. = ..()
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
var/obj/item/weapon/pen/pen = null
|
||||
edge = 0
|
||||
embed = 0
|
||||
log = 0//it won't log even when there's a pen inside, but since the damage will be so low, I don't think there's any point in making it any more complex
|
||||
|
||||
/obj/item/projectile/bullet/reusable/foam_dart/handle_drop()
|
||||
if(dropped)
|
||||
@@ -64,3 +65,4 @@
|
||||
icon_state = "foamdart_riot"
|
||||
ammo_type = /obj/item/ammo_casing/caseless/foam_dart/riot
|
||||
stamina = 25
|
||||
log = 1
|
||||
|
||||
@@ -55,11 +55,45 @@
|
||||
|
||||
-->
|
||||
<div class="commit sansserif">
|
||||
<h2 class="date">09 January 2017</h2>
|
||||
<h3 class="author">Crazylemon64 updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="tweak">The operating table now checks for both either `lying` or `resting` - so surgery will work no matter what on unconscious people lying on your table.</li>
|
||||
</ul>
|
||||
<h3 class="author">Kyep updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">Antags should no longer get bounced to lobby at round start in certain rare situations.</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="date">07 January 2017</h2>
|
||||
<h3 class="author">Markolie updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">False walls now block atmospherics, unless it's open.</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="date">06 January 2017</h2>
|
||||
<h3 class="author">Crazylemon64 updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">pAI UIs no longer break</li>
|
||||
<li class="bugfix">The chem dispenser's UI now displays the remaining energy again</li>
|
||||
<li class="bugfix">Shuttles no longer make buckling useless</li>
|
||||
<li class="bugfix">You should no longer go mute randomly</li>
|
||||
<li class="tweak">You can now opt out of all requests on a role for a round</li>
|
||||
<li class="tweak">Morgue trays now have descriptions that correspond to each of the morgue light states</li>
|
||||
<li class="tweak">Waking up no longer auto-cancels resting.</li>
|
||||
</ul>
|
||||
<h3 class="author">Fethas updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="rscadd">ports parts TG neo-oldcult rscadd:Ports parts of cult from VG</li>
|
||||
</ul>
|
||||
<h3 class="author">KasparoVy updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">Grey sprites have been tidied up and no longer have any random pixels hanging off.</li>
|
||||
<li class="rscadd">Grey species-fitted tattoo sprites and the last Vox species-fitted tattoo sprite.</li>
|
||||
</ul>
|
||||
<h3 class="author">Krausus updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">SDQL2 can now directly manipulate clients.</li>
|
||||
</ul>
|
||||
<h3 class="author">Kyep updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
|
||||
@@ -3262,6 +3262,31 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
|
||||
Crazylemon64:
|
||||
- bugfix: pAI UIs no longer break
|
||||
- bugfix: The chem dispenser's UI now displays the remaining energy again
|
||||
- bugfix: Shuttles no longer make buckling useless
|
||||
- bugfix: You should no longer go mute randomly
|
||||
- tweak: You can now opt out of all requests on a role for a round
|
||||
- tweak: Morgue trays now have descriptions that correspond to each of the morgue
|
||||
light states
|
||||
- tweak: Waking up no longer auto-cancels resting.
|
||||
Fethas:
|
||||
- rscadd: ports parts TG neo-oldcult rscadd:Ports parts of cult from VG
|
||||
KasparoVy:
|
||||
- bugfix: Grey sprites have been tidied up and no longer have any random pixels
|
||||
hanging off.
|
||||
- rscadd: Grey species-fitted tattoo sprites and the last Vox species-fitted tattoo
|
||||
sprite.
|
||||
Krausus:
|
||||
- bugfix: SDQL2 can now directly manipulate clients.
|
||||
Kyep:
|
||||
- bugfix: Mobs in vents no longer see vents/scrubbers as unwelded when they are
|
||||
welded, and vice versa.
|
||||
2017-01-07:
|
||||
Markolie:
|
||||
- bugfix: False walls now block atmospherics, unless it's open.
|
||||
2017-01-09:
|
||||
Crazylemon64:
|
||||
- tweak: The operating table now checks for both either `lying` or `resting` - so
|
||||
surgery will work no matter what on unconscious people lying on your table.
|
||||
Kyep:
|
||||
- bugfix: Antags should no longer get bounced to lobby at round start in certain
|
||||
rare situations.
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
author: "Fethas"
|
||||
delete-after: True
|
||||
changes:
|
||||
- rscadd: "ports parts TG neo-oldcult
|
||||
rscadd:Ports parts of cult from VG"
|
||||
@@ -1,4 +0,0 @@
|
||||
author: "Crazylemon64"
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "Shuttles no longer make buckling useless"
|
||||
@@ -1,4 +0,0 @@
|
||||
author: "Krausus"
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "SDQL2 can now directly manipulate clients."
|
||||
@@ -1,4 +0,0 @@
|
||||
author: "Crazylemon64"
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "You should no longer go mute randomly"
|
||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 8.4 KiB |