mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 04:02:31 +00:00
Part two of the objective system. Also fixed up AIs on the shuttle, bug #747, and interacting with windows.
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
src.see_in_dark = 0
|
||||
src.see_invisible = 0
|
||||
|
||||
if (((!loc.master.power_equip) || istype(T, /turf/space)) && !istype(src.loc,/obj/item))
|
||||
if (((!loc.master.power_equip) || istype(T, /turf/space)) && !istype(src.loc,/obj/item) && !istype(get_area(src), /area/shuttle))
|
||||
if (src:aiRestorePowerRoutine==0)
|
||||
src:aiRestorePowerRoutine = 1
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
else // Any other
|
||||
A.yo = -20
|
||||
A.xo = 0
|
||||
A.process()
|
||||
A.fired()
|
||||
|
||||
|
||||
attackby(obj/item/W, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user