Files
MrMelbertandGitHub 6395f12833 Adds a rewards bonus for nohitting combat bitrunning domains (#93531)
## About The Pull Request

Completing a combat bitrunning domain grants 0.8 score bonus per player
that escaped without being hit

## Why It's Good For The Game

I figured it be a fun challenge to try to nohit these things, especially
the megafauna ones. For a bonus.

## Changelog

🆑 Melbert
add: Nohitting a combat bitrunning domain rewards a higher score.
/🆑
2025-11-01 13:39:08 +01:00

22 lines
916 B
Plaintext

/datum/lazy_template/virtual_domain/beach_bar
name = "Beach Bar"
desc = "A cheerful seaside haven where friendly skeletons serve up drinks. Say, how'd you guys get so dead?"
completion_loot = list(/obj/item/toy/beach_ball = 1)
help_text = "This place is running on a skeleton crew, and they don't seem to be too keen to share details. \
Maybe a few drinks of liquid charm will get the spirits up. As the saying goes, if you can't beat 'em, join 'em."
key = "beach_bar"
map_name = "beach_bar"
domain_flags = DOMAIN_NO_NOHIT_BONUS
/datum/lazy_template/virtual_domain/beach_bar/setup_domain(list/created_atoms)
. = ..()
for(var/obj/item/reagent_containers/cup/glass/drink in created_atoms)
RegisterSignal(drink, COMSIG_GLASS_DRANK, PROC_REF(on_drink_drank))
/// Eventually reveal the cache
/datum/lazy_template/virtual_domain/beach_bar/proc/on_drink_drank(datum/source)
SIGNAL_HANDLER
add_points(0.5)