mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-13 16:13:49 +01:00
Implements suggestions from github
- qdel() instead of del() - z in config.station_levels insted of z == 1 - Typo fix - Playercount is now 2 instead of 1 which was debug setting - AI is now properly deleted when struck by very strong explosion (heavy impact). - Hardware now properly uses install(). Hardware list is generated from existing datums using typesof()
This commit is contained in:
@@ -693,6 +693,12 @@ var/list/ai_verbs_default = list(
|
||||
return istype(loc, /turf)
|
||||
|
||||
|
||||
/mob/living/silicon/ai/ex_act(var/severity)
|
||||
if(severity == 1.0)
|
||||
qdel(src)
|
||||
return
|
||||
..()
|
||||
|
||||
// NEWMALF FUNCTIONS/PROCEDURES
|
||||
|
||||
// Sets up malfunction-related variables, research system and such.
|
||||
@@ -757,7 +763,7 @@ var/list/ai_verbs_default = list(
|
||||
|
||||
// Off-Station APCs should not count towards CPU generation.
|
||||
for(var/obj/machinery/power/apc/A in hacked_apcs)
|
||||
if(A.z == 1)
|
||||
if(A.z in config.station_levels)
|
||||
cpu_gain += 0.002
|
||||
cpu_storage += 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user