mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
Merge branch 'master' into development
This commit is contained in:
@@ -292,7 +292,7 @@ var/list/accessible_z_levels = list("8" = 5, "9" = 10, "7" = 15, "2" = 60)
|
|||||||
moved_event.raise_event(src, old_loc, loc)
|
moved_event.raise_event(src, old_loc, loc)
|
||||||
|
|
||||||
// Parallax.
|
// Parallax.
|
||||||
update_client_hook()
|
update_client_hook(loc)
|
||||||
|
|
||||||
// Lighting.
|
// Lighting.
|
||||||
var/datum/light_source/L
|
var/datum/light_source/L
|
||||||
|
|||||||
@@ -345,8 +345,9 @@
|
|||||||
var/mob/M = G:affecting
|
var/mob/M = G:affecting
|
||||||
|
|
||||||
if(M.client)
|
if(M.client)
|
||||||
|
var/originalloc = M.loc
|
||||||
if(alert(M,"Would you like to enter long-term storage?",,"Yes","No") == "Yes")
|
if(alert(M,"Would you like to enter long-term storage?",,"Yes","No") == "Yes")
|
||||||
if(!M || !G || !G:affecting) return
|
if(!M || !G || !G:affecting || M.loc != originalloc) return
|
||||||
willing = 1
|
willing = 1
|
||||||
else
|
else
|
||||||
willing = 1
|
willing = 1
|
||||||
@@ -400,8 +401,9 @@
|
|||||||
var/willing = null //We don't want to allow people to be forced into despawning.
|
var/willing = null //We don't want to allow people to be forced into despawning.
|
||||||
|
|
||||||
if(L.client)
|
if(L.client)
|
||||||
|
var/originalloc = L.loc
|
||||||
if(alert(L,"Would you like to enter stasis?",,"Yes","No") == "Yes")
|
if(alert(L,"Would you like to enter stasis?",,"Yes","No") == "Yes")
|
||||||
if(!L) return
|
if(!L || L.loc != originalloc) return
|
||||||
willing = 1
|
willing = 1
|
||||||
else
|
else
|
||||||
willing = 1
|
willing = 1
|
||||||
|
|||||||
@@ -68,7 +68,12 @@
|
|||||||
/obj/item/weapon/pen/crayon/afterattack(atom/target, mob/user as mob, proximity)
|
/obj/item/weapon/pen/crayon/afterattack(atom/target, mob/user as mob, proximity)
|
||||||
if(!proximity) return
|
if(!proximity) return
|
||||||
if(istype(target,/turf/simulated/floor))
|
if(istype(target,/turf/simulated/floor))
|
||||||
|
var/originaloc = user.loc
|
||||||
var/drawtype = input("Choose what you'd like to draw.", "Crayon scribbles") in list("graffiti","rune","letter","arrow")
|
var/drawtype = input("Choose what you'd like to draw.", "Crayon scribbles") in list("graffiti","rune","letter","arrow")
|
||||||
|
if (user.loc != originaloc)
|
||||||
|
user << "<span class='notice'>You moved!</span>"
|
||||||
|
return
|
||||||
|
|
||||||
switch(drawtype)
|
switch(drawtype)
|
||||||
if("letter")
|
if("letter")
|
||||||
drawtype = input("Choose the letter.", "Crayon scribbles") in list("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")
|
drawtype = input("Choose the letter.", "Crayon scribbles") in list("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")
|
||||||
|
|||||||
@@ -163,3 +163,39 @@
|
|||||||
|
|
||||||
/datum/light_source/novis/update_angle()
|
/datum/light_source/novis/update_angle()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
#define QUEUE_UPDATE(level) \
|
||||||
|
var/_should_update = needs_update == LIGHTING_NO_UPDATE; \
|
||||||
|
if (needs_update < level) { \
|
||||||
|
needs_update = level; \
|
||||||
|
} \
|
||||||
|
if (_should_update) { \
|
||||||
|
SSlighting.light_queue += src; \
|
||||||
|
}
|
||||||
|
|
||||||
|
/datum/light_source/novis/update(atom/new_top_atom)
|
||||||
|
// This top atom is different.
|
||||||
|
if (new_top_atom && new_top_atom != top_atom)
|
||||||
|
if(top_atom != source_atom) // Remove ourselves from the light sources of that top atom.
|
||||||
|
LAZYREMOVE(top_atom.light_sources, src)
|
||||||
|
|
||||||
|
top_atom = new_top_atom
|
||||||
|
|
||||||
|
if (top_atom != source_atom)
|
||||||
|
if(!top_atom.light_sources)
|
||||||
|
top_atom.light_sources = list()
|
||||||
|
|
||||||
|
top_atom.light_sources += src // Add ourselves to the light sources of our new top atom.
|
||||||
|
|
||||||
|
//L_PROF(source_atom, "source_update")
|
||||||
|
|
||||||
|
QUEUE_UPDATE(LIGHTING_CHECK_UPDATE)
|
||||||
|
|
||||||
|
/datum/light_source/novis/force_update()
|
||||||
|
QUEUE_UPDATE(LIGHTING_FORCE_UPDATE)
|
||||||
|
|
||||||
|
/datum/light_source/novis/vis_update()
|
||||||
|
QUEUE_UPDATE(LIGHTING_VIS_UPDATE)
|
||||||
|
|
||||||
|
|
||||||
|
#undef QUEUE_UPDATE
|
||||||
|
|||||||
@@ -1082,7 +1082,6 @@ var/list/total_extraction_beacons = list()
|
|||||||
force = 10
|
force = 10
|
||||||
throwforce = 5
|
throwforce = 5
|
||||||
origin_tech = list(TECH_MAGNET = 4, TECH_ENGINEERING = 3)
|
origin_tech = list(TECH_MAGNET = 4, TECH_ENGINEERING = 3)
|
||||||
var/currently_pulling = FALSE
|
|
||||||
|
|
||||||
/obj/item/weapon/oremagnet/attack_self(mob/user)
|
/obj/item/weapon/oremagnet/attack_self(mob/user)
|
||||||
if (use_check(user))
|
if (use_check(user))
|
||||||
@@ -1092,22 +1091,13 @@ var/list/total_extraction_beacons = list()
|
|||||||
toggle_on(user)
|
toggle_on(user)
|
||||||
|
|
||||||
/obj/item/weapon/oremagnet/process()
|
/obj/item/weapon/oremagnet/process()
|
||||||
set waitfor = FALSE
|
for(var/obj/item/weapon/ore/O in oview(7, loc))
|
||||||
|
|
||||||
if (currently_pulling)
|
|
||||||
return
|
|
||||||
|
|
||||||
currently_pulling = TRUE
|
|
||||||
|
|
||||||
for(var/obj/item/weapon/ore/O in oview(7,src.loc))
|
|
||||||
if(prob(80))
|
if(prob(80))
|
||||||
step_to(O, src.loc, 0)
|
step_to(O, src.loc, 0)
|
||||||
|
|
||||||
if (TICK_CHECK && QDELING(src))
|
if (TICK_CHECK)
|
||||||
return
|
return
|
||||||
|
|
||||||
currently_pulling = FALSE
|
|
||||||
|
|
||||||
/obj/item/weapon/oremagnet/proc/toggle_on(mob/user)
|
/obj/item/weapon/oremagnet/proc/toggle_on(mob/user)
|
||||||
if (!isprocessing)
|
if (!isprocessing)
|
||||||
START_PROCESSING(SSprocessing, src)
|
START_PROCESSING(SSprocessing, src)
|
||||||
@@ -1141,6 +1131,9 @@ var/list/total_extraction_beacons = list()
|
|||||||
single_spark(O.loc)
|
single_spark(O.loc)
|
||||||
do_teleport(O, user, 0)
|
do_teleport(O, user, 0)
|
||||||
|
|
||||||
|
if (TICK_CHECK)
|
||||||
|
return
|
||||||
|
|
||||||
/******************************Sculpting*******************************/
|
/******************************Sculpting*******************************/
|
||||||
/obj/item/weapon/autochisel
|
/obj/item/weapon/autochisel
|
||||||
name = "auto-chisel"
|
name = "auto-chisel"
|
||||||
|
|||||||
@@ -56,6 +56,14 @@
|
|||||||
-->
|
-->
|
||||||
<div class="commit sansserif">
|
<div class="commit sansserif">
|
||||||
|
|
||||||
|
<h2 class="date">13 August 2017</h2>
|
||||||
|
<h3 class="author">Lohikar updated:</h3>
|
||||||
|
<ul class="changes bgimages16">
|
||||||
|
<li class="bugfix">Crayons now have range sanity checks.</li>
|
||||||
|
<li class="bugfix">Cryopods no longer act as impromptu teleportation devices.</li>
|
||||||
|
<li class="bugfix">Fixed a bug which caused space parallax to always be static, regardless of preferences.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h2 class="date">07 August 2017</h2>
|
<h2 class="date">07 August 2017</h2>
|
||||||
<h3 class="author">Lohikar updated:</h3>
|
<h3 class="author">Lohikar updated:</h3>
|
||||||
<ul class="changes bgimages16">
|
<ul class="changes bgimages16">
|
||||||
|
|||||||
@@ -4524,3 +4524,9 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
|
|||||||
Lohikar:
|
Lohikar:
|
||||||
- bugfix: Fixed a visual inconsistency where airlock hatches & maint panel overlays
|
- bugfix: Fixed a visual inconsistency where airlock hatches & maint panel overlays
|
||||||
would draw over the opening animation when they shouldn't have.
|
would draw over the opening animation when they shouldn't have.
|
||||||
|
2017-08-13:
|
||||||
|
Lohikar:
|
||||||
|
- bugfix: Crayons now have range sanity checks.
|
||||||
|
- bugfix: Cryopods no longer act as impromptu teleportation devices.
|
||||||
|
- bugfix: Fixed a bug which caused space parallax to always be static, regardless
|
||||||
|
of preferences.
|
||||||
|
|||||||
Reference in New Issue
Block a user