mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Spiders can now be tamed and ridden (#95194)
## About The Pull Request This lets people ride and tame spiders by feeding them mouse, lizard, moth, fly, and worm meat. You can only do this when a spider is a spiderling or young; once it's fully grown, it's no longer possible. This also refactors some tameable code to use `TRAIT_TAMED` instead of setting variables on mobs individually. ## Why It's Good For The Game It looks cool. <img width="1920" height="1080" alt="dreamseeker_97k7fgzdhv" src="https://github.com/user-attachments/assets/87d53102-468d-4dd7-b0a7-004f9a98df17" /> ## Changelog 🆑 add: Spiders can now be tamed and ridden. They eat mouse, lizard, moth, fly, and worm meat and can only be tamed when they are spiderlings or young. code: Refactored tameable code to use TRAIT_TAMED instead of setting individual variables on each mob. /🆑
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
AddComponent(/datum/component/tameable, food_types = food_types, tame_chance = 15, bonus_tame_chance = 5)
|
||||
|
||||
/mob/living/basic/mining/wolf/tamed(mob/living/tamer, atom/food)
|
||||
. = ..()
|
||||
new /obj/effect/temp_visual/heart(src.loc)
|
||||
// ride wolf, life good
|
||||
AddElement(/datum/element/ridable, /datum/component/riding/creature/wolf)
|
||||
|
||||
Reference in New Issue
Block a user