mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Deathmatch modifiers (#81673)
## About The Pull Request This PR adds the base to simple modifiers that the host can select to make the minigame ~~worse~~ more entertaining for everyone. Here's the screenshot of the UI (without a few modifiers I added later):  ## Why It's Good For The Game I've seen this minigame is frankly popular lately, so I thought I could contribute to it. ## Changelog 🆑 add: Added 20+ modifiers to the deathmatch minigame, which can be enabled by the host. /🆑
This commit is contained in:
@@ -61,10 +61,10 @@
|
||||
var/static/list/food_types
|
||||
if(!food_types)
|
||||
food_types = src.food_types.Copy()
|
||||
AddComponent(/datum/component/tameable, food_types = food_types, tame_chance = 25, bonus_tame_chance = 15, after_tame = CALLBACK(src, PROC_REF(tamed)))
|
||||
AddComponent(/datum/component/tameable, food_types = food_types, tame_chance = 25, bonus_tame_chance = 15)
|
||||
AddElement(/datum/element/basic_eating, food_types = food_types)
|
||||
|
||||
/mob/living/basic/cow/proc/tamed(mob/living/tamer)
|
||||
/mob/living/basic/cow/tamed(mob/living/tamer, atom/food)
|
||||
buckle_lying = 0
|
||||
visible_message("[src] [tame_message] as it seems to bond with [tamer].", "You [self_tame_message], recognizing [tamer] as your new pal.")
|
||||
AddElement(/datum/element/ridable, /datum/component/riding/creature/cow)
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
if(!food_types)
|
||||
food_types = src.food_types.Copy()
|
||||
AddElement(/datum/element/basic_eating, food_types = food_types)
|
||||
AddComponent(/datum/component/tameable, food_types = food_types, tame_chance = 25, bonus_tame_chance = 15, after_tame = CALLBACK(src, PROC_REF(tamed)))
|
||||
AddComponent(/datum/component/tameable, food_types = food_types, tame_chance = 25, bonus_tame_chance = 15)
|
||||
|
||||
/mob/living/basic/cow/moonicorn/tamed(mob/living/tamer)
|
||||
/mob/living/basic/cow/moonicorn/tamed(mob/living/tamer, atom/food)
|
||||
. = ..()
|
||||
///stop killing my FRIENDS
|
||||
faction |= tamer.faction
|
||||
|
||||
@@ -37,9 +37,9 @@
|
||||
|
||||
///wrapper for the tameable component addition so you can have non tamable cow subtypes
|
||||
/mob/living/basic/pig/proc/make_tameable()
|
||||
AddComponent(/datum/component/tameable, food_types = list(/obj/item/food/grown/carrot), tame_chance = 25, bonus_tame_chance = 15, after_tame = CALLBACK(src, PROC_REF(tamed)))
|
||||
AddComponent(/datum/component/tameable, food_types = list(/obj/item/food/grown/carrot), tame_chance = 25, bonus_tame_chance = 15)
|
||||
|
||||
/mob/living/basic/pig/proc/tamed(mob/living/tamer)
|
||||
/mob/living/basic/pig/tamed(mob/living/tamer, atom/food)
|
||||
can_buckle = TRUE
|
||||
buckle_lying = 0
|
||||
AddElement(/datum/element/ridable, /datum/component/riding/creature/pig)
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
AddElement(/datum/element/ai_retaliate)
|
||||
AddElement(/datum/element/ai_flee_while_injured)
|
||||
AddElementTrait(TRAIT_WADDLING, INNATE_TRAIT, /datum/element/waddling)
|
||||
AddComponent(/datum/component/tameable, food_types = list(/obj/item/food/grown/apple), tame_chance = 25, bonus_tame_chance = 15, after_tame = CALLBACK(src, PROC_REF(tamed)), unique = unique_tamer)
|
||||
AddComponent(/datum/component/tameable, food_types = list(/obj/item/food/grown/apple), tame_chance = 25, bonus_tame_chance = 15, unique = unique_tamer)
|
||||
|
||||
/mob/living/basic/pony/proc/tamed(mob/living/tamer)
|
||||
/mob/living/basic/pony/tamed(mob/living/tamer, atom/food)
|
||||
can_buckle = TRUE
|
||||
buckle_lying = 0
|
||||
playsound(src, 'sound/creatures/pony/snort.ogg', 50)
|
||||
@@ -151,4 +151,4 @@
|
||||
ponycolors = list("#5d566f", pick_weight(mane_colors))
|
||||
name = pick("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
|
||||
// Only one person can tame these fellas, and they only need one apple
|
||||
AddComponent(/datum/component/tameable, food_types = list(/obj/item/food/grown/apple), tame_chance = 100, bonus_tame_chance = 15, after_tame = CALLBACK(src, PROC_REF(tamed)), unique = unique_tamer)
|
||||
AddComponent(/datum/component/tameable, food_types = list(/obj/item/food/grown/apple), tame_chance = 100, bonus_tame_chance = 15, unique = unique_tamer)
|
||||
|
||||
Reference in New Issue
Block a user