The ressurect token seems to only work on things with the reviving tag, and converts them to the faction of the user, be it a zombie or doom monster or a triffid.
Consider creating zombies specifically for demonic areas?
I want a soulsphere/cube. Eventually.
Here you go:
Item codes:
{
"id": "broken_soulcube",
"type": "TOOL",
"symbol": ",",
"color": "white",
"name": "glowing soulcube",
"description": "An unknown cube-shaped device of obviously alien origin, it's purpose is unknown.",
"price": 1000000,
"material": "diamond",
"weight": 1000,
"volume": 2,
"bashing": 6,
"cutting": 6,
"to_hit": -3,
"ammo": "NULL",
"flags": "LIGHT_50",
"use_action": {
"type": "transform",
"target": "soulcube_on",
"active": true,
"target_charges": 4,
"msg": "The glow transfers over to you, healing your wounds!"
}
},
{
"id": "soulcube_on",
"type": "TOOL",
"symbol": ",",
"color": "white",
"name": "healing soulcube",
"description": "An unknown cube-shaped device of obviously alien origin, it's purpose is unknown.",
"price": 1000000,
"material": "diamond",
"weight": 1000,
"volume": 2,
"bashing": 6,
"cutting": 6,
"to_hit": -3,
"max_charges": 4,
"initial_charges": 4,
"charges_per_use": 0,
"turns_per_charge": 1,
"ammo": "NULL",
"revert_to": "soulcube_charging",
"use_action" : "ARTIFACT",
"artifact_data" : {
"effects_activated": ["AEA_HEAL"]
}
},
{
"id": "soulcube_charging",
"type": "TOOL",
"symbol": ",",
"color": "white",
"name": "recharging soulcube",
"description": "An unknown cube-shaped device of obviously alien origin, it's purpose is unknown.",
"price": 1000000,
"material": "diamond",
"weight": 1000,
"volume": 2,
"bashing": 6,
"cutting": 6,
"to_hit": -3,
"ammo": "NULL",
"use_action": {
"type": "delayed_transform",
"transform_age": 2400, "//": "4 hours",
"not_ready_msg": "You fiddle with the cube, but nothing happens.",
"msg": "\"USE US.\"",
"moves": 0,
"target": "soulcube"
}
},
{
"id": "soulcube",
"type": "TOOL",
"symbol": ",",
"color": "white",
"name": "soulcube",
"description": "An unknown cube-shaped device of obviously alien origin, it's purpose is unknown.",
"price": 1000000,
"material": "diamond",
"weight": 1000,
"volume": 2,
"bashing": 6,
"cutting": 6,
"to_hit": -3,
"use_action": {
"type": "place_monster",
"monster_id": "mon_soulcube",
"difficulty": 0,
"skill1": "survival",
"place_randomly": true,
"hostile_msg": "Oh, it's hostile. That's probably not supposed to happen.",
"friendly_msg": "As you fiddle with the cube, it flies from your hands!",
"moves": 50
}
},
{
"id": "soulbomb",
"type": "TOOL",
"symbol": "*",
"color": "white",
"name": "soulbomb",
"description": "Haaaaaaaaaaaaaaaaaaaaaaaaaaax!",
"price": 0,
"material": ["diamond"],
"weight": 236,
"volume": 1,
"bashing": 5,
"to_hit": -1,
"flags": ["BOMB"],
"category": "weapons",
"use_action": {
"type": "transform",
"target": "soulbomb_on",
"target_charges": 3,
"active": true,
"msg": "A computer monitor flies towards you at extreme speed!"
}
},
{
"id": "soulbomb_on",
"type": "TOOL",
"symbol": "*",
"color": "white",
"name": "active soulbomb",
"description": "Haaaaaaaaaaaaaaaaaaaaaaaaaaax!",
"price": 0,
"material": ["diamond"],
"weight": 236,
"volume": 1,
"bashing": 5,
"to_hit": -1,
"max_charges": 1,
"initial_charges": 1,
"turns_per_charge": 1,
"category": "weapons",
"use_action": {
"type": "explosion",
"sound_volume": 0,
"sound_msg": "Tick.",
"no_deactivate_msg": "You try to turn it off, but it just turns right back on.",
"fields_radius": 4,
"fields_type": "fd_laser",
"fields_min_density": 3,
"fields_max_density": 3,
"explosion": {
"power": 20,
"shrapnel": 50
}
}
}
Monster entry:
,
{
"type" : "MONSTER",
"id" : "mon_soulcube",
"name": "soul cube",
"species":"ROBOT",
"default_faction":"player",
"symbol":"e",
"color":"white",
"size":"TINY",
"material":"diamond",
"diff":10,
"aggression":100,
"morale":100,
"speed":250,
"melee_skill":0,
"melee_dice":0,
"melee_dice_sides":0,
"melee_cut":0,
"dodge":10,
"armor_bash":0,
"armor_cut":4,
"vision_day":50,
"vision_night":50,
"revert_to_itype": "soulcube",
"special_attacks":[["KAMIKAZE", 0]],
"starting_ammo": { "soulbomb": 1},
"luminance":100,
"hp":50,
"death_function":"BROKEN_AMMO",
"description":"An unknown cube-shaped device of obviously alien origin, it flies forth with singular purpose.",
"flags":["SEES", "FLIES", "NOHEAD", "NO_BREATHE", "INTERIOR_AMMO"]
}
It functions like Doom 3’s Soul Cube, except the recharge thing as making it absorb demonic souls is a bit tricky.
Essentially, a reusable grenade hack, that when picked up, can be used to restore 5hp on all parts over 5 turns, and then takes 4 hours to recharge.
Explosive damage is a bit hard to balance as explosion size is directly related to explosion strength.
That’s pretty easy to solve by not giving them infinite ammo, perhaps 21 souls each, as a callback to the old Doom limit.