Fixes runtime with ridable element and adds unit test for bespoke elements (#26111)

* fixes bespoke elements with default indexes, adds unit test for detecting this

* lewc review
This commit is contained in:
chuga-git
2024-07-02 20:25:00 +00:00
committed by GitHub
parent e8eabf3014
commit e4f2f8be80
4 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
*/
/datum/element/shatters_when_thrown
element_flags = ELEMENT_BESPOKE
id_arg_index = 2
/// What type of item is spawned as a 'shard' once the shattering happens
var/obj/item/shard_type
/// How many shards total are made when the thing we're attached to shatters