Fancy exploration shuttle

This commit is contained in:
Chompstation Bot
2021-08-08 18:48:28 +00:00
parent 949daef5b1
commit ee735270ec
11 changed files with 1738 additions and 1533 deletions
+5
View File
@@ -300,6 +300,11 @@
if(D.density)
ai_log("destroy_surroundings() : Attacking closed door.", AI_LOG_INFO)
return melee_attack(D)
// Should always be last thing attempted
if(!problem_turf.opacity)
ai_log("destroy_surroundings() : Attacking a transparent (window?) turf.", AI_LOG_INFO)
return melee_attack(problem_turf)
ai_log("destroy_surroundings() : Exiting due to nothing to attack.", AI_LOG_INFO)
return ATTACK_FAILED // Nothing to attack.