[quote=“CIB, post:17, topic:4629”]So I’ve got some of the basics to do this in lua implemented. PR is up: https://github.com/CleverRaven/Cataclysm-DDA/pull/5296
With this I’ve implemented a simple revive iuse in lua. It still lacks being able to select where to revive(sorta like the lighter), as well as some sort of restriction, but it’s a solid enough proof of concept.
function resurrect_zombie_iuse(item, active)
-- get a list of items at the user's position
items = game.items_at(player.posx, player.posy)
-- iterate over the item stack
for i=1,#items do
item = items[i]
item_type = game.item_type(item)
-- check if it's a corpse we can revive
if item_type.id == "corpse" then
-- the index of the item in the stack is i-1 and not i,
-- because lua starts counting from 1 whereas C++ starts
-- counting from 0
stack_index = i - 1
game.revive_corpse(player.posx, player.posy, stack_index)
-- okay, now that we have revived it, make it friendly please!
local monster = game.monster_at(player.posx, player.posy)
monster:make_friendly()
break
end
end
end
{ "id":"resurrect",
"type": "TOOL",
"symbol": ",",
"color": "blue",
"name": "resurrect",
"description": "Stand over a corpse and apply this tool to get a fresh zombie.",
"price": 35,
"material": "plastic",
"weight": 14,
"volume": 0,
"bashing": 0,
"cutting": 0,
"to_hit": 0,
"max_charges": 10,
"initial_charges": 10,
"charges_per_use": 1,
"turns_per_charge": 50,
"ammo": "NULL",
"revert_to": "null",
"use_action": "RESURRECT"
},
[/quote]
I cannot express how awesome that is too me 
Well i think not knowing how your minions are doing may be a good thing. It makes the game feel more… organic shall we say.
Imagine sending your minions too fight a horde while you go loot a building, only to emerge too see your minions dead and a horde of hungry hungry zombies coming towards you!