12/21 modernizations from TG live (#103)
* sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes
This commit is contained in:
@@ -2,11 +2,8 @@
|
||||
icon = 'icons/turf/space.dmi'
|
||||
icon_state = "0"
|
||||
name = "\proper space"
|
||||
desc = "A vast, cold, and lonely place."
|
||||
intact = 0
|
||||
|
||||
plane = PLANE_SPACE_BACKGROUND
|
||||
|
||||
temperature = TCMB
|
||||
thermal_conductivity = OPEN_HEAT_TRANSFER_COEFFICIENT
|
||||
heat_capacity = 700000
|
||||
@@ -16,18 +13,11 @@
|
||||
var/destination_y
|
||||
|
||||
var/global/datum/gas_mixture/space/space_gas = new
|
||||
light_power = 0.25
|
||||
dynamic_lighting = DYNAMIC_LIGHTING_DISABLED
|
||||
|
||||
plane = PLANE_SPACE
|
||||
|
||||
/turf/open/space/New()
|
||||
update_icon()
|
||||
icon_state = SPACE_ICON_STATE
|
||||
air = space_gas
|
||||
var/image/I = image('icons/turf/space_parallax1.dmi',"[icon_state]")
|
||||
I.plane = PLANE_SPACE_DUST
|
||||
I.alpha = 80
|
||||
I.blend_mode = BLEND_ADD
|
||||
overlays += I
|
||||
|
||||
/turf/open/space/Destroy(force)
|
||||
if(force)
|
||||
@@ -48,9 +38,12 @@
|
||||
|
||||
/turf/open/space/TakeTemperature(temp)
|
||||
|
||||
/turf/open/space/RemoveLattice()
|
||||
return
|
||||
|
||||
/turf/open/space/AfterChange()
|
||||
..()
|
||||
atmos_overlay_types.Cut()
|
||||
atmos_overlay_types = null
|
||||
|
||||
/turf/open/space/Assimilate_Air()
|
||||
return
|
||||
@@ -58,12 +51,13 @@
|
||||
/turf/open/space/proc/update_starlight()
|
||||
if(config.starlight)
|
||||
for(var/t in RANGE_TURFS(1,src)) //RANGE_TURFS is in code\__HELPERS\game.dm
|
||||
if(istype(t, /turf/open/space))
|
||||
if(isspaceturf(t))
|
||||
//let's NOT update this that much pls
|
||||
continue
|
||||
set_light(2)
|
||||
SetLuminosity(4,5)
|
||||
light.mode = LIGHTING_STARLIGHT
|
||||
return
|
||||
set_light(0)
|
||||
SetLuminosity(0)
|
||||
|
||||
/turf/open/space/attack_paw(mob/user)
|
||||
return src.attack_hand(user)
|
||||
@@ -175,5 +169,10 @@
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/turf/open/space/proc/update_icon()
|
||||
icon_state = SPACE_ICON_STATE
|
||||
/turf/open/space/is_transition_turf()
|
||||
if(destination_x || destination_y || destination_z)
|
||||
return 1
|
||||
|
||||
|
||||
/turf/open/space/acid_act(acidpwr, acid_volume)
|
||||
return 0
|
||||
@@ -2,13 +2,28 @@
|
||||
icon_state = "black"
|
||||
dir = SOUTH
|
||||
baseturf = /turf/open/space/transit
|
||||
plane = PLANE_TURF
|
||||
flags = NOJAUNT //This line goes out to every wizard that ever managed to escape the den. I'm sorry.
|
||||
|
||||
/turf/open/space/transit/south
|
||||
dir = SOUTH
|
||||
|
||||
/turf/open/space/transit/north
|
||||
dir = NORTH
|
||||
|
||||
/turf/open/space/transit/horizontal
|
||||
dir = WEST
|
||||
|
||||
/turf/open/space/transit/west
|
||||
dir = WEST
|
||||
|
||||
/turf/open/space/transit/east
|
||||
dir = EAST
|
||||
|
||||
/turf/open/space/transit/Entered(atom/movable/AM, atom/OldLoc)
|
||||
if(!AM)
|
||||
throw_atom(AM)
|
||||
|
||||
/turf/open/space/transit/proc/throw_atom(atom/movable/AM)
|
||||
if(!AM || istype(AM, /obj/docking_port))
|
||||
return
|
||||
var/max = world.maxx-TRANSITIONEDGE
|
||||
var/min = 1+TRANSITIONEDGE
|
||||
@@ -42,18 +57,19 @@
|
||||
AM.loc = T
|
||||
AM.newtonian_move(dir)
|
||||
|
||||
|
||||
|
||||
|
||||
//Overwrite because we dont want people building rods in space.
|
||||
/turf/open/space/transit/attackby()
|
||||
return
|
||||
|
||||
/turf/open/space/transit/New()
|
||||
update_icon()
|
||||
..()
|
||||
update_icon()
|
||||
for(var/atom/movable/AM in src)
|
||||
throw_atom(AM)
|
||||
|
||||
/turf/open/space/transit/update_icon()
|
||||
|
||||
|
||||
/turf/open/space/transit/proc/update_icon()
|
||||
var/p = 9
|
||||
var/angle = 0
|
||||
var/state = 1
|
||||
|
||||
Reference in New Issue
Block a user