Merge pull request #7621 from VOREStation/upstream-merge-7057

[MIRROR] Allows robots to search loot piles
This commit is contained in:
Novacat
2020-05-03 21:43:14 -04:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -40,6 +40,10 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh
var/list/uncommon_loot = list() // Uncommon is actually maybe some useful items, usually the reason someone bothers looking inside.
var/list/rare_loot = list() // Rare is really powerful, or at least unique items.
/obj/structure/loot_pile/attack_ai(var/mob/user)
if(isrobot(user) && Adjacent(user))
return attack_hand(user)
/obj/structure/loot_pile/attack_hand(mob/user)
//Human mob
if(isliving(user))

View File

@@ -0,0 +1,6 @@
author: atlantiscze
delete-after: True
changes:
- rscadd: "Robots can now search loot piles."