import { HideoutHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/HideoutHelper.d.ts";
Constructors
Properties
Methods
Add bitcoin object to btc production products array and set progress time
Check if a productions progress value matches its corresponding recipes production time value
Create a upd object using passed in parameters
Get a count of how many possible BTC can be gathered by the profile
Calculate the raw dogtag combat skill bonus for place of fame based on number of dogtags Reverse engineered from client code
Get a count of how many additional bitcoins player hideout can hold with elite skill
HideoutManagement skill gives a consumption bonus the higher the level 0.5% per level per 1-51, (25.5% at max)
Get various properties that will be passed to hideout update-related functions
Get a multipler based on players skill level and value per level
Get an adjusted water filter drain rate based on time elapsed since last run, handle edge case when craft time has gone on longer than total production time
Get number of ticks that have passed since hideout areas were last processed, reduced when generator is off
Get the production time in seconds for the desired production
Get the water filter drain rate based on hideout bonues player has
Hideout improvement is flagged as complete
Iterate over hideout areas that use resources (fuel/filters etc) and update associated values
Decrease fuel from generator slots based on amount of time since last time this occured
Update a productions progress value based on the amount of time that has passed
Iterate over productions and update their progress timers
Update progress timer for scav case
Update progress timer for water collector
Adjust water filter objects resourceValue or delete when they reach 0 resource
Add/remove bonus combat skill based on number of dogtags in place of fame hideout area
Apply bonus to player profile given after completing hideout upgrades
Get craft time and make adjustments to account for dev profile + crafting skill level
Gather crafted BTC from hideout area and add to inventory Reset production start timestamp if hideout area at full coin capacity
This convenience function initializes new Production Object with all the constants.
Is the provided object a Production type
Add production to profiles' Hideout.Production array
Iterate over hideout improvements not completed and check if they need to be adjusted
Upgrade hideout wall from starting level to interactable level if necessary stations have been upgraded
Process a players hideout, update areas that use resources + increment production timers