Files
Bubberstation/code/modules/bitrunning/virtual_domain/domains/stairs_and_cliffs.dm
SkyratBot 0a693b9dfa [MIRROR] Bitrunning 1.5: Secondary Objectives (#26821)
* Bitrunning 1.5: Secondary Objectives (#81828)

## About The Pull Request

Added secondary objective lockboxes to bitrunning. These pull from a
list of secondary objective loot on the domain, with a limited quantity
of items. Once there are no items left to pull, the secondary objective
disappears. If multiple secondary objective markers are placed, they
will be placed until all markers have been used, or all the items in the
loot pool are already spoken for.

To support this functionality, adds SSbitrunning, which stores all
domains as instances, instead of checking the hardcoded types as
previously. SSbitrunning manages listing domains for the quantum
console, and rolling secondary loot.

As an example of this functionality, added a side path to Glacier Grind
with a polar bear and some loot.

## Why It's Good For The Game

Secondary objectives give mappers ways to encourage players to venture
into a wider range of domains by offering non-trivial loot beyond the
fluff items given in the main caches. The absolute limit on the number
of items available ensures these items can't be farmed.

As well as supporting secondary objectives, SSbitrunning allows for
future support of features relying on mid-round modification of domains,
for instance adding custom domains.

## Changelog
🆑
add: Added secondary objectives to bitrunning!
add: Pick up encrypted curiosities and return them to the safehouse to
claim their contents.
add: Glacier Grind has been given a secondary objective, look out for
the limited edition hat.
add: Bitrunning domains can now be modified during the round by admins.
/🆑

* Bitrunning 1.5: Secondary Objectives

* Update virtual_domain.dm

---------

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com>
2024-03-22 12:17:51 -04:00

30 lines
1.2 KiB
Plaintext

/datum/lazy_template/virtual_domain/stairs_and_cliffs
name = "Glacier Grind"
cost = BITRUNNER_COST_LOW
desc = "A treacherous climb few calves can survive. Great cardio though."
help_text = "Ever heard of 'Snakes and Ladders'? It's like that, but with \
instead of ladders its stairs and instead of snakes its a steep drop down a \
cliff into rough rocks or liquid plasma."
difficulty = BITRUNNER_DIFFICULTY_LOW
completion_loot = list(/obj/item/clothing/suit/costume/snowman = 2)
secondary_loot = list(/obj/item/clothing/shoes/wheelys/skishoes = 2, /obj/item/clothing/head/costume/ushanka/polar = 1)
forced_outfit = /datum/outfit/job/virtual_domain_iceclimber
key = "stairs_and_cliffs"
map_name = "stairs_and_cliffs"
reward_points = BITRUNNER_REWARD_MEDIUM
/turf/open/cliff/snowrock/virtual_domain
name = "icy cliff"
initial_gas_mix = "o2=22;n2=82;TEMP=180"
/turf/open/lava/plasma/virtual_domain
name = "plasma lake"
initial_gas_mix = "o2=22;n2=82;TEMP=180"
/datum/outfit/job/virtual_domain_iceclimber
name = "Ice Climber"
uniform = /obj/item/clothing/under/color/grey
backpack = /obj/item/storage/backpack/duffelbag
shoes = /obj/item/clothing/shoes/winterboots