Cult offer puts shard in hands instead of dropping on the floor (#24280)

* shards put in hands

* Update code/game/gamemodes/cult/runes.dm

Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>

---------

Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
This commit is contained in:
HMBGERDO
2024-03-07 09:32:36 +00:00
committed by GitHub
co-authored by 1080pCat
parent 14baa57030
commit 1d09c090ab
+3
View File
@@ -425,6 +425,9 @@ structure_check() searches for nearby cultist structures required for the invoca
stone.invisibility = INVISIBILITY_MAXIMUM // So it's not picked up during transfer_soul()
stone.transfer_soul("FORCE", offering, user) // If it cannot be added
stone.invisibility = 0
var/put_in_hands = user.put_in_any_hand_if_possible(stone)
if(put_in_hands)
to_chat(user, "<span class='cultitalic'>A glowing crimson shard appears in your hand - your new ally contained within.</span>")
else
if(isrobot(offering))
offering.dust() //To prevent the MMI from remaining