mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
Waddle / Animated Movement component (#17675)
* Adds waddle component * waddle * moved to tgui and spans * Update waddle.dm * proc name * Waddling toggle trait! --------- Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
This commit is contained in:
co-authored by
ShadowLarkens
parent
a16e6c20f9
commit
4bcfffe44b
@@ -1677,3 +1677,18 @@
|
||||
/datum/trait/neutral/autohiss_tajaran/xenochimera,
|
||||
/datum/trait/neutral/autohiss_zaddat/xenochimera,
|
||||
/datum/trait/neutral/autohiss_vassilian/xenochimera)
|
||||
|
||||
/datum/trait/neutral/waddle
|
||||
name = "Waddle / Animated Movement (Adjustable)"
|
||||
desc = "You move with a waddle or otherwise animated movement! Has adjustable settings with more adjustments able to be made in game!"
|
||||
cost = 0
|
||||
custom_only = FALSE
|
||||
is_genetrait = TRUE
|
||||
hidden = FALSE
|
||||
has_preferences = list("waddler" = list(TRAIT_PREF_TYPE_BOOLEAN, "Waddle on Spawn", TRAIT_NO_VAREDIT_TARGET, TRUE))
|
||||
added_component_path = /datum/component/waddle_trait
|
||||
|
||||
/datum/trait/neutral/waddle/apply(var/datum/species/S,var/mob/living/carbon/human/H, var/list/trait_prefs)
|
||||
..()
|
||||
var/datum/component/waddle_trait/G = H.GetComponent(added_component_path)
|
||||
G.waddling = trait_prefs["waddler"]
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
var/added_component_path //What component this trait applies, if any.
|
||||
|
||||
|
||||
|
||||
|
||||
// Traitgenes Traits can toggle mutations and disabilities
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user