mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-26 22:26:28 +01:00
Basic setup for the frequency modifier thing.
Alterable Items - Airlocks - Buttons - Ignighters - Air Injecters - Mass Drivers - Convayor belts - Shutters - Wall mounted flashers External Airlocks like the ones at the solars are going to take a little more setup to get working as there are 7 things that need changing. Bluespace Techs spawn with one in their bag. Gravity no longer spams SoundScopes wil messages
This commit is contained in:
@@ -206,12 +206,14 @@
|
||||
if(!mob.lastarea)
|
||||
mob.lastarea = get_area(mob.loc)
|
||||
|
||||
if(mob.floating && mob.mob_has_gravity(mob.loc))
|
||||
mob.float(0)
|
||||
else if(!mob.floating && !mob.mob_has_gravity(mob.loc))
|
||||
mob.float(1)
|
||||
|
||||
if((istype(mob.loc, /turf/space)) || (mob.lastarea.has_gravity == 0))
|
||||
if(!mob.Process_Spacemove(0)) return 0
|
||||
|
||||
if(mob.floating & mob.mob_has_gravity(mob.loc))
|
||||
mob.float(0)
|
||||
|
||||
if(isobj(mob.loc) || ismob(mob.loc))//Inside an object, tell it we moved
|
||||
var/atom/O = mob.loc
|
||||
return O.relaymove(mob, direct)
|
||||
@@ -445,8 +447,6 @@
|
||||
return 0
|
||||
//If not then we can reset inertia and move
|
||||
inertia_dir = 0
|
||||
if(!floating)
|
||||
src.float(1)
|
||||
return 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user