mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Allows robots to search loot piles (#7057)
* Allows robots to search loot piles * Implements feedback
This commit is contained in:
@@ -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))
|
||||
|
||||
6
html/changelogs/atlantiscze-dumpsterdive.yml
Normal file
6
html/changelogs/atlantiscze-dumpsterdive.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
author: atlantiscze
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Robots can now search loot piles."
|
||||
Reference in New Issue
Block a user