[MIRROR] Refactor caltrop component into element (#2651)

* Refactor caltrop component into element

* Delete caltrop.dm

* Update caltrop.dm

Co-authored-by: coiax <jack@billbuddy.co.uk>
Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
SkyratBot
2021-01-12 02:06:53 +01:00
committed by GitHub
co-authored by coiax Azarak
parent 838dd81c58
commit 7361de863c
11 changed files with 115 additions and 86 deletions
+1 -2
View File
@@ -144,8 +144,7 @@
/obj/structure/flora/ash/cacti/Initialize(mapload)
. = ..()
// min dmg 3, max dmg 6, prob(70)
AddComponent(/datum/component/caltrop, 3, 6, 70)
AddElement(/datum/element/caltrop, min_damage = 3, max_damage = 6, probability = 70)
///Snow flora to exist on icebox.
/obj/structure/flora/ash/chilly